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: 99
Posts: 99   Pages: 10   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 390073 times and has 98 replies Next Thread
Puybaret
Expert
Member's Avatar

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

You have always tried to keep the user interface as simple and intuitive as possible. [...] Asking users to define an SVG path, in my opinion, is far beyond the capabilities of most users.
I perfectly agree and that's why I propose two ways to get the cut out shape of a door: automatic from the 3D model or with a SVG path. Miserably, the automatic way has some limits that you may have not discovered and that the SVG path can fix. For example, if you try to import the Round door frame, you'll see that it won't work correctly because the frame is not closed at its bottom.

[...]I would be happy to time the speed difference between, say, 10K, 25K and 50K vertices.
Thanks for your nice proposal, but measuring this directly in the program is easier and more accurate. wink
In the example you provided, the time necessary to compute the contour of the 3D models it contains was the following:
t = 2 ms for 2604 vertices
t = 3 ms for 3429 vertices
t = 61 ms for 5984 vertices
t = 73 ms for 3873 vertices
t = 116 ms for 211656 vertices
t = 153 ms for 59268 vertices
t = 198 ms for 66311 vertices
t = 605 ms for 13080 vertices
t = 625 ms for 114630 vertices
As you can see, the more vertices a 3D model counts, the more time is necessary to compute its contour. But the 3D model with the largest vertices count is not the one that took the most time!
Anyway, I increased the max vertices count to 1 million in the current beta, but keep in mind that if you want to reduce this contour computing to 0 second, you can still specify the doorOrWindowCutOutShape property. I noted that there are still some problems with some round doors too, that I'll fix soon.

What if that contour calculation is done just once, when the shape is imported into the library or inserted inside the house, and stored then as cached additional data for the model?
I already introduced some kind of cache for cut out shapes. It's initialized at the first use of a model in a project or when the file is reopened. It could be improved by saving the cut out shape in files too, but I prefer not to have to program a SVG exporter for this at this moment.


Sajmmon, defining the SVG path for the cut out shape has to be specified with the new doorOrWindowCutOutShape# property that you can add for any door or window in the PluginFurnitureCatalog.properties file of a SH3F file. I might add the matching text field in the next version of the Furniture Library Editor if necessary.


By the way, the Beta 5 fixes also a bug that prevented to export to SVG under Java 7 / Linux. And thanks to JogAmp team, the beta can work with Java 7u40 under Mac OS X. Many thanks to Sven Gothel for the bugs he fixed recently. At the opposite, I removed support of Java Web Start under Java 6 / Mac OS X, because there's too many bugs that I fear Apple will never fix. Fortunately, these bugs don't happen with Java 6 when Sweet Home 3D is run from its .app bundle or its Jar executable file.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Oct 8, 2013, 7:10: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: 4011
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 4.2

Emmanuel,

Thanks for your testing and update 5.

I revisited the test models I used before, and they perform much better now.
However, I noted a difference between a model inserted at floor level, and a model inserted above floor level.
At floor level, several models still show a square opening at top. But, as soon as I give the model a slight elevation, the gaps are closed. Strangely enough, when inserting the same model again, SH3D seems to "know" the correct shape of the gap, and now inserts it correctly.

Well, if that's all, I can easily live with it.
It's a perfect feature that many people will appreciate.

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

new website - under constuction
hansdirkse.info
[Oct 8, 2013, 7:44:20 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 4.2

Fantastic. I notice some oddities (win8) that appear not to be functional (javastart issue?):
- undo / redo,
- drag-drop furniture (file or catalogue) in plan

As for the auto_guess cut_out shape, I am impressed. Preliminary testing shows even strange shapes ( http://advokatredet.no/design/xxxxx.zip ) are cut out correctly. So playing with SVG paths is not really a required skill (but it is not impossible, even if it requires some frustrating trying and failing - mostly failing - to begin with... :-) ).

ok
[Oct 9, 2013, 10:23:30 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 4.2

I might add the matching text field in the next version of the Furniture Library Editor if necessary.


Yes, please. Necessary I don't know, but it would be very nice. The more property fields that can be edited from Furniture Library Editor, the better, methinks. (However, I also appreciate the counter argument that it could make the Furniture Library Editor a bit overwhelming.)

ok
[Oct 9, 2013, 12:22:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 4.2

Fantastic. I notice some oddities (win8) that appear not to be functional (javastart issue?):
- undo / redo,
- drag-drop furniture (file or catalogue) in plan


Also, I cannot get copy/cut/paste to work (Ctrl - move works, though).

ok

PS (these may be silly and obvious issues, but I note them, just in case).
[Oct 9, 2013, 3:53: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 
Puybaret
Expert
Member's Avatar

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

okh, I just tried on my copy of Windows 8 and didn't notice all the issues you reported. sad
What version of Java do you use?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Oct 9, 2013, 4:38:07 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 4.2

4.2 Beta 5
Java 1.7.0_25 (win8, i3 @1,8): the Edit menu functions DON'T WORK (including Ctrl-C, Ctrl-P, Ctrl-Z etc).

I also tested another machine:

Java 1.7.0_07 (win7, celron @1,3) they DO WORK.

ok
[Oct 10, 2013, 9:16:30 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 4.2

Upgraded Java to 1.7.0_40 (on win8, sh3d 42 beta 5) - it WORKS.

Cut, Copy, Paste, Drag-Drop files, Drag-Drop catalogue furniture.

:-)

ok
[Oct 10, 2013, 9:48:55 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 4.2



IF you're looking at transparency issues - a just want to note a recurring problem (not new to 4.2b):

The enclosed home looks ok in the 3d window initially. But
- the translucent glass of the window is visible through the tree.
- and if I move the tree, the roof behind starts showing through (in front of) the tree. (un-check, check roof visibility and the roof moves to the back).

demohouse_okh_models_transluc.sh3d

It renders well in photo. Same effect in 4.2b5 as it was under 4.0. NOT a big deal, but I have noticed the same issue several times. I think it happens only when two objects with transparent elements overlap.

ok
[Oct 10, 2013, 10:29:46 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 4.2

...stop the search of the window surrounding shape if its model have more than 10000 vertices.

Just to add to the confusion (my own probably). I put my pretty simple models into 4.2.b5. And got this result. I certainly cannot make heads or tails of it (perfectly normal for a lawyer).

sh3d_4_2_b5_cutouts.sh3d

The cutouts did not appear to be retained initially in the compressed file, but corrected itself once I moved any door.

ok


[Oct 10, 2013, 1:43:47 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: 99   Pages: 10   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | 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