>X-Unix-From: [EMAIL PROTECTED] Tue Jul 10 04:45:17 2001
>Delivered-To: [EMAIL PROTECTED]
>X-Accept-Language: en
>MIME-Version: 1.0
>Date: Tue, 10 Jul 2001 13:40:23 +0200
>From: Karsten Fries <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Jdk1.4 beta
>To: [EMAIL PROTECTED]
>
>Hi there,
>
>has anybody tried multiple canvases with the new jdk1.4 beta. I ran into
>some problems:
>
>- first the application starts up very normal showing my two canvases. I
>have some mouse behaviors for rotation and panning
> in the canvases. I implemented some synchorinzation in between the
>canvases, so that they don't loose focus, when dragging
> the mouse over their bounds. everything is fine at this stage. I use a
>JSplitPane where the canvases are directly embedded in.
> Problem:
> after maximizing the window the upper splitpane part contains
>both canvases on top of each other. The last updated is visible.
> The lower splitpane is empty from that point. What has
>happened??? I did't see this behavior with the current jdk1.3.1. For
> illustration i attached two snapshots (i hope they will not kill
>me for posting images again; i tried to make them as small as possible)
>
>- moreover i thought that they did improve something on the resource
>handling in 1.4; therefore i hoped that the JInternalFrame
> problem is solved (the canvases are always drawn ontop; two windows
>with canvases embedded overdraw their frames).
> Can someone give an update on this issue.
>
>- furthermore my application stopped quite frequently with the
>exception. I use textures for displaying some text. they started to
>change
> properties while running the app. Sometime the bitmap is displayed as
>just plain white. You can see it in the second image i attached. where
>the
> canvases are drawn in one pane. the white block to the left used to be
>a textured quad with text on it.
>
>
>An unexpected exception has been detected in native code outside the VM.
>
>Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x0
>Function=[Unknown.]
>Library=(N/A)
>
>NOTE: We are unable to locate the function name symbol for the error
> just occurred. Please refer to release documentation for possible
> reason and solutions.
>
>
>Current Java thread:
> at javax.media.j3d.Canvas3D.resetTextureNative(Native Method)
> at javax.media.j3d.Canvas3D.resetTexture(Canvas3D.java:2734)
> at javax.media.j3d.TextureBin.render(TextureBin.java:558)
> at javax.media.j3d.AttributeBin.render(AttributeBin.java:304)
> at javax.media.j3d.EnvironmentSet.render(EnvironmentSet.java:555)
> at javax.media.j3d.LightBin.render(LightBin.java:420)
> at javax.media.j3d.RenderBin.renderOpaque(RenderBin.java:3808)
> at javax.media.j3d.Renderer.doWork(Renderer.java:931)
> at javax.media.j3d.J3dThread.run(J3dThread.java:256)
>
>Dynamic libraries:
>0x00400000 - 0x00405000 C:\Program Files\Java\jdk1.4\bin\javaw.exe
>0x77F60000 - 0x77FBE000 C:\WINNT\System32\ntdll.dll
>0x77DC0000 - 0x77DFF000 C:\WINNT\system32\ADVAPI32.dll
>0x77F00000 - 0x77F5E000 C:\WINNT\system32\KERNEL32.dll
>0x77E70000 - 0x77EC5000 C:\WINNT\system32\USER32.dll
>0x77ED0000 - 0x77EFC000 C:\WINNT\system32\GDI32.dll
>0x77E10000 - 0x77E67000 C:\WINNT\system32\RPCRT4.dll
>0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
>0x10000000 - 0x10019000 C:\WINNT\System32\NVDESK32.DLL
>0x6D400000 - 0x6D503000 C:\Program
>Files\Java\jdk1.4\jre\bin\hotspot\jvm.dll
>0x77FD0000 - 0x77FFA000 C:\WINNT\System32\WINMM.dll
>0x6D200000 - 0x6D207000 C:\Program Files\Java\jdk1.4\jre\bin\hpi.dll
>0x6D3D0000 - 0x6D3DD000 C:\Program Files\Java\jdk1.4\jre\bin\verify.dll
>
>0x6D240000 - 0x6D255000 C:\Program Files\Java\jdk1.4\jre\bin\java.dll
>0x6D3F0000 - 0x6D3FD000 C:\Program Files\Java\jdk1.4\jre\bin\zip.dll
>0x6D010000 - 0x6D0FB000 C:\Program Files\Java\jdk1.4\jre\bin\awt.dll
>0x77C00000 - 0x77C18000 C:\WINNT\System32\WINSPOOL.DRV
>0x76AB0000 - 0x76AB5000 C:\WINNT\System32\IMM32.dll
>0x77B20000 - 0x77BD7000 C:\WINNT\system32\ole32.dll
>0x6D1B0000 - 0x6D1FF000 C:\Program
>Files\Java\jdk1.4\jre\bin\fontmanager.dll
>0x6D350000 - 0x6D357000 C:\Program Files\Java\jdk1.4\jre\bin\nio.dll
>0x776B0000 - 0x776C4000 C:\WINNT\system32\WS2_32.dll
>0x776A0000 - 0x776A7000 C:\WINNT\system32\WS2HELP.dll
>0x6D340000 - 0x6D34E000 C:\Program Files\Java\jdk1.4\jre\bin\net.dll
>0x776D0000 - 0x776D8000 C:\WINNT\system32\WSOCK32.dll
>0x74FF0000 - 0x74FFE000 C:\WINNT\System32\rnr20.dll
>0x77130000 - 0x77156000 C:\WINNT\System32\ddraw.dll
>0x100E0000 - 0x100F9000 C:\Program Files\Java\jdk1.4\jre\bin\J3D.dll
>0x755B0000 - 0x75678000 C:\WINNT\System32\OPENGL32.dll
>0x76C80000 - 0x76CA2000 C:\WINNT\System32\GLU32.dll
>0x77160000 - 0x77167000 C:\WINNT\System32\DCIMAN32.dll
>0x6D260000 - 0x6D265000 C:\Program Files\Java\jdk1.4\jre\bin\jawt.dll
>0x69500000 - 0x697E0000 C:\WINNT\System32\nvoglnt.dll
>0x711D0000 - 0x711D6000 C:\WINNT\system32\MSIDLE.DLL
>0x76AC0000 - 0x76ADD000 C:\WINNT\System32\imagehlp.dll
>0x731B0000 - 0x731BA000 C:\WINNT\System32\PSAPI.DLL
>
>Local Time = Tue Jul 10 13:05:24 2001
>Elapsed Time = 16
>#
># The exception above was detected in native code outside the VM
>#
># Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b65 mixed mode)
>#
># An error report file has been saved as hs_err_pid272.log.
># Please refer to the file for further information.
>#
>wglCreateContext Failed: The handle is invalid.
>
>
>
>
>
There are problem when underlying graphics context is
initialize using JDK1.4 with Java3D:
4470749 -Java3D fail to initialize underlying OGL/D3D library in jdk1.4
sometimes
This in turn expose a bug in Java3D :
4474411 - Crash at resetTextureNative() when OGL context fail to create
- 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".