Hi Adam,
I use JAI and/or image i/o api in java 1.4. It is easy to capture the
screen and I send it to jpeg, png, bmp, tiff and pnm. You can also
print to file, and get postscript, but it basicly gives you a bitmap
style postscript file (massive).
Let me know and if you want me to dig out the c
Adam,
If you are using Java 1.4, the you should be able to use the ImageIO apis to
save the file in a variety of formats. E.G. I use both JPEG and PNG for my
screen shots.
I get my Canvas3D as a BufferedImage (bi), and then use:
File f = new File(fileName);
try {
Imag
Bob,
I suspect JPEG was not really designed with computer generated images in
mind. Especially the types of gradients you see on your spheres. The color
ranges compared to photographic images would be very different. Did you try
changing the quality settings when you saved the JPEG? I know that t
I am using ATI Rage 128 VR AGP and J3D 1.3. That is
all!
Best,
G.B. Liu
--- « - - ïªn +äßàngå¥ - - »
<[EMAIL PROTECTED]> ¼g¹D¡G> thanks for your
help Liu. btw
> what graphic tool did you use? id run it in 2
> different systems but it both had the same
> result. could it be that im using a j3
thanks for your help Liu. btw
what graphic tool did you use? id run it in 2
different systems but it both had the same
result. could it be that im using a j3d1.2 version?
has anyone tried this and worked on their system?
i have to know where particularly my problem is.
- ian
> --- « - - ïªn +
I tested this two files and they worked well on my PV:
captured Cube Image was saved as *.jpg and can be
displayed with other graphic tools. Thus I guess there
must be something wrong within your system.
Best regards,
G.B. Liu
--- « - - ïªn +äßàngå¥ - - »
<[EMAIL PROTECTED]> ¼g¹D¡G> has anyo
Hey ian,
I attach two files from the java3d package which is developed by NCSA. If
you want to download the whole package and want to run the application, you
can go to http://www.ncsa.uiuc.edu/~srp/Java3D/portfolio/ . I have run this
application and it has screen capture functionality. If you jus
You must use the CapturingCanvas3D.
- Original Message -
From: "« - - ïªn +äßàngå¥ - - »" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 4:18 PM
Subject: [JAVA3D] screen capture
> i followed what the j3d faq mentioned re screen capturing
> and even used the c
I have implemented a utility for picking
points on the surface of a mesh. Once a point
has been placed it can be dragged over the
surface until it is in the correct location.
This works fine 99% of the time but occasionally
the point, whilst being dragged, "jumps" to
an incorrect location on the
pls send capture pic. I couldn't open
it
AANT
- Original Message -
From:
Jorge
Guerra
To: [EMAIL PROTECTED]
Sent: Friday, June 29, 2001 7:26 PM
Subject: [JAVA3D] screen capture
I looked at the instructions for making screen
captures in j3d.org and got the
t" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 2:02 PM
Subject: Re: [JAVA3D] screen capture
> I use the code mentioned. But still having problems. I guess it has to du
> with the offset?
> - Original Message -
> From: Justin Couch <[EMA
I use the code mentioned. But still having problems. I guess it has to du
with the offset?
- Original Message -
From: Justin Couch <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 1:32 PM
Subject: Re: [JAVA3D] screen capture
> Oliver Radfelder wr
Oliver Radfelder wrote:
> http://www.j3d.org/faq/capturing.html
There is a working version of this code already in the Code Repository.
It will either take single snapshots or create a bunch of sequential
images. Have a look at the class ImageCaputringCanvas3D. That should
solve all of the issue
.readRaster(ras);
// Now strip out the image info
BufferedImage img = ras.getImage().getImage();
- Original Message -
From: Oliver Radfelder <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 9:39 AM
Subject: Re: [JAVA3D] screen capture
> hav
have a look at the faq at j3d.org
http://www.j3d.org/faq/capturing.html
Oliver
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send e
Hi Jorge,
the best way I have found is using the RecordableCanvas3D
that is included in NCSA Portfolio. there, you have a method called takesnapshot
(filename) that captures the canvas3d in a jpg file.
You can see information about NCSA portfolio in their
site, i dont remember the address
There is a FAQ on how to capture still images to JPEG,
(see http://tintoy.ncsa.uiuc.edu/~srp/java3d/faq.html)
but the code snippet provided there does not quite work. (It does not set
up the Raster). I appended a class that does the job...
The idea is to extend Canvas3D and write an own postSwa
17 matches
Mail list logo