Hello Java3D team,

I get the following exception in my application after I have assigned some
transparent shapes an invisible appearance:

java.lang.NullPointerException
        at
javax.media.j3d.TransparentRenderingInfo.updateState(TransparentRenderingInf
o.java:36)
        at
javax.media.j3d.TransparentRenderingInfo.sortRender(TransparentRenderingInfo
.java:96)
        at javax.media.j3d.RenderBin.renderTransparent(RenderBin.java:4864)
        at javax.media.j3d.Renderer.doWork(Renderer.java:1193)
        at javax.media.j3d.J3dThread.run(J3dThread.java:256)

I'm using JDK 1.3.1, Java3D 1.3beta1 and I'm calling
        view.setTransparencySortingPolicy(View.TRANSPARENCY_SORT_GEOMETRY);

I don't get the exception, if I don't call that method, but then the scene
looks just awful: Shapes that shouldn't be transparent are transparent.

Also I don't get the exception when I call:
        view.setTransparencySortingPolicy(View.TRANSPARENCY_SORT_NONE);

I hope this information is helpfull.

Pasi

------------------------------------------------------------------
Solibri, Inc.                    tel   : +358 9 6860 6463
Lauttasaarentie 48 B             gsm   : +358 50 3684634
00200 Helsinki, Finland          fax   : +358 9 6860 6460
http://www.solibri.com           email : [EMAIL PROTECTED]
------------------------------------------------------------------

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