-
Notifications
You must be signed in to change notification settings - Fork 77
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
Point vs Vertex normals (FTV-199) (USDU-227) #86
Comments
These two cubes should look the same when imported: |
Hey guys, I'm a bit confused about this ticket. I opened the usd file you linked Jeremy (I guess it is suppose to reproduce the problem) but I observe two things: (1) Opened in Unity I see the two cubes look the same (like they should if I understand correctly), (2) opened in maya, the normals are very different for both cubes and so render looks different. I don't know if I missed something or if there is something that I'm doing wrong (maybe recent changes in the code fixed the issue?). Thanks for your answers! |
I can confirm this is still a problem. In my case it manifest itself when baking lightmaps. Basically with one cube in the usd file (produced by Houdini18) the cube looked fine as did the uv map produced by the "Generate Lightmap RVs", however when the lightmap was baked it was seriously wrong (black bands across the faces of the cube). However, after applying the fix suggested by ssteinbach (thanks!!) the lightmap baking worked correctly. |
It looks like the 'import' normals option doesn't interpret point vs vertex normals correctly. Unity expects the number of normals to equal the number of points. So in houdini, add a vertex split SOP (set to "N" and promote) after your normal sop. Then delete the N vertex attr. I sent a test USD file to @jcowles with a test case
The text was updated successfully, but these errors were encountered: