tomrowell
Hi.

Just wondering if there's any way to fix the normals on geo generated by the bound node? Conforming the normals works on low res meshes, but no longer works once the grid res gets above a certain level.

Cheers
Reply 0 0
pshipkov
Hi there,

how do you think the normals should look like on the generated mesh geometry ?
Also, what exactly is not working on high-res geo when you try to conform normals ?

Thanks.
Reply 0 0
tomrowell
Basically, its a mish-mash of correct and reversed normals across the mesh. Ideally, they should all be facing outward. 

If the grid density is low, conforming the normals does fix them. However, once the voxel size drops below 1.0, the normals start to become randomly inverted over the mesh.
Reply 0 0
pshipkov
At this moment i am not setting any normals inside the bound node.
The normals you see are auto-generated by Maya.

I remember thinking about the same thing long ago when working on the bound node.
One of the problems i encountered was this - how to define "outward" or direction that is meaningful.
For example - if i bind sphere object then the outward direction is obvious but if the object is heavily concave or some procedurally generated "mush" of polygons then "outward" does not make sense anymore. Hope you follow me here. That's why i left that part "undefined" and let Maya do its thing.

I think Maya's conform normals get's confused too once the complexity of the bound cage increases.

Let me know if you have an idea how to solve this problem.
Thanks.
Reply 0 0
noizfactory
I'd just look up the normals from the source mesh and transfer it to the bound mesh similar to some of the passNormals examples I had posted long time ago. Are you looking to use the bound mesh for shading/lighting?
Reply 0 0
tomrowell
noizfactory wrote:
I'd just look up the normals from the source mesh and transfer it to the bound mesh similar to some of the passNormals examples I had posted long time ago. Are you looking to use the bound mesh for shading/lighting?


Apologies for the late reply, we've been busy on other jobs here, and this got pushed way back. But we have some time again, so we'll be picking it up over the next couple days.

Thats right, the bound mesh would inevitably end up being what we're rendering. Its a head becoming steadily more voxelised as time progresses, so we'd have to be able to keep all the normals facing outward for the entirety of the sequence. If you've got some links to your normals work, that'd be appreciated.

The main issue with this is we're rendering in V-Ray, and it doesn't play nice with backfaces.
Reply 0 0
noizfactory
Attached is an example file. I had to flip the normals inside the point nodes so you might want to experiment with that to ensure it turns out fine in VRay. I tested couple of renders with mental ray and arnold and they looked fine. voxelized_passNormals.jpg
Reply 0 0
Reply