Alan Hudson wrote:
So I'm playing underneath the covers of Java3D with some native calls to
openGL during the pre/post render callbacks of the canvas. This is to
get the Elumens Dome running with Java3D.
The library uses glGenTextures() to grab an unused textureName(and binds
it). But it seems that Java3D is overwriting the textureName assigned
by this call. I can fix the problem by having the library use a really
large number like 999999 for its textureName. Is Java3D using
glGenTextures to get its texture name or just a counter?
It is just a counter starting from 1. Prior to v1.3 this
counter is not reset when Texture detach from BranchGroup but
this is fixed in v1.3.
Can you recommend a safe way to allocate a texture name?
Set the ID to number larger than current texture exists in the
scenegraph should work.
- Kelvin
--------------------
Java 3D Team
Sun Microsystems Inc.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".