-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storm and Prman handle unnormalized quaternions on PointInstancer differently #1505
Comments
Orientations are documented as unit length quaternions, so Storm and all renderers should be able to use them as-is: https://graphics.pixar.com/usd/docs/api/class_usd_geom_point_instancer.html#a513e44e8c1c496f76077c242bb92a290 I realize that without validation this is a tenuous assumption to rely on, which probably explains the HdPrman and embree code. |
Filed as internal issue #USD-6676 |
@spitzak , we think what we'd like to do here is remove the normalization from Embree and hdPrman - do you object? To expand on the rationale a bit, there are two reasons for requiring the authored orientations to be unit length:
|
That sounds like a good solution. It will reduce the chances that people will put un-normalized quaternions into their usd data, as it will render incorrectly in more renderers. Probably should get the DWA renderer to not do it as well. |
Description of Issue
Storm uses the values in the orientations unchanged, producing odd scaling and distortion. Prman and Embree delegates appear to normalize the quaternions before use. I don't know which is correct behavior but it may be a good idea for them to match.
Steps to Reproduce
System Information (OS, Hardware)
Linux
Package Versions
USD 20.8
The text was updated successfully, but these errors were encountered: