Jump to content
platypus

Controlling Normals

Recommended Posts

I have a Grid SOP that I appended a Point SOP to and then plugged in expressions for the x and z positions, in order to get a log spiral (as in the "expression cookbook" part of the documentation)... i then created a circle and have copied it to the spiral points.

problem is that I can't seem to get the circles to align properly, ie all aligned towards the center of the spiral. cant even seem to get them to simply align to each point properly in order to create a "tube" of cicles either. they keep on ending up flattened out. (see image)

i have tried appending a second Point SOP to the spiral, using "add normal", etc... but no luck.

any suggestions?

spiral_02.jpg

Share this post


Link to post
Share on other sites

Don't worry, I fixed it :)

As for the normals. You may want to take a look at the flownormals vex SOP written by charles. Its in the codex somewhere (geometry probably).

That should help you control your normals better.

Cheers

Marc

oh, uh.... also, you could try using sweep instead of copy. That will give you better results without messing with the normals.

Share this post


Link to post
Share on other sites

good thing it wasn't a snake then.... :unsure: .... ouch.

:ph34r:

Marc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×