Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 197
Posts: 197   Pages: 20   [ Previous Page | 5 6 7 8 9 10 11 12 13 14 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 577272 times and has 196 replies Next Thread
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

It is better to be aware of source code changes to files used by a plug-in to ensure compatibility with future versions of Sweet Home 3D.

This may be due to the #IMPLIED value but the videoSpeed attribute is not visible in the Home.xml file when saving as an old file or creating a new video path with the Beta10.
By adding the videoSpeed attribute in the Home.xml file with a different value from the default one, the speed of movement is slower or faster and therefore the number of images bigger or smaller which increases or decreases the duration of the rendering for a frame rate of 25.

By adding the system property
<property name='com.eteks.sweethome3d.j3d.ignoreDrawingMode' value='false'/>
and the environment attibut
<environment ... drawingMode='OUTLINE' .../>
there is no change in 3D drawing mode , probably due to unauthorized access in Java Web Start.
----------------------------------------
EnkoNyito
----------------------------------------
[Edit 1 times, last edit by enkonyito at Sep 18, 2018, 7:13:35 PM]
[Sep 18, 2018, 5:06:54 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

I set videoSpeed attribute to #IMPLIED because the default speed is 2.4 km/h, i.e. 2/3 or the long 0.66666666666666... value.
But maybe I could simplify as 0.667...

By adding the system property
<property name='com.eteks.sweethome3d.j3d.ignoreDrawingMode' value='false'/>
[...]

By System property, I meant the java option:
-Dcom.eteks.sweethome3d.j3d.ignoreDrawingMode=false
or a call to System.setProperty
(if you want to try with the Beta version, you'll have to build the JAR executable version).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Sep 18, 2018, 7:47:34 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

if you want to try with the Beta version, you'll have to build the JAR executable version

I usually use a version of the available source code to build an executable JAR version from the build.xml.
In the README.TXT , it is indicated that we can also download the source code with an SVN command but how to do?
----------------------------------------
EnkoNyito
[Sep 18, 2018, 10:35:02 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

As the tag for 6.0 wasn't set on source code yet, you should use the following command to get the current source code:


If svn isn't installed on your computer, I'm pretty sure you'll find plenty of helpful documentation on the web.

If you want to set some System properties when running a JAR executable, you should cite the -D option before the -jar option like in:
java -Dcom.eteks.sweethome3d.j3d.ignoreDrawingMode=false -jar /path/to/SweetHome3D-6.0.jar

Caution!! I generally make some tests before committing changes, but during development, source code may still contain some major bug fixes.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Sep 18, 2018, 11:40:03 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

The drawing modes (FILL, OUTLINE, FILL_AND_OUTLINE) are well taken into account for 3D offscreen images (Quality 1 and 2) but not by the Sunflow rendering engine (Quality 3 and 4).


----------------------------------------
EnkoNyito
[Sep 19, 2018, 5:28:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

Thanks for your tests. I updated the program to ignore the drawing mode in SunFlow and in OBJ export.
I also renamed com.eteks.sweethome3d.j3d.ignoreDrawingMode as com.eteks.sweethome3d.j3d.drawingModeEnabled that has to be set to true instead of false.

No idea if I'll go further one day with this drawing mode, handling big designs in OUTLINE mode doesn't even seem to be faster.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Sep 19, 2018, 8:39:41 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

Hi Emmanuel,

Ubuntu keeps changing things, whether for better or worse, I am not sure.

SH3D-5.7 is offered in the software store: it installs and runs without any problem. However... if you look at the installation, it is very different from the "old" installation, where you only had to unzip the downloaded file. There are 3 hidden eteks/SH directories, and it is not clear which does what. Using trial and error, I found the directory where I have to place plug-ins and libraries.

These days, Ubuntu uses the SNAP packaging system. The good news is that this package should work for all Ubuntu/Mint/Linux versions that support SNAP.

Is it possible to provide v6.0 as a SNAP package for all Ubuntu users?
Is it also possible to include the XmX trick, so that we can increase memory? I have searched all hidden directories, but cannot find a script that has this entry.

Of course it would be even better, if you could find a way in which Ubuntu users get back the ease of use that we had before. That way we could also try out the beta versions, which now, sadly, is not possible.

For your info: I have tried every possible way to install SH3D, using either the original script, or the special Java-1.5 script, nothing works. I have tried every tutorial I found on the internet: nothing works. I have tried to run the betas with Oracle Java v5, v6, v7 and v8: nothing works.

Thanks you in advance!

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
----------------------------------------
[Edit 1 times, last edit by hansmex at Sep 22, 2018, 1:42:08 PM]
[Sep 22, 2018, 1:33:10 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

Hans, try to start SH3D from the terminal...
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
[Sep 22, 2018, 5:28:31 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

Birdy,

Many, if not most of the online solutions involve using the terminal. Believe me, I've tried every solution that seemed halfway reasonable...

Open to new suggestions!!!

H
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Sep 22, 2018, 5:48:35 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

In my sh3d.desktop file this is what I patched together from many suggestions and this is working on my Ubuntu 18.04:

Exec=sh -c "/usr/share/SweetHome3D/SweetHome3D-Java3D-1_5_2" %U

"/usr/share/SweetHome3D/" is the path where SH3D is installed.
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
[Sep 22, 2018, 5:54:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 197   Pages: 20   [ Previous Page | 5 6 7 8 9 10 11 12 13 14 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved