Hi,
I have a texture problem. I use memcpy() to copy a buffer from a camera to the
texture. This work but the image is reverse.
How can i change it?
Thx you!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27271#27271
Hi,
OpenGL (for identity projection) has 0,0 at bottom left. Your cam prob
has 0,0 at top left (first pos in the buffer). Easiest is to just swap
to top/bottom texture coordinates when you apply the texture.
jp
On 26/04/10 08:32, Anthony Face wrote:
Hi,
I have a texture problem. I use
Thanks you JP. D.
J.P. Delport wrote:
to just swap to top/bottom texture coordinates when you apply the texture.
This will work and will be easy.
Tanks a lot...
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27281#27281
3 matches
Mail list logo