Both of these sound like bugs. Please send some test cases to [EMAIL PROTECTED]
Doug Twilleager Java 3D Team Sun Microsystems >Subject: [JAVA3D] Two small (I think) bugs in j3d1.3b2 >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Delivered-to: [EMAIL PROTECTED] > >To all, > >The first involves Raster.setDstOffset(). Even though my program seems to be >OK, I get the following Exception at certain well defined moments in my >programs execution. >java.lang.NullPointerException > at >javax.media.j3d.RasterRetained.computeWinCoord(RasterRetained.java:607) > at >javax.media.j3d.RasterRetained.getOffsetPos(RasterRetained.java:533) > at javax.media.j3d.RasterRetained.execute(RasterRetained.java:419) > at >javax.media.j3d.DefaultRenderMethod.render(DefaultRenderMethod.java:63) > at javax.media.j3d.RenderMolecule.render(RenderMolecule.java:1847) > at javax.media.j3d.TextureBin.renderList(TextureBin.java:1315) > at javax.media.j3d.TextureBin.renderList(TextureBin.java:1287) > at javax.media.j3d.TextureBin.render(TextureBin.java:1277) > at >javax.media.j3d.TransparentRenderingInfo.render(TransparentRenderingInfo.jav >a:90) > at javax.media.j3d.RenderBin.renderTransparent(RenderBin.java:5036) > at javax.media.j3d.Renderer.doWork(Renderer.java:1255) > at javax.media.j3d.J3dThread.run(J3dThread.java:250) > >The second involves GeometryArrays using ColorRefFloat. According to docs, I >should set the alpha to a value between 0 and 1 (am I right?). What I have >discovered is that I need to multiply my alpha values by a big factor >(somewhere around 1000000) in order for transpancy to function as expected. > >Raffi > >=========================================================================== >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". =========================================================================== 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".
