| Author |
screen of simple universe
|
Lucas Smith
Ranch Hand
Joined: Apr 20, 2009
Posts: 804
|
|
Hi,
I want to save an image of 3d scene to .png file. Is there a wayto do it programatically? PrintScreen is not a solution .
|
SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
|
 |
eve agostini
Ranch Hand
Joined: Nov 01, 2005
Posts: 43
|
|
You can create an offscreen Canvas3D and use the renderOffScreenBuffer() method:
Canvas3D
|
 |
August Lammersdorf
Greenhorn
Joined: Dec 15, 2010
Posts: 5
|
|
Hi, also check out following Java 3D example programs
- org.jdesktop.j3d.examples.offscreen_canvas3d.OffScreenTest
- org.jdesktop.j3d.examples.print_canvas3d.PrintCanvas3D
j3d-examples-1_5_2-src.zip : https://java3d.dev.java.net/binary-builds.html
August, InteractiveMesh
|
 |
Lucas Smith
Ranch Hand
Joined: Apr 20, 2009
Posts: 804
|
|
Thanks, that works just fine
|
 |
 |
|
|
subject: screen of simple universe
|
|
|