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: 22
Posts: 22   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 10517 times and has 21 replies Next Thread
condo
Newbie




Joined: Feb 27, 2014
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help!! How can I use textures as stained glass?

Thanks for your help. I guess I do know how to make transparent semi-transparent stuff in blender, the problem is that once it is rendered in SH3D, it is no longer semi-transparent.

This is an experiment I did:
left blind: solid, 2nd: alpha 1.0, 3rd: alpha 0.75, 4th: alpha 0.5, 5th: alpha 0.25

top: SH3D preview bottom:hires render
http://www.imagebam.com/image/2df9b9311156561

Hans, thanks, I'm already using one of those models. Wanted to improve it and make it translucent or make my own
[Feb 28, 2014, 8:35: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 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help!! How can I use textures as stained glass?

You don't mention whether you use a texture too. Maybe that would help. Possibly a png with a mix of opaque and transparent pixels?

ok
[Mar 1, 2014, 11:40:56 AM] 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: 3950
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help!! How can I use textures as stained glass?

I converted a model from the Sketchup Warehouse in such a way that the vertical blinds now have two sides.
You can apply a different texture to each side, including (partially) transparent textures.

2-sided veritcal blinds

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

new website - under constuction
hansdirkse.info
[Mar 1, 2014, 11:58:00 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
condo
Newbie




Joined: Feb 27, 2014
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help!! How can I use textures as stained glass?

okh, thank you for your attention. I have tried both. I did some tests today with the glass textures of your stained glass windows, with unsatisfying result.

I start to wonder wether I'm having a renderer issue (driver?). I'm on a iMac 2011 with ATI Radeon 6970M. This is the result when I tried the model from hansmex (left: normal, right: mirrored, both stretched by 50% in length):
http://www.imagebam.com/image/3ecc9a311334028

The goal btw is to have the vertical blinds glow when the sun shines into them, but maybe this is simply not possible.

this is how the real thing looks like and what I'm attempting to simulate one way or the other:
http://www.imagebam.com/image/4e32ca311339068

I also own some furniture with frosted glass, haven't been able to recreate this as well, it is simply transparent like eg. a window.
[Mar 1, 2014, 5:17:01 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: Help!! How can I use textures as stained glass?

Oh well, transparency is tricky... And your ambition level is fairly high smile

You may be right that your graphics driver/card is playing tricks on you. I seem to remember that Puybaret suggested something to that effect when a model of mine behaved strangely. If you post the unsuccessful file, maybe someone else is willing to try it on different configurations.

Frosted glass, however, should be possible. If you look at the stained glass at the origin of this thread (linked above), it behaves reasonably well in different rendering and light situations.

Please post if you (or someone else) succeed - and I shall keep your issue in mind when I next need something transparent. Good luck.

ok
[Mar 1, 2014, 5:43: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 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3950
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help!! How can I use textures as stained glass?

@condo

Well, the rendering isn't too bad: I applied a 100% transparent texture to one side, and a "bl&w" tiled texture to the other side, where the black (or white?) squares are 100% transparent. That explains the "strange" look of the blinds in the image: it's pretty much the same as it looked on my computer.

The reason I made the model, is that you had a "vehicle" with which to experiment, not to provide a turn-key solution, because I didn't know what kind of result you were after.

Also, there is a problem with SH3D's rendering. Light doesn't bounce like it does in real life. This improves rendering times, but reduces the real-life appearance in some cases. A few months ago, someone provided some images with adapted (improved ?) rendering, using different settings for the rendering engine in the form of a small file. I can't find the original post/thread, but I uploaded the scripts. The links are below. Hopefully these are of help. Put them in the directory where SH3D is, and double-click them to start SH3D with the settings of the file.

Even if they don't solve your problem(s), they serve to show that the rendering engine is quite flexible and accepts all kinds of different parameters. However, beware of rendering times. See this link for some examples of what is possible with the Sunflow rendering engine that SG3D uses.

Hans

default
high
optimized #1
optimized #2
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Mar 1, 2014, 6:40:50 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
condo
Newbie




Joined: Feb 27, 2014
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help!! How can I use textures as stained glass?

I forgot to thank you as well, hansmex, for all your efforts which was unintentional. I will try those settings tomorrow.

The problem as I see it is that in the 3D preview, it looks all fine but in the rendered image, it looks plain wrong. I'm totally aware of the fact that secondary lighting (glowing of objects after receiving light from a primary light source) is not available, I was just hoping to make the vertical blinds glow as a visual effect, not as a source of light.

I have conducted some further testing, the results look more or less all the same no matter what mtl or alpha png translucency setting I'm using.
It's not the end of the world, I have achieved a lot more then I could have ever imagined.

Once I find suitable webspace, I will upload the testroom that I have created today.
[Mar 1, 2014, 6:53:53 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: 3950
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help!! How can I use textures as stained glass?

Forget trying the files I shared, because they won't provide the reflections on the shades you are looking for.
A better guess would be the Sunglow website I referred to, and make a study of what is possible...........

Have you checked out the examples of the SH3D photo render contest? That's about as good as it gets using SH3D. Quite impressive in my opinion.

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

new website - under constuction
hansdirkse.info
[Mar 1, 2014, 7:08:08 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
gmann001
Newbie



United States
Joined: Jan 14, 2014
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help!! How can I use textures as stained glass?

New to the 3d rendering world and I too was wondering if my graphics driver/card may not be adequate. I am trying to make an object (lamp shade on a pendant light) to be semi transparent, but all I get when rendering is full transparency.

I have tried creating a photoshop PNG file (white square set at 90% opacity), and it still comes out as full transparency.

I even set the object to a solid color and tweaked the MTL file so that the materials "d" setting was 0.9 (thinking 0 was full transparent and 1 is opaque), but that too comes out as full transparent.

It seems to me that I can either have full opaque or full transparent. That's why I am wondering if my machine just can't handle. Is this a correct/good assumption?

thank you in advance
[Mar 28, 2014, 2:16:14 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: 9180
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help!! How can I use textures as stained glass?

For your information, I improved the rendering of transparent texture in version 4.4.
Hope this will work better now...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jun 12, 2014, 11:12:30 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: 22   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