Log in or register to post comments


October 25, 2010 - 1:31pm #1

So far everything I've seen as far as textures has been stored in a single file. For the teapot, it was a single unwrapped map of the texture... for the multi-image test it was a single file with both the bowl and spoon texture.

Is there a way to use separate texture files on separate objects in the same rendering frame? Or do we have to stagger frames rendering one texture/object and then the other?


Re: Texturing

October 25, 2010 - 1:54pm #3

Thanks for the guidance, I'll begin sifting through that code right away!

Re: Texturing

October 25, 2010 - 1:41pm #2

You can certainly render multiple objects with different textures in the same frame. The best example of this is the FrameMarkers sample project. There are four different 3D objects, each rendered with its own texture, in a single frame. Look at the renderFrame function in the FrameMarkers.cpp file.

It's important to note that the SDK simply leverages OpenGL ES (1.1 or 2.0), which is the standard for 3D graphics on these devices. Anything that you can render with OpenGL ES can be integrated with the SDK.

- Kim

Log in or register to post comments