Tugcga / Sycles

Cycles render integration into Softimage
5 stars 1 forks source link

More accurate strands support #17

Closed Tugcga closed 1 year ago

Tugcga commented 1 year ago

In the current implementation the size of the strand defined by point size attribute. So, it constants over the length and tweaks by special parameter in the custom property. But strands supports strand size attribute, which can vary during the length. It will be better to use this attribute, and if it non-defined, then use point size.

Also there is a bug in the current implementation. We assume that all strands have the same segments count. But different strands can have different segments. This lead so the crash when render pointcloud from SpiderWeb addon (and from other similar addons too).