Print at Jan 27, 2026, 5:12:10 PM
Posted by John37 at Jun 10, 2013, 12:42:55 AM
3D View goes blank, how to "refresh"
The 3D view displayed in a separate window is blank when I switch back to SH3D after using other programs. Is there a simple way of "refreshing" the 3D view when I return to SH3D so the image returns?

Posted by Puybaret at Jun 10, 2013, 12:55:27 AM
Re: 3D View goes blank, how to "refresh"
How did you install Sweet Home 3D?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by John37 at Jun 10, 2013, 1:40:43 AM
Re: 3D View goes blank, how to "refresh"
I downloaded the Sweet Home 3D installer

Posted by Puybaret at Jun 10, 2013, 2:02:15 AM
Re: 3D View goes blank, how to "refresh"
Too bad, I thought this bug happens only under Java 7 with Java Web Start.
Please try to resize Sweet Home 3D window or move the separators around the 3D view, it should refresh the 3D view.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by John37 at Jun 20, 2013, 12:46:22 AM
Re: 3D View goes blank, how to "refresh"
Thanks for the suggestion. I tried it already, but it doesn't work.
I usually have to close the 3D view so it displays in the main window and then select Display in separate window again. This often takes about 2 minutes. Sometimes it is so unresponsive that I have the Exist the program and re-launch. Anyway it's not a big problem I just thought there may be a simple solution.

Posted by c0d3z3r0 at Dec 26, 2024, 11:40:13 PM
Re: 3D View goes blank, how to "refresh"
I had a very similiar problem: when opening any properties windows for furniture, the 3D view would go blank. I fixed this by killing this 3D view refresh code:

diff --git a/SweetHome3D/src/com/eteks/sweethome3d/j3d/Component3DManager.java b/SweetHome3D/src/com/eteks/sweethome3d/j3d/Component3DManager.java
index 181000450..bcfb6ac3b 100644
--- a/SweetHome3D/src/com/eteks/sweethome3d/j3d/Component3DManager.java
+++ b/SweetHome3D/src/com/eteks/sweethome3d/j3d/Component3DManager.java
@@ -259,7 +259,7 @@ public class Component3DManager {
canvas3D = new Canvas3D(configuration, offscreen);
}

- if (!offscreen
+ if (false && !offscreen
&& OperatingSystem.isLinux()
&& OperatingSystem.isJavaVersionGreaterOrEqual("1.7")) {
// Add a listener to the parent window once known that will repaint the canvas in 100 ms