sad Imported furnite icon renders as garbage

This topic has been viewed 2587 times and has 3 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
thomasa88
Posts: 6
Joined: Tue Jul 20, 2021 11:05 am

Imported furnite icon renders as garbage

Post by thomasa88 »

I have a problem that has been bugging me for some while in Sweet Home 3D.

Every time I import custom furniture from the web, the icon renders as garbage:
Image

In the import Wizard, the rendering is fine:
Page 1:
Image
Final page:
Image

Imported bicycle. Garbage icon in furniture list and in 2D plan. 3D view renders fine.
Image


I'm using Sweet Home 3D installed by the Ubuntu Linux package manager:
Ubuntu 22.04

Code: Select all

Sweet Home 3D ® Version 6.6.2
OpenJDK version 11.0.15 - 64bit - 0.1 / 7.8 GB provided by Private Build Java 3D version 1.5.2 - NATIVE_OGL PDF print provided by iText SVG export provided by FreeHEP SVG path compilation provided by Batik Photo rendering provided by SunFlow
I have also checked a manually downloaded copy of Sweet Home 3D and I get the same result.

I have tried using both the Java binary supplied with the download and using my systems java (by changing the executable path to just "java").

./SweetHome3D-Java3D-1_5_2

Code: Select all

exec "$PROGRAM_DIR"/runtime/bin/java -Xmx2g -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/j3dcore.jar:"$PROGRAM_DIR"/lib/j3dutils.jar:"$PROGRAM_DIR"/lib/vecmath.jar:"$PROGRAM_DIR"/lib/jnlp.jar -Djava.library.path="$PROGRAM_DIR"/lib -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.SweetHome3D -open "$1"

Code: Select all

Sweet Home 3D ® Version 6.6a
OpenJDK version 11.0.15 - 64bit - 0.1 / 2 GB provided by Private Build Java 3D version 1.5.2 - NATIVE_OGL PDF print provided by iText SVG export provided by FreeHEP SVG path compilation provided by Batik Photo rendering provided by SunFlow

Any ideas? It seems to be some kind of problem storing the 2D rendering?
thomasa88
Posts: 6
Joined: Tue Jul 20, 2021 11:05 am

Re: Imported furnite icon renders as garbage

Post by thomasa88 »

Here's the version when running the original SweetHome3D-Java3D-1_5_2 script:

Code: Select all

Sweet Home 3D ® Version 6.6a
Java version 1.8.0_202 - 64bit - 0.1 / 1.8 GB provided by Oracle Corporation Java 3D version 1.5.2 - NATIVE_OGL PDF print provided by iText SVG export provided by FreeHEP SVG path compilation provided by Batik Photo rendering provided by SunFlow
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Imported furnite icon renders as garbage

Post by Puybaret »

Under Linux, the icon of imported models are built from the screenshot of the 3D preview shown in Furniture import wizard.
Therefore, you must be sure that the 3D preview of wizard’s last step (or the preview shown in the Furniture Library Editor) must be at screen and not hidden by other windows to get a correct icon.
Was it the case?

Note that double clicking on the bicycle you imported in the catalog will show again the wizard to let you update it if needed, its icon included.
Emmanuel Puybaret, Sweet Home 3D creator
thomasa88
Posts: 6
Joined: Tue Jul 20, 2021 11:05 am

Re: Imported furnite icon renders as garbage

Post by thomasa88 »

I'm pretty sure the rendering was visible. Or at least, I did not hide it in any way. The import wizard was visible on top of the main window.

I noticed that there is a short flickering of the image when closing the wizard. Maybe that could be related? I did not see such flickering on the previous Ubuntu version (21.x), but the rendering problem was in that Ubuntu version as well.

I noticed now that 6.6.2 at first does not show any renderings in the dialog windows.

I have recorded videos of the different Sweet Home 3D versions:
https://imgur.com/a/qY999R9
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest