Certain Normals facing the wrong way. How do i fix?

   3286   3   1
User Avatar
Member
2 posts
Joined: Feb. 2020
Offline
Hi,

I'm currently following a tutorial on creating a procedurally generated building. I've stumbled across a problem where when creating the corner points that face inwards, the normals are not correct. Some of them face the right way but others do not. This is causing issues when it comes to adding assets to the scene. Is there a way I can target certain points to correct their normals while leaving others as they are? I don't want to just fix the normal of one single point though as the scene is attached to an L-system so when I change that I'll still have normals that don't face the right direction.

In the first picture, one normal is facing in the correct position where the other is facing off to the right. When i scrub the time slider to change the L-System shape, as can be seen in the second picture this sometimes results in all point normals facing the wrong direction.

I'm unsure what else to add to this post as I'm very new to Houdini. Any help would be appreciated.

Attachments:
NormalPicture1.png (379.4 KB)
NormalPicture2.png (388.1 KB)

User Avatar
Member
833 posts
Joined: Jan. 2018
Offline
Reverse node should do it.
>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
User Avatar
Member
8177 posts
Joined: Sept. 2011
Offline
This problem is particular to the setup. Sure you could select some points and override their normal manually, but that isn't a scalable solution. Since points don't have normals unless they are created in some way, or inherited from a surface, how are they getting these normals in the first place? It could be they are picking up the normal from a piece of geo, or the math in the setup is wrong somewhere. It's impossible to say without knowing how the scene works.
User Avatar
Member
2 posts
Joined: Feb. 2020
Offline
jsmack
This problem is particular to the setup. Sure you could select some points and override their normal manually, but that isn't a scalable solution. Since points don't have normals unless they are created in some way, or inherited from a surface, how are they getting these normals in the first place? It could be they are picking up the normal from a piece of geo, or the math in the setup is wrong somewhere. It's impossible to say without knowing how the scene works.

Thanks for your reply, I have taken more screenshots in the hope that it'll give you a clearer idea of the scene and the problem I am having. You are correct that the normals are being created using a polyframe geo that is being pushed through a resample node to add the middle points. From there I am able to copy a cube to all corner points and group that with the polyframe node. The problem, as far as i can tell is coming from the fuse node which as can be seen in the last image isn't working the way i expected it to. In the last image, Point 2 normal is facing the right direction where as Points 1 and 6 are not which causes issues when i attach any assets to these points. I have looked through the rest of the setup and can't find where this problem is coming from and I can't seem to find any help online about it either.

Attachments:
NormalPicture3.png (498.6 KB)
NormalPicture4.png (459.7 KB)
NormalPicture5.png (571.9 KB)
NormalPicture6.png (458.1 KB)

  • Quick Links