News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

stained glass windows

Started by sgedesigns, June 11, 2011, 12:31:37 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

sgedesigns

...or something like it.  Specifically, I spent the last three hours failing to make a TV monitor that would illuminate the countertop with the colors of the image on the screen.  The "lit appearance" shader is fine for a lit rendering, but it doesn't actually send out digi-photons. 

I briefly tried a projector light, and could probably do a simple mock effect, but that's not an actual light.  So I made a frame enclosing a backlight and a thin screen.  Many variations of backlight luminaires and screen shaders later, no luck.  At one point, with the worksurface a bit reflective, I got a pretty good mock effect, but nothing I tried actually shined the colors through.  Plus, there was light bleed - even though the light element was fully enclosed, there was still light behind and below the frame.  It seems that point and area lights don't stay in the box. 

I couldn't even get colored glass to cast colored light, except accidentally with a sky/sun shader, which lit the whole setup.  Am I missing something?  Is there a way to do what I want?  Anyone light a cathedral lately?

Thanks,
Steve
SGEDESIGNS - - TurboCAD2020 Platinum - - WIN10-64 Dell Precision M7510 -- i7-6820HQ 2.7GHz -- 48Gb (!) RAM -- Quadro M2000M -- dual 24" 1920x1200 monitors -- UpBox+ 3D printer

Henry Hubich

Quote from: sgedesigns on June 11, 2011, 12:31:37 AM
...or something like it.  Specifically, I spent the last three hours failing to make a TV monitor that would illuminate the countertop with the colors of the image on the screen.  The "lit appearance" shader is fine for a lit rendering, but it doesn't actually send out digi-photons. 

I briefly tried a projector light, and could probably do a simple mock effect, but that's not an actual light.  So I made a frame enclosing a backlight and a thin screen.  Many variations of backlight luminaires and screen shaders later, no luck.  At one point, with the worksurface a bit reflective, I got a pretty good mock effect, but nothing I tried actually shined the colors through.  Plus, there was light bleed - even though the light element was fully enclosed, there was still light behind and below the frame.  It seems that point and area lights don't stay in the box. 

I couldn't even get colored glass to cast colored light, except accidentally with a sky/sun shader, which lit the whole setup.  Am I missing something?  Is there a way to do what I want?  Anyone light a cathedral lately?

Thanks,
Steve


One way: Create a new material for the window, using "Wrapped filtered image" Pattern and "Wrapped image" Transparency. Illuminate it with a Luminance applied to a small object (e.g., a cone) created specifically for the purpose. Enable "Load to render luminance only"; enable "Shadows"; set Shadow transparency to ON.

Henry H

ltorg

This is beautiful Henry.. but I can't duplicate it to save my life in TC18.. Any chance of posting the .tcw so we can see your magic tricks? (e.g. couldn't find transparency, only translucency, and don't know where to begin on the settings!)

(I've loved your book on photorealism since buying it for TC8 - but alas, we're 9 versons behind now - IMSI is missing a bet not getting more tutorials/info out on lighting and materials!)

thanks
Leigh

Don Cheke

Quote from: ltorg on June 11, 2011, 06:15:20 PM
This is beautiful Henry.. but I can't duplicate it to save my life in TC18.. Any chance of posting the .tcw so we can see your magic tricks? (e.g. couldn't find transparency, only translucency, and don't know where to begin on the settings!)

(I've loved your book on photorealism since buying it for TC8 - but alas, we're 9 versons behind now - IMSI is missing a bet not getting more tutorials/info out on lighting and materials!)

thanks
Leigh


I wonder if Henry has a foreground scattering medium and for got to mention it?
Don Cheke
My Blog: One Man's Meanderings

Henry Hubich

Quote from: Don Cheke on June 11, 2011, 06:32:47 PM

I wonder if Henry has a foreground scattering medium and for got to mention it?

Didn't forget; just didn't think it was relevant.

Henry H

Henry Hubich

#5
Quote from: ltorg on June 11, 2011, 06:15:20 PM
This is beautiful Henry.. but I can't duplicate it to save my life in TC18.. Any chance of posting the .tcw so we can see your magic tricks? (e.g. couldn't find transparency, only translucency, and don't know where to begin on the settings!)

(I've loved your book on photorealism since buying it for TC8 - but alas, we're 9 versons behind now - IMSI is missing a bet not getting more tutorials/info out on lighting and materials!)

thanks
Leigh


v18 .tcw file and image file ("stained-glass.jpg") are attached herewith. Place the image file in a folder of your choice. After opening the .tcw and before trying to render it, select the green object; open its 3D Properties dialog; and in both the "Pattern" and "Transparency" Material pages, navigate to your own copy of "stained-glass.jpg."

Henry H

P.S. See the attached "Transparency.gif."

Don Cheke

Quote from: Henry Hubich on June 11, 2011, 06:48:02 PM
Quote from: Don Cheke on June 11, 2011, 06:32:47 PM

I wonder if Henry has a foreground scattering medium and for got to mention it?

Didn't forget; just didn't think it was relevant.

Henry H

How did you get the light streams then. In my quick tests I found it necessary.

To get them to shine just through the screens, I cut holes in the back wall.
Don Cheke
My Blog: One Man's Meanderings

Don Cheke

Quote from: Henry Hubich on June 11, 2011, 06:48:02 PM
Quote from: Don Cheke on June 11, 2011, 06:32:47 PM

I wonder if Henry has a foreground scattering medium and for got to mention it?

Didn't forget; just didn't think it was relevant.

Henry H

But you have one in your file.
Don Cheke
My Blog: One Man's Meanderings

Don Cheke

This was an interesting topic and after trying it I am left wondering how accurate one can get the lit reflection. If I aim the screen luminance straight through the screen (parallel to it) it won't really show up anywhere but the back wall or anything parallel to it. In the attached image, I directed the screen luminance on an angle and it can be seen that it is picked up on the carpet.

I am curious to see what Steve comes up with, as he can get some pretty nice looks with his control rooms.
Don Cheke
My Blog: One Man's Meanderings

ltorg

Awesome Henry! Even Genie thought it was awesome (speechless, in fact - see attached)  :)

Thanks for posting the files - I'll troubleshoot the error-less error message tomorrow...

Leigh

sgedesigns

Cool!  Thanks Henry.  I was missing the transparency map element.  I stumbled onto making the glass material with a wrapped filtered image.  It'll be a bit until I can futz with this further.

That's a cool image.  It looks like you used a spot luminance?  Does the light coming through behave as light, and actually illuminate the surroundings ala radiosity?  Like on the image you showed, were there any other lights?

I was trying to make an evenly-illuminated backlight, I tried a spot, but the unless the origin moved back, behind the wall like Don said, there was a bright spot in the middle.  Hmmm, maybe a 179° spot? 

Don, I wish I had enough control room work to need another artist.

Can't wait to try this out.  Thanks again.

Steve

SGEDESIGNS - - TurboCAD2020 Platinum - - WIN10-64 Dell Precision M7510 -- i7-6820HQ 2.7GHz -- 48Gb (!) RAM -- Quadro M2000M -- dual 24" 1920x1200 monitors -- UpBox+ 3D printer

Henry Hubich

"It looks like you used a spot luminance? "

Yup.

"Does the light coming through behave as light, and actually illuminate the surroundings ala radiosity?"

Nope. See below...

"Like on the image you showed, were there any other lights?"

Yup. One Headlight and one Ambient light, both at 0.5 watt.

Henry H