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
replacing teapot,,,,but app hangs
Re: replacing teapot,,,,but app hangs
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.
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?