Hi,

a null pointer exception in texture loader often means it cannot find the
texture.
Try to use the constructor with an url like :

TextureLoader texLod0 = new TextureLoader(new java.net.URL
("file:sign1.gif"),
                                                        new String("RGB"),
this);

It may work better (it did work for me).

for the text below, don't bother because it concerns only *3D* texturing
(i.e. volumetric texturing)  and I guess you want only to have a flat (2D)
texture on your box ;-)

> "Currently, Java 3D only takes advantage of 3D texture mapping on
> Solaris systems.  On win32, the OpenGL version of the Java 3D dll is
> compiled with the Microsoft OpenGL header files, which do not define
> the 3D texture mapping extension. "
>
> My question is, does it still only works on solaris or is
> there allready
> a way to get it worked on a Win NT machine with Open GL?
>

Renaud

===========================================================================
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".

Reply via email to