mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Skip the final xform when (re)joining the attractor
This commit is contained in:
parent
9a8e57cbc6
commit
89b6732752
@ -90,20 +90,19 @@ void iter(mwc_st *msts, iter_info *infos, float4 *accbuf, float *denbuf) {
|
|||||||
denbuf[0] = xfsel;
|
denbuf[0] = xfsel;
|
||||||
break; // TODO: fail here
|
break; // TODO: fail here
|
||||||
}
|
}
|
||||||
{{if features.final_xform_index}}
|
|
||||||
float fx = x, fy = y, fcolor;
|
|
||||||
apply_xf{{features.final_xform_index}}(&fx, &fy, &fcolor, &rctx);
|
|
||||||
{{endif}}
|
|
||||||
|
|
||||||
if (consec_bad < 0) {
|
if (consec_bad < 0) {
|
||||||
consec_bad++;
|
consec_bad++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
nsamps--;
|
nsamps--;
|
||||||
|
|
||||||
// TODO: this may not optimize well, verify.
|
{{if features.final_xform_index}}
|
||||||
|
float fx = x, fy = y, fcolor;
|
||||||
|
apply_xf{{features.final_xform_index}}(&fx, &fy, &fcolor, &rctx);
|
||||||
|
{{endif}}
|
||||||
|
|
||||||
|
// TODO: this may not optimize well, verify.
|
||||||
float cx, cy;
|
float cx, cy;
|
||||||
{{if features.final_xform_index}}
|
{{if features.final_xform_index}}
|
||||||
{{apply_affine('fx', 'fy', 'cx', 'cy', packer,
|
{{apply_affine('fx', 'fy', 'cx', 'cy', packer,
|
||||||
|
Loading…
Reference in New Issue
Block a user