Jump to content
Mr. Mattia Brenner

Flipping the Surface Normal

Recommended Posts

The easiest way to flip the normal of a given surface is by reversing one of the surface directions u or v. In a NURBS/B-Spline surface this can be done with the command .reverse(1,0) or .reverse(0,1).

In a Metasurface you can reverse start and end position or you create an image surface and in the u or v domain you enter [1,0] instead of [0,1].

  • Upvote 1

Share this post


Link to post
Share on other sites

Arne was so kind to provide a couple of reverse, swap etc. functions recently: they appear as text in the upper toolbar once you have selected a pointbased surface or curve.post-20-0-19952100-1357831270_thumb.png

Share this post


Link to post
Share on other sites

Hi folks,

 

Further to Mattia's and Claus' entry I would like to add a small example. It contains one simple B-spline surface and an image of it. The image is translated sideways in order to show both the source and the image in the same figure.

 

When both the U-Parameters and V-Parameters run within the interval [0, 1] the surface normals point into the same directions. However, reversing the V-Parameters of the image to [1, 0] flips the surface normals. To illustrate this a meshEngine was utilized on the two surfaces. (Within a meshEngine the normal direction is indicated by transparency in one and opaqueness into the other direction. Note that you can also change the normal direction within the meshEngine itself by selecting the Reversed option.)

 

Kind regards,

Stefan

 

P.S. You may want to check what happens when you change the U-Parameters from [0, 1] to [1, 0] and set the V-Parameters to [0, 1]. What does this do to your meshEngine (which I deliberately set up as an asymmetric mesh)?

surfaceNormal.fdb

post-27-0-09131900-1374155114_thumb.png

post-27-0-96625500-1374155127_thumb.png

post-27-0-70170900-1374155138_thumb.png

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

×
×
  • Create New...