Joined: Oct 2, 2007
Post Count: 188
Status:
Offline
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!
---------------------------------------- CorrectChandelier.png
(48705 bytes)
(Download count: 2160)
(usemtl amber_trans)
INDIA
Joined: Oct 28, 2013
Post Count: 137
Status:
Offline
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. (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.
----------------------------------------
Joined: Oct 2, 2007
Post Count: 188
Status:
Offline
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]
INDIA
Joined: Oct 28, 2013
Post Count: 137
Status:
Offline
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]
Joined: Oct 2, 2007
Post Count: 188
Status:
Offline
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).
---------------------------------------- 3glass-bestsetting.png
(136440 bytes)
(Download count: 1652)
(best rendering setting vs. fast rendering setting.)
---------------------------------------- 3glass-EXP.png
(50778 bytes)
(Download count: 1637)
(best rendering setting vs. fast rendering setting.)
INDIA
Joined: Oct 28, 2013
Post Count: 137
Status:
Offline
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).
----------------------------------------
Joined: Oct 2, 2007
Post Count: 188
Status:
Offline
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!
---------------------------------------- coolglass.png
(50838 bytes)
(Download count: 2174)
(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.)
INDIA
Joined: Oct 28, 2013
Post Count: 137
Status:
Offline
Re: obj Transparency?
Do you get the result when rendering with v4.4b20 ?. Or your looking for a result like this ?(External Link), then it required a detailed modeling. You can achieve a good result with tweaking .mtl file here is some helpful resource.
----------------------------------------