Re: Rendering on Windows Server 2008 Possible?
by Puybaret » Fri Feb 03, 2017 6:08 pm
Note that Java 3D 1.6 allows also to run
ConsolePhotoGenerator on a Linux server with no X11 Display, if you set the
[font=courier new]j3d.rend[/font] system property to
[font=courier new]noop[/font] .
If you use Sweet Home 3D 5.4, please follow the following instructions:
- Install JDK
- Copy / paste
ConsolePhotoGenerator class to a file named [font=courier new]ConsolePhotoGenerator.java[/font]
- Download
SweetHome3D-5.4jar,
sunflow-0.07.3i.jar,
j3dcore.jar,
j3dutils.jar,
vecmath.jar and
batik-svgpathparser-1.7.jar
- Compile [font=courier new]ConsolePhotoGenerator.java[/font] with the following command:
Code: Select all
javac -cp SweetHome3D-5.4.jar:sunflow-0.07.3i.jar -d . ConsolePhotoGenerator.java
- To generate the file [font=courier new]
photo.png[/font] of a home stored in the file [font=courier new]
home.sh3d[/font] , run the command:
Code: Select all
java -Dj3d.rend=noop -cp .:SweetHome3D-5.4.jar:sunflow-0.07.3i.jar:j3dcore.jar:vecmath.jar:j3dutils.jar:batik-svgpathparser-1.7.jar com.eteks.sweethome3d.utilities.ConsolePhotoGenerator [i]home.sh3d[/i] [i]photo.png[/i]
[Updated links on 2020/03/02 after source code moved from CVS to SVN]