Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


inverse normals


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 jor1980   Members   -  Reputation: 142

Like
0Likes
Like

Posted 23 April 2013 - 04:07 PM

Hi i want to inverse some normal data that i have, supposing that normals of a vertex has a value of  (x,y,z) which is the formula to obtain the normals value of that face face looking to the opposite direction?



Sponsor:

#2 Brother Bob   Moderators   -  Reputation: 8451

Like
1Likes
Like

Posted 23 April 2013 - 04:15 PM

Negate the values: (-x, -y, -z).



#3 belfegor   Crossbones+   -  Reputation: 2689

Like
1Likes
Like

Posted 23 April 2013 - 04:18 PM

Multiply it with -1 and you get opposite direction.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS