Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-17-2008, 07: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 12:44 AM.
HoofSC is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,356
Threads: 39,149
Posts: 171,628
Top Poster: smasher (2,577)
Welcome to our newest member, Jakison
Powered by vBadvanced CMPS v3.1.0

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