Log in or register to post comments

replacing teapot,,,,but app hangs

February 21, 2012 - 9:00pm #1

hello everyone
with the help of many threads i finally managed to replace teapot with banana 3d model but when i am replacing it one more time with different 3d models,,,the app hangs.
my question is that can i add 3d model .h file with missing any one of attribute---
vertrices,normals or texcoordinates? because many 3d models obj file when converted to .h file one of these attribute is missing in it.
.
thanks in advance..:o

Re: replacing teapot,,,,but app hangs

February 22, 2012 - 5:08pm #2

Vertices are necessary, without these there will be nothing to draw! Texcoords are necessary if you want to map a texture onto your model. Normals are only needed for lighting calculations, you can often skip these. Be sure to remove the lines referring to normals in that case.

- Kim

Log in or register to post comments