Help!! How can I use textures as stained glass?

This topic has been viewed 12329 times and has 21 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Phoenix_Bedlam
Posts: 3
Joined: Sat Feb 22, 2014 4:18 pm
Country: Doncaster, South Yorkshire, UK

Help!! How can I use textures as stained glass?

Post by Phoenix_Bedlam »

I've been using SH3D for about a week now (and LOVE it!), in the house design I'm doing, I have lots of fixed panel windows running internally throughout the house. I want to be able to use glass textures as stained glass feature windows in rooms, but when I go to change the Furniture.obj to the pattern I want, it just changes the frame of the fixed panel window and not the glass itself.

Is there a way to make the glass in the frame textured itself? Or is it going to have to be shrinking a box.obj down to .1 thickness and using that as a "glass fascia"?

Any input would be greatly received from more experienced users of this program.

Thanks from a noob [:D]
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: Help!! How can I use textures as stained glass?

Post by okh »

Depends on the model you are using. Sent you an example. ok
Phoenix_Bedlam
Posts: 3
Joined: Sat Feb 22, 2014 4:18 pm
Country: Doncaster, South Yorkshire, UK

Re: Help!! How can I use textures as stained glass?

Post by Phoenix_Bedlam »

Awesome....thanks very much for that, I've been using .1mm textures as a fascia, which is a bit fiddly :D
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: Help!! How can I use textures as stained glass?

Post by okh »

Glad you liked them. Both textures were easily created with the Gimp. One based on a picture of a window in Catalunya (fake, made of foil), the other one just squares, colourised, tiled and flipped.

Put in a ticket in case someone else needs them:
https://sourceforge.net/p/sweethome3d/d-models/290/

ok
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Help!! How can I use textures as stained glass?

Post by Puybaret »

Very nicely done okh [:)]
Thanks for sharing.
Emmanuel Puybaret, Sweet Home 3D creator
Phoenix_Bedlam
Posts: 3
Joined: Sat Feb 22, 2014 4:18 pm
Country: Doncaster, South Yorkshire, UK

Re: Help!! How can I use textures as stained glass?

Post by Phoenix_Bedlam »

Kudos on the share....now just to finish off (probably about another month or so solid work) and try and figure out how to do a 3D virtual tour.... :/ (and how light sources work as well! (Eek!)
condo
Posts: 10
Joined: Thu Feb 27, 2014 10:25 pm

Re: Help!! How can I use textures as stained glass?

Post by condo »

I have been fiddling with translucency for quite some time but with no success.
Could you please enlighten us how you created this semi-transparent glass?

I have imported your object into blender, discovered that the material is set to Z transparency but the values set make no sense to me. I have also played with semi transparent textures but to no avail, objects appear in SH3D either solid or transparent. Too bad PS Elements won't let me add an alpha channel.

I have made my own windows, that is not the problem. I want to create semi-transparent, translucent vertical blinds.
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: Help!! How can I use textures as stained glass?

Post by okh »

I have been fiddling with translucency for quite some time but with no success. Could you please enlighten us how you created this semi-transparent glass?
Both png textures were made semi transparent with the GIMP - one from a photo (perspective adjusted and cropped), the other one just from squares and GIMP effects. Same effect can be achieved with other image editors as well.

In addition, transparency was specified in the .mtl file as discussed in this thread: How to import model of a cabinet with transparent glass panel? Just adding transparency in the .mtl file means you do not have to figure out how to do it in Blender or AoI or whatever [:-)]

ok

PS. I fear any advise I would give on how to do this in Blender would be more confusing than enlightening as I keep getting confused myself...
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: Help!! How can I use textures as stained glass?

Post by okh »

.. png textures were made semi transparent... + ..transparency was specified in the .mtl file ...
I should add that finding the right balance between png transparency and mtl transparency is tricky. Especially with several transparent layers (curtains, window pane, lamp) - and even more so for evening rendering. Some experimenting is needed for the right effect to work for you (and I suspect that a different graphics card could produce different effects).

I added semi-transparent curtains to the model in the Sourceforge ticket (second post) (sorry, didn't have vertical blinds in stock [:)] ).

Good luck - and consider sharing, I guess vertical blinds are quite common many places.

ok
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Help!! How can I use textures as stained glass?

Post by hansmex »

Hans

new website - under constuction
hansdirkse.info
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest