Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | 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: 116
Posts: 116   Pages: 12   [ Previous Page | 3 4 5 6 7 8 9 10 11 12 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 417383 times and has 115 replies Next Thread
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1355
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

Is it possible/advisable to have several entries in PluginFurnitureCatalog.properties referencing one single model?
Point was, I seem to remember that is how it is done with the light sources, but have a feeling it might not work as well with a mixed library with many models. ok
[Jan 30, 2018 8:01:52 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 5941
Status: Online
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

If you want to change the visible parts of a given model, you should use different MTL files changing the transparency factor in d lines (d 0 being fully transparent and d 1 fully opaque). As the MTL file used by an OBJ file must be cited in its mtllib line, you won't have any other choice that creating different OBJ files.
But it's not a problem to have different pieces citing the same value in their model...# property and a different value in their planIcon...# or doorOrWindowSash....# properties. There was a bug in the Furniture Library Editor some time ago about this but it was fixed in version 1.20.

By the way, here's a version 1.22 of the editor with IDs if needed. I promise the choice of the columns editable in the editor will end up in preferences one day wink
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jan 30, 2018 11:08:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1355
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

Thanks for the reply.
There was a bug in the Furniture Library Editor some time ago
Good, then my memory did not fail me completely.
..change the visible parts of a given model, you should use different MTL
Maybe I do not understand, or we are talking about different things. The d setting in .mtl, it will not help me get what I want. For instance: one model consisting of a door-frame + door, with different named colours in .obj/.mtl. I import one instance of the model and use throughout the home. Where I want the door left 'open', I change that door colour (but not frame) to invisible in the colour dialogue in SH3D. That way the frames remain and I can open and close doors by toggling the colour=invisible.

I will try a couple of options and see what works best. Thanks.

ok
[Jan 30, 2018 3:06:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 89
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

@okh I've use this feature and I've create some furniture for this.
You can try this door
https://sourceforge.net/p/sweethome3d/d-models/444/#10c5
Maybe someone could introduce this to make some animations when visit a home. When camera is near door the door start opening. Could be made it in AOI this kind of animation.
Off course only for those interested in this kind of virtual reality. I'm not!
Dorin
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
If all else fails, get the instructions back out of the rubbish bin and read them. (bluewater - the aptosid manual maintainer)
[Jan 31, 2018 11:05:53 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1355
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

Thanks for the file, Dorin. It is the same principle I use. Exploiting the set-to-invisible in the colour dialogue to hide/display construction elements e.g. for quick visualisation for a planning application: changing 30 plain windows to windows with glazing-bars. Quick to see just by hiding the glazing bar.

Using one model in different contexts can be handy, but sometimes I ponder whether it could make sense to make two catalogue entries for the same model; equip the model with different properties - for instance:

One set of properties:
name#1=Door glass 3p
....
model#1=/Door glass 3p/Door-glass-3p.obj
...

Then below, a seceond set of properties for the same model:
name#2=Door glass XXXXX2
....
model#2=/Door glass 3p/Door-glass-3p.obj
model#2=doorOrWindowSash....#.... etc
....

I have yet to decide whether this can be useful or confusing. Maybe for use with one staircase model but several entries: with different cutouts, with or without semi-transparent stair planIcon (I prefer being able to see through the stairs in the 2D plan, but not everyone would agree). ok

[Jan 31, 2018 1:27:25 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 89
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

From my point of view I prefer to have more options to modify an object in contextual menu than to have 3 (or more) pretty the same furniture.
Maybe in property file to have predefined few variants and in modify furniture to chose which to display. In my case 0;45;90 degrees open.
Also for modify the cutoff in Your case.
Now is about 1000 furniture on official and at least 1000 unofficial which are used for most of us. To have 4~6000 in the library I don't think is useful.
Is only an opinion.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
If all else fails, get the instructions back out of the rubbish bin and read them. (bluewater - the aptosid manual maintainer)
[Feb 14, 2018 10:21:06 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 116   Pages: 12   [ Previous Page | 3 4 5 6 7 8 9 10 11 12 ]
[ 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 2006-2018 eTeks - All rights reserved