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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-17-2008, 08:21 PM   #2 (permalink)
HoofSC
New Member
 
Join Date: Jul 2008
Posts: 41
Default

Bump...



I have a similar question. Can anyone give an explanation of the "normals" data as implemented in the GLGravity sample?

How would I calculate the normals for a given array of vertices and indices in order to render properly (effectively changing the teapot.h model data into a simple cube)??

I guess whats really throwing me off is the RunLengthEncoded Array: short new_teapot_indicies[]

Can anyone clarify how the data is being used?

Last edited by HoofSC; 09-18-2008 at 01:44 AM.
HoofSC is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,558
Threads: 89,129
Posts: 380,260
Top Poster: BrianSlick (7,103)
Welcome to our newest member, thesooty
Powered by vBadvanced CMPS v3.1.0

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