America
Joined: Apr 24, 2021
Post Count: 6
Status:
Offline
3d Rendering/panning slow on Linux
When using SweetHome3D on Linux the 3d rendering is extremely slow/laggy. However, on the same laptop with the Windows OS, the 3d rendering is extremely smooth. It is also noticed that when panning the 3d view, the CPU usage periodically exceeds 90% while using Linux.
Are there settings in the SweetHome3D executable that could increase performance. Please see below the current script.
#!/bin/sh # Retrieve Sweet Home 3D directory PROGRAM=`readlink "$0"` if [ "$PROGRAM" = "" ]; then PROGRAM=$0 fi PROGRAM_DIR=`dirname "$PROGRAM"` # Run Sweet Home 3D exec "$PROGRAM_DIR"/runtime/bin/java -Xmx6g -classpath "$PROGRAM_DIR"/lib/SweetHome3D.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Examples.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/jeksparser-calculator.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1b.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dcore.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dutils.jar:"$PROGRAM_DIR"/lib/java3d-1.6/vecmath.jar:"$PROGRAM_DIR"/lib/java3d-1.6/gluegen-rt.jar:"$PROGRAM_DIR"/lib/java3d-1.6/jogl-java3d.jar:"$PROGRAM_DIR"/lib/jnlp.jar -Djava.library.path="$PROGRAM_DIR"/lib/java3d-1.6:"$PROGRAM_DIR"/lib/yafaray -Djogamp.gluegen.UseTempJarCache=true -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.SweetHome3D -open "$1"