Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

inverse normals

4: Adsense

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   

152
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?



#2 Brother Bob   Moderators   

10281
Like
1Likes
Like

Posted 23 April 2013 - 04:15 PM

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



#3 belfegor   Members   

2833
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.