Try switching the postSwap method to postRender instead, and let me know if
that fixes it. I ran into problems with how my own code works under Solaris
vs NT, and had to add a flag to change which routine caught the image.
If that works, I'll update the FAQ. Let me know.
Steve
Lily Lee wrote:
> Hi,
>
> I tried using CapturingCavas3D (posted on java3d.org faq) to capture
> an image on a canvas3d. While I do get back an image, it is black. I
> have tried it on linux using blackdown java 1.2.1, and java3d, and on
> Window/NT using java 1.2.2 and java3d 1.1.3, both with the same
> result.
>
> Has anyone else had similar experiences, or might have a clue why this
> is happening?
>
> thanks in advance.
>
> Lily
>
> ===========================================================================
> 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".
--
Steve Pietrowicz - [EMAIL PROTECTED]
J3D.org: http://www.j3d.org
NCSA Portfolio 1.3 beta 3: http://www.ncsa.uiuc.edu/~srp/Java3D/portfolio/
New Loaders, turn your Canvas3D into a JPEG, new InputDevices and more!
Freely available for non-commercial use!
You Build It VR: http://www.ncsa.uiuc.edu/~srp/Java3D/YouBuildItVR/
Build your own multi-user virtual worlds with no programming experience!
Astro3D: Java 3D Astronomy - http://www.ncsa.uiuc.edu/~srp/Java3D/Astro3D/
===========================================================================
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".