Hi Desiree

> > > resulted in some kind of immediate mode exception add runtime, and how
> > Hmm ??? Can you provide a StackTrace.
>
> Ok, here is the StackTrace:
>
> Exception occurred during event dispatching:
> javax.media.j3d.IllegalSharingException: Background: Immediate mode
> background m
> ay not be in scene graph
>         at

Well that's ofcourse true if you add the background in intermediate mode
you have to remove it from the Scenegraph or use a different background
node (I would go for the later which is maybe easy) so just for testing
add this line to preRender

Background testBack = new Background(new Color3f(1.0f,1.0f,1.0f));

and change

this.getGraphicsContext3D().setBackground(....)

to

this.getGraphicsContext3D().setBackground(testBack);


> > Well life sucks ;). I just don't get it why it doesn't work offScreen but
> > onScreen. Maybe I should check it again in the future. I'm not sure If I
> > had installed the latest J3D Version on all testsystems.
>
> I am still using Java3D 1.2
Well I personally recommend to upgrade to 1.2.1_02.

EOF,
 J.D.

--
Jmark2k+1 (http://www.antiflash.net/jmark)
Test the performance of your PC online!

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