Great posting...We are having the identical problem with our code! We have
tried to set the gamma value when creating the Raster from the Canvas3D but
this doesn't appear to have any affect. Please post again if you find a fix
of any kind.
Regards,
Gregg
----------
From: Williams,
Christopher[SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, December 01, 1999 12:05 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Odd color problems when doing screen captures of
Java3D apps
I have been doing JPEG image captures of Canvas3D using the Solaris
version
of Java 1.2.1 and Java3D. Those images I have been viewing look
fine when
viewed with xv. Once I use another graphics application, Netscape,
IE on a
PC, and ImageMagick, the images appear darker than the image in the
Java3D
app. This also happens when I load the JPEG into an ImageIcon class
and
display it with a simple Java program. I also used other tools,
ImageMagick
and xwd, to do regular screen dumps on my Java3D app and the same
thing
occurs. The app and xv image look the same, everything else is
darker. I
also did the same this with some of the Java3D demos and get the
same
result. After playing the images, it seems like the gamma value
used by xv
and Java3D seem to be different than what other applications use.
Does
anyone have any insight on this and what could be done to make my
screen
captures look the same on all apps? My main concern is to get the
image
captured with my Java3D app to look the same when it is displayed
using the
ImageIcon class in a Java app. Is there any way to change the gamma
value
used by Java3D to do it's displays? Is there some OpenGL setting
that can
be made to get this to work?
Thanks
Chris
===========================================================================
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".
===========================================================================
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".