Download

Online

Gallery

Blog

  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: 21
Posts: 21   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 22866 times and has 20 replies Next Thread
pencilart
Advanced Member
Member's Avatar


Joined: Oct 2, 2007
Post Count: 188
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

Great replies!
Well, I have been playing around with this and found that I had to go into the .obj and edit it like I used to when I got started with sh3d, so I did that for my chandelier.

I will check out the newest version of sh3d soon.

@sree: I didn't know that all that could be done. I will try it soon!
----------------------------------------
Attachment CorrectChandelier.png (48705 bytes) (Download count: 2072) (usemtl amber_trans)
CorrectChandelier.png
[May 28, 2014, 10:00:25 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sree.arun.kr
Advanced Member



INDIA
Joined: Oct 28, 2013
Post Count: 137
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

I had to go into the .obj and edit it like I used to when I got started with sh3d,

Its exactly that what I means. shhh (I am not good in English)
SH3D failed to pick transparency(a bug) so we need to do manually, by assigning with a color or texture to it.
----------------------------------------

[May 29, 2014, 6:00:59 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
pencilart
Advanced Member
Member's Avatar


Joined: Oct 2, 2007
Post Count: 188
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

I just tried out the 4.4 beta.

The glass looks nice, but not as transparent as I wanted. The glass in the chandelier should have a peach hue.

The comparison set up...


How it rendered in sh3d...


Chandelier2 is the one that I went into the .obj and edited the color (usemtl amber_trans)
ChandelierOriginal is the one I sent to Emmanuel
Chanlight is the one I tried making the glass more transparent in Art Of Illusion (and a light, peachy color)
----------------------------------------
[Edit 1 times, last edit by pencilart at Jun 1, 2014, 5:38:57 PM]
[Jun 1, 2014, 5:38:12 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

The Chandelier2 version looks very nice. smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jun 1, 2014, 9:35:58 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
pencilart
Advanced Member
Member's Avatar


Joined: Oct 2, 2007
Post Count: 188
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

ok, Emmanuel, I will send you that one soon. (the file size is large, that is why I am sending it to you.)
[Jun 1, 2014, 11:01:24 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sree.arun.kr
Advanced Member



INDIA
Joined: Oct 28, 2013
Post Count: 137
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

Edit/replace your .mtl file with following settings only for Chandelier glass material (that you want to render).

Kd 0.784 0.337 0.368 (R G B: your wished peach colour )
Ka 0.784 0.337 0.368
Ni 2.5
d 0.86
save it.
open it in SH3D
Render it.
If Render fail
go modify furniture->material->modify color and change/pick glass color again to peach
If failed render then attach .mtl file on next post
----------------------------------------

----------------------------------------
[Edit 1 times, last edit by sree.arun.kr at Jun 2, 2014, 11:17:52 AM]
[Jun 2, 2014, 10:04:25 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
pencilart
Advanced Member
Member's Avatar


Joined: Oct 2, 2007
Post Count: 188
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

I did the editing and rendering.
I've noticed that:

Glass in SH3D looks good in the 3d pane, even the color modification.

For the (best and 2nd best) rendering, it's a different story: The glass named sweethome3d_window_pane looks like a proper glass (transparent) while the one that just had the mtl edited by adding:
d 0.15 looks more solid, not transparent.

Even with the mtl edited (as per sree's instructions) as:
Kd 0.784 0.337 0.368
Ka 0.784 0.337 0.368
Ni 2.5
d 0.86

also renders in the best and 2nd best setting as solid, no transparency, while in the fast and next to fast renders as transparent as it should (but, of course, not with realistic looking lighting).
----------------------------------------
Attachment 3glass-bestsetting.png (136440 bytes) (Download count: 1586) (best rendering setting vs. fast rendering setting.)
3glass-bestsetting.png
----------------------------------------
Attachment 3glass-EXP.png (50778 bytes) (Download count: 1568) (best rendering setting vs. fast rendering setting.)
3glass-EXP.png
[Jun 5, 2014, 3:37:06 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sree.arun.kr
Advanced Member



INDIA
Joined: Oct 28, 2013
Post Count: 137
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

Glass in SH3D looks good in the 3d pane, even the color modification.

Yes, I am talking about Glass transparency is working better only if you modify the color and this bug is fixed in version 4.4(Releasing soon).
----------------------------------------

[Jun 5, 2014, 5:11:57 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
pencilart
Advanced Member
Member's Avatar


Joined: Oct 2, 2007
Post Count: 188
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

Those recent render were done in 4.4 beta.

I am using 2 different glasses for my tests:
For one, I edited the mtl file (the polymesh has a normal, name: polymesh)
The other one is the one I renamed the object (in my 3d creation software) to "sweethome3d_window_pane"

When I modified the furniture texture to select the color of the glass in sh3d, that did work nicely in the 3d view, but when rendered in the best setting of the renderer, the glass that had the .mtl file edited was not colored the way I wanted and not as transparent, whereas the glass that had been renamed to "sweethome3d_window_pane" in my 3d creation software worked nicely as I had expected.

(I do not use image maps for simple color, I only use image maps for wood or marble texture and of course, I am not concerned about transparency with those)

The renderer, when in best or nearly best mode is what is giving me that behavior. So, I don't know if you have any control over that.

BTW, choosing a texture (such as the patterns) gives a cool, funky effect. I like that very much!
----------------------------------------
Attachment coolglass.png (50838 bytes) (Download count: 2071) (The one on the left (with the cool pattern) is the one named sweethome3d_window_pane. The one on the right is the one that the transparency was edited from the .mtl file. I only have a peach color assigned to that one.)
coolglass.png
[Jun 5, 2014, 6:26: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 
sree.arun.kr
Advanced Member



INDIA
Joined: Oct 28, 2013
Post Count: 137
Status: Offline
Reply to this Post  Reply with Quote 
Re: obj Transparency?

Do you get the result when rendering with v4.4b20 ?. thinking
Or your looking for a result like this ?(External Link), then it required a detailed modeling. silly
You can achieve a good result with tweaking .mtl file here is some helpful resource. shhh
----------------------------------------

[Jun 6, 2014, 9:50:04 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 21   Pages: 3   [ Previous Page | 1 2 3 | 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 2006-2024 eTeks - All rights reserved