Skip to main content

Java3D exception on j3dcore-d3d.dll

2 replies [Last post]
casano
Offline
Joined: 2010-04-23

Hello,

I am developing an application where in a loop, I have to create a new scene3D with new java3D objects in a Canvas3D (in the loop I create a new SimpleUniverse, new Canvas, new View, ...). On the java3D objects I am doing picking. At the end of the loop core, the scene, canvas are put 'null'.

After 6 or 7 passages in the loop, i have this Java3D message:
"Depth buffer with the required bit depth is not support, please try the default"

and in Eclipse this exception:
A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6288c14d, pid=3976, tid=5288
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode windows-x86 )
# Problematic frame:
# C [j3dcore-d3d.dll+0xc14d]

Does anyone know what is the problem?
Note: when displaying the Canvas in a Frame, it works 6 times, when using offscreencanvas to do picking, it works only 1 time

Thank you for your help!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
aces
Offline
Joined: 2003-07-17

OpenGL renderer is always a good option.

This issue happens on some Intel video cards, specially when it is at 16bits mode.
Try 32bits color depth and configure at least 32mb of video card memory. I'm assuming you are using integrated/on board video card with shared RAM memory for graphics..

Other option is try to use a 16bit depth buffer. There is a snippet code at
http://forums.java.net/jive/thread.jspa?messageID=391197
It *may* reduce you problem but there is no garantee it will be solved.

Good luck ;)

darwinjob
Offline
Joined: 2004-11-16

># C [j3dcore-d3d.dll+0xc14d]

Does this mean that you're running in D3D mode? Try to switch to OpenGL.