Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-20-2009, 04:39 AM   #44 (permalink)
mauriceatron
Tutorial Author
 
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 29
mauriceatron is on a distinguished road
Default

Yes, correct: it is a cross product, not the dot product to calculate the normal.

I rushed that last post so I should really explain that I do not use the right hand grip rule to work out the surface normal. Before OpenGL became "the standard", it was common to use clockwise vertex order to achieve normal calculation for backface removal. X-Sharp, the first 3D library I ever worked with, followed clockwise sequence which the right hand grip rule doesn't apply.

For that reason, I've never relied on the right hand rule. I used the calculated normal. That's not because I'm more hardcore than you, I'm just old and was around when we used the clockwise vertex sequence, so I learned a different way. That's all.

Like I said, I need to go back and fix that section. It's pretty scrappy and I clearly wasn't thinking when I did that drawing because I just "labelled" the 3 points rather than think about what I was trying to say.

Cheers
Simon
mauriceatron is offline   Reply With Quote
 

» Advertisements
» Online Users: 434
16 members and 418 guests
baja_yu, buggen, evilmatt10, givensur, Mnashmi, networ, pabloruiz55, pochuang, QuantumDoja, Sami Gh, scubadivingfool, Speed, teebee74, TheStalker, thestojkovic, za1407
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,636
Threads: 94,101
Posts: 402,819
Top Poster: BrianSlick (7,990)
Welcome to our newest member, samdanielblr
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:40 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.