Well, I *finally* made some headway.  My app/applet no longer crashes,
and here's what I have done so far as a workaround.

1.  Switch from using my own VirtualUniverse to the SimpleUniverse.  Not
that big a deal until you realize that sounds are not enabled by default
in SimpleUniverse.

2.  Load geometry data AFTER the applet is up and running, including the
Canvas3D.


#1 is a big deal.  I have yet to try enabling sounds, and I am worried
that something about the JavaSoundMixer is causing some problems... it
does use a .dll if I am not mistaken.  But I *definitely* must have
sound.  So, really, this "workaround" is not acceptable for me.

Yes, I finally did enable sound with the SimpleUniverse using:
    AudioDevice audioDev = universe.getViewer().createAudioDevice();
And yes, it started crashing again.  Commenting it back out, everything
runs fine again.  And it's not just the "memory straw that broke the
camel's back".  I had *many* other things commented out before I tried
leaving out sound.  At one point, my whole scene graph was a single
cube.  Only crashed once, but it definitely crashed.

*** Are the any other Java3D developers of medium-size apps that use
sound on Win98??  I would like to correlate this in other apps.

-Lee

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