@LukasStockner Hey, any chance to take a look at this one? :)
Sure - I looked into this a while ago, I remember that it wasn't a trivial fix but we should definitely be able to do better…
our microdisplacement code
Which part are you refering to?
It's been years since I looked I to this the last time, but if I remember correctly, it works by storing each primitive as…
For the material in the screenshot above, the third one is relevant
This only simplifies shading, intersection will be as expensive since we need to record the intersection and shade…
Another smaller idea: We could turn Shadow Ray Visibility into a "Both/Front only/Neither" enum instead of a Boolean. Not sure how much it would help though.
Context on my observation/plan:
SVM currently has four mechanisms to skip unnecessary work:
- Remove/simplify/constant-fold nodes at graph optimization stage (shared across Surface/Volume/Displ…