Hi Desiree

> for printing. I had a look at PrintCanvas3D.java for my implementation of
> printing. Is there a possibility to change the background color of the
> OffscreenCanvas3D, without changing the showing Canvas3D? Currently I add
> a bachground node just before printing and detach it afterwards,
> unfortunately that results in a few seconds white background during the
> print operation.
Yes I know that problem. Basically you could try this but unfortunately I
made the experience it doesn't work with every GFX-Card don't know why at
least it doesn't work with NVIDIA Cards.

You could add :

in

public void preRender() {

  this.getGraphicsContext3D().setBackground(your_background_node)
  this.getGraphicsContext3D().clear();

}

But I think the clear doesn't work on Nvidia Cards (I've tested it with
Geforce256 12.41, Geforce2 GTS 12.41 and Geforce3 (don't know which driver
version all Win2k all Java3D OpenGL) But it worked with ATI Radion. Also
Win2k.

EOF,
  J.D.

--
Cool/warm tone based shader in Java3D
Jmark2k+1 (http://www.antiflash.net/java3d/warmcool.html)

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