Maniphest T31754

Width Fade value of 2.0 behaves incorrectly.
Closed, Resolved

Assigned To
None
Authored By
Ben Simonds (benjy)
Jun 8 2012, 3:23 PM
Tags
  • Render Pipeline
  • BF Blender
Subscribers
Ben Simonds (benjy)
Brecht Van Lommel (brecht)
Philipp Oeser (lichtwerk)

Description

When using the strand render, Width Fade values of 0 to 1.999 make the strand progressively more faded and transparent, but a value of 2.0 gives the same results as a value of 0.

Event Timeline

Ben Simonds (benjy) edited a custom field.Jun 8 2012, 3:23 PM
Philipp Oeser (lichtwerk) added a comment.Jun 8 2012, 5:13 PM

confirmed.
once "width fade" reaches a value of 2.0, strandbuf->widthfade will be zero and as a consequence the part of strand_shade_segment() in strand.c which is responsible for the alpha gets skipped.
got a hack patch wich I'll post next...

Philipp Oeser (lichtwerk) added a comment.Jun 8 2012, 5:18 PM

(possible) patch is in patch tracker (#31756)

Brecht Van Lommel (brecht) added a comment.Jun 13 2012, 5:34 PM

Fix in svn, thanks for the report.

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Resolved.Jun 13 2012, 5:34 PM