Print at Feb 6, 2026, 11:51:30 PM View all posts in this thread on one page
Posted by jeffk at Sep 12, 2009, 12:13:43 AM
command line and/or .ini files for Java3D13?
On both our computers, on all of Ubuntu 9.04, Windows XP SP3, and Gentoo Linux, SweetHome3D has the full measure of the 3D problem: http://www.sweethome3d.eu/faq.jsp#errorIn3DRenderingSystem

We don't use Java or Java Web Start in our browsers. Can you post the command line invocation and/or .ini files that would start SweetHome3D-2.0 in the Java3D1.3 mode on Windows and Linux?

The DirectX .ini is similar to I'm looking for: http://www.sweethome3d.eu/SweetHome3D.l4j.ini, but we use OpenGL, not DirectX.

# Place this file in the same directory as SweetHome3D.exe file to always run Sweet Home 3D with DirectX
-Dj3d.rend=d3d
-Dsun.java2d.d3d=true
-Dsun.java2d.noddraw=false
-Dsun.java2d.ddoffscreen=true
-Dsun.java2d.ddscale=true
-Dcom.eteks.sweethome3d.deploymentInformation=DirectX


Thanks,
Jeff

Posted by Puybaret at Sep 12, 2009, 1:37:17 PM
Re: command line and/or .ini files for Java3D13?
Running Sweet Home 3D with Java 3D 1.3 requires you to download an older version of Java 3D, and this can't be changed with a .ini file.

Here's what you can try:

  • Remove SweetHome3D.l4j.ini file from Sweet Home 3D directory (C:\Program Files\Sweet Home 3D by default)
  • Download Java 3D 1.3.2 library for Windows listed in this page (normally it should be http://download.java.net/media/java3d/builds/...3d-1_3_2-windows-i586.zip)
  • unzip the files of java3d-1_3_2-windows-i586.zip
  • unzip the file java3d-1_3_2-windows-i586\j3d-132-win.zip
  • copy the 6 files j3dcore-d3d.dll, j3dcore-ogl.dll, j3dcore-utils.dll, j3dcore.jar, j3dutils.jar and vecmath.jar to the lib subdirectory in Sweet Home 3D directory
  • launch Sweet Home 3D
Tell us if it works wink
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by jeffk at Sep 13, 2009, 3:16:20 AM
Re: command line and/or .ini files for Java3D13?
Thanks, the lib/dll downgrade to java3d-1.3.2 does appear to work better. I can access the properties and print preview as well as I could with the DirectX method.

As a user data point of what doesn't work out of the box, but will with java3d downgrade: this is on a laptop with a Mobile Intel 965 Express chipset with integrated graphics. The driver is version 6.14.10.4906.