#### Archived

This topic is now archived and is closed to further replies.

# Hidden surface removal

This topic is 5965 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

i have read an article about it where it say the following take the crossproduct of the surface normal and you view angle if the z value of the cross vector is negative then the polygon faces to you otherwise it faces into the opposite direction is that true?

##### Share on other sites
quote:
Original post by Basiror
take the crossproduct of the surface normal and you view angle
if the z value of the cross vector is negative then the polygon faces to you

i suggest you read it again. you cannot take the crossproduct of a vector and an angle.

usually you use the dot product of the look at vector and the surface normal because its less expensive to compute and gives you a nice scalar value that you can do a sign test on.

[edited by - invective on March 23, 2002 3:04:07 AM]

##### Share on other sites
haha
i know that you have to calculate a vector out of the angle
i m not that new to 3d programming
and thats not the point in this post i actually asked if the statement in the article is correct because i have no chance to test it yet

##### Share on other sites
>>crossproduct of the surface normal and you view angle<<

hmm as invective saiz a couple of mistkes in that sentence

http://uk.geocities.com/sloppyturds/gotterdammerung.html

1. 1
2. 2
Rutin
24
3. 3
4. 4
JoeJ
18
5. 5

• 14
• 28
• 11
• 11
• 9
• ### Forum Statistics

• Total Topics
631772
• Total Posts
3002260
×