PDA

View Full Version : Reverse normal in SubD model problem


solun
03-17-2003, 10:28 AM
hi all,

Do anyone know how can reverse normal with Subd model, which had been refine into a few levels. I had tried to reverse the normal in the poly model, it change the shape of my model in the finer levels.




Thanks


solun

Waboflex
03-17-2003, 01:51 PM
This is a horrible problem I ran into a while ago, unfortunately I couldn't find an easy solution.

This is a bit of guesswork, but it looks like vertices' positions at finer levels of detail are defined by the next higher level of detail points with offsets, so a level 3 point is defined by a level 2 'parent' point with an offset in its U, V and normal directions. That's where the problem is, reversing normals of the proxy will make finer level points that are 'pushed in' become 'pulled out' along their normals. Which makes a right mess of the model.

I tried writing a script to rebuild the model, but accessing subd vertex data in MEL just fried my brain, so I had to give up. There's not a lot of documentation out there for subd's in MEL... :shrug:

The only solution I came up with was to duplicate the model, reverse normals then manually snap finer detail points to those of the original. Obviously this was incredibly tedious and is really out of the question for complex models.

Wabo.

solun
03-17-2003, 02:30 PM
o...............................


anyway, thx a lot.


best regards.

rhythmone
03-17-2003, 08:35 PM
salun

I remember coming across a script that allows you to pull the tweeks onto a new model. ... can't remember if it was on highend or 3Dluvr (I think it was on 3dluvr). Sorry I can't give more info, but there is something out there. The concept is that you move the tweeks onto a duplicate model (has to have the same # of surfaces, bla, bla)

On that thought, the script uses the querySubdiv command which will allow you to select all points that have been edited on that level.

Waboflex

I am currently working on a subdiv script as well. The only thing that I have found is to traverse through the levels using the refineSubdiv command.

CGTalk Moderation
01-14-2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.