sop_terrain_segment_rop

   1243   3   1
User Avatar
Member
11 posts
Joined: 9月 2017
Offline
I've started using the new sop_terrain_segment_rop node along with the new terrain texture rop also provided with the game development toolset dev update and I noticed an issue with the exported meshes. I've created a shader in an external engine with standard RGBA 4 layer terrain technique with a macro normal and macro splat. The Macro Normal seems to be flipping a few vertex normals on the exported Houdini mesh. It's odd because the mesh looks totally fine when viewed in maya with vertex normal custom polygon display turned on, all normal are facing the same direction, etc. So I'm not really sure what's going on. I've checked my shader on various other meshes created in Maya and they seem to work fine…

Anyway, I am curious if anyone reading, and definitely a SideFX person, could whip up a similar shader to see if they exhibit similar artifacts from their Macro Normals.

Is this a unique problem to what I'm doing or is this something other people are experiencing?
Edited by Thunderflex - 2018年1月20日 00:12:24
User Avatar
Member
1743 posts
Joined: 3月 2012
Offline
This might be a silly question, since I don't know much about your setup: Is it just some of the normals that are flipped, or are they all flipped?

Houdini's normals are left-handed relative to the winding order, so they're the opposite of almost every other tool out there, unfortunately. If the mesh is composed of polygon primitives, you can try applying a Reverse SOP to it to reverse the winding order of all of the polygons.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
11 posts
Joined: 9月 2017
Offline
Its just some of the vertexes and not the whole sheet, which is weird, its usually an all or nothing kind of thing. I haven't experienced something like this before. It also comes in kind of a pattern…like 3 vertexes in a row look flipped, then 2 would be fine, the 1 vertex flipped, then repeats all along the edge loop. And theres maybe 5 or 6 edge loops like this across the terrain chunk.

Edited by Thunderflex - 2018年1月19日 19:16:42

Attachments:
Capture.JPG (291.5 KB)

User Avatar
Member
11 posts
Joined: 9月 2017
Offline
update: good to go, not sure what I did yet exactly, but I fixed my issue!
  • Quick Links