3D View goes blank, how to "refresh"

This topic has been viewed 8319 times and has 5 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
John37
Posts: 57
Joined: Sat Mar 10, 2012 10:36 pm
Country: Golders Green, London, United Kingdom

3D View goes blank, how to "refresh"

Post by John37 »

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?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D View goes blank, how to "refresh"

Post by Puybaret »

How did you install Sweet Home 3D?
Emmanuel Puybaret, Sweet Home 3D creator
John37
Posts: 57
Joined: Sat Mar 10, 2012 10:36 pm
Country: Golders Green, London, United Kingdom

Re: 3D View goes blank, how to "refresh"

Post by John37 »

I downloaded the Sweet Home 3D installer
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D View goes blank, how to "refresh"

Post by Puybaret »

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
John37
Posts: 57
Joined: Sat Mar 10, 2012 10:36 pm
Country: Golders Green, London, United Kingdom

Re: 3D View goes blank, how to "refresh"

Post by John37 »

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.
c0d3z3r0
Posts: 8
Joined: Wed Dec 18, 2024 5:34 pm

Re: 3D View goes blank, how to "refresh"

Post by c0d3z3r0 »

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:

Code: Select all

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest