Old 09-07-2008, 03:33 PM   #16
Bliz
Registered User
 
Bliz's Avatar
 
Join Date: Dec 2003
Location: London, UK
Posts: 198
Pomfried, about the 'exit portal'. Could you please explain how that would be used? Is it similar to the the portal lights in Mental Ray 3.6 and above?
__________________
Cheers,
Bliz::..

www.bliz.co.uk
Bliz is offline   Reply With Quote
Old 09-08-2008, 10:19 AM   #17
Pomfried
Hazardous Helicorepter
 
Pomfried's Avatar
 
Join Date: Sep 2005
Location: Germany
Posts: 404
Since I haven't used Mental Ray I can't say anything about that.
But you would place the exit portal wherever light would usually pass through (e.g. windows) and if you are using GI you would then go ahead and make these transparent objects opaque for radiosity rays (can be done via the node editor and spot info nodes) so that GI isn't affected by your background image, but only by the exit portal. If you haven't got a background image yet, you would either add one that fits your scene, or you could go ahead and just apply a spherical map inside the light's properties.
That should be pretty much all you have to do, because the default settings most likely will be the right ones already.
__________________
CPU: Core2Duo T7300 2.0GHz, GFX: GeForce 8600M GT 512MB, RAM: 2GB, OS: Vista SP1

[My Nodes & Lights (Updated: 08-16-08)] Mac versions compiled by Lightwolf: www.db-w.com
Pomfried is offline   Reply With Quote
Old 09-08-2008, 11:35 AM   #18
Bliz
Registered User
 
Bliz's Avatar
 
Join Date: Dec 2003
Location: London, UK
Posts: 198
Thanks for the info Pomfried. I'll have to try and have a go with a test scene to fully understand it but I think I get what you're saying.
__________________
Cheers,
Bliz::..

www.bliz.co.uk
Bliz is offline   Reply With Quote
Old 09-09-2008, 10:25 AM   #19
MooseDog
Dreamer
 
MooseDog's Avatar
 
Join Date: Jul 2003
Location: Mount Whoville, VT
Posts: 1,420
Quote:
Originally Posted by Pomfried View Post
....you would then go ahead and make these transparent objects opaque for radiosity rays (can be done via the node editor and spot info nodes) so that GI isn't affected by your background image, but only by the exit portal. ....
__________________
We are pirates, we are artists...

Blog
MooseDog is offline   Reply With Quote
Old 09-09-2008, 10:48 AM   #20
3DGFXStudios
Space Monkey
 
3DGFXStudios's Avatar
 
Join Date: Sep 2005
Location: Earth
Posts: 1,460
Quote:
Originally Posted by MooseDog View Post
__________________
3DGFXStudios is offline   Reply With Quote
Old 09-09-2008, 11:55 AM   #21
Pomfried
Hazardous Helicorepter
 
Pomfried's Avatar
 
Join Date: Sep 2005
Location: Germany
Posts: 404
Quote:
Originally Posted by MooseDog View Post


Well if you don't make transparent objects opaque for radiosity rays, all surfaces will be affected by the light AND background radiosity, which for me seems kind of pointless? Not only would the illumination be a lot brighter, but would also render the exit portal kind of useless. Or am I forgetting something here ?
__________________
CPU: Core2Duo T7300 2.0GHz, GFX: GeForce 8600M GT 512MB, RAM: 2GB, OS: Vista SP1

[My Nodes & Lights (Updated: 08-16-08)] Mac versions compiled by Lightwolf: www.db-w.com
Pomfried is offline   Reply With Quote
Old 09-09-2008, 02:16 PM   #22
MooseDog
Dreamer
 
MooseDog's Avatar
 
Join Date: Jul 2003
Location: Mount Whoville, VT
Posts: 1,420
Quote:
Originally Posted by MooseDog View Post

sorry should have been less opaque

while i think i have a fairly firm grasp of the node system, i know it defintly falls apart when folks start talking about using it to tweak how the under-the-hood stuff for the render engine works. i'm humbled by people's understanding of that.

would it be possible to post a quick image of the node network you described? i think i understand what you're talking about concerning doubling up on illumination, but like i said, tweaking the underlying render engine with nodes like you described escapes me.

these lights are fantastic btw, thx a ton
__________________
We are pirates, we are artists...

Blog
MooseDog is offline   Reply With Quote
Old 09-09-2008, 02:54 PM   #23
Pomfried
Hazardous Helicorepter
 
Pomfried's Avatar
 
Join Date: Sep 2005
Location: Germany
Posts: 404
Yeah sure, actually it's pretty easy to do:

You take the spot info node and check if the incoming ray is a radiosity ray or a preprocessing ray by just adding both output values and then pumping the result into the logic node, which then checks if the sum is 0. In that case we are not dealing with any preprocessing or radiosity, so we are safe to use our transparency gradient output, or whatever value you wish.
But if the sum actually is a non-zero value, we have to make our object 0% transparent, otherwise the background will illuminate our room in addition to the light (and might decrease lighting quality, because many radiosity samples are needed to actually find a way through holes in walls. The light however will ALWAYS be evaluated be the radiosity engine, as a consequence a lot more lighting information is available without needing to use a high sample setting for radiosity).
Attached Thumbnails
Click image for larger version

Name:	nodetree.png
Views:	377
Size:	53.7 KB
ID:	63058  
__________________
CPU: Core2Duo T7300 2.0GHz, GFX: GeForce 8600M GT 512MB, RAM: 2GB, OS: Vista SP1

[My Nodes & Lights (Updated: 08-16-08)] Mac versions compiled by Lightwolf: www.db-w.com
Pomfried is offline   Reply With Quote
Old 09-09-2008, 03:09 PM   #24
MooseDog
Dreamer
 
MooseDog's Avatar
 
Join Date: Jul 2003
Location: Mount Whoville, VT
Posts: 1,420


they say there's art in coding, and that's as clear as an example as one can find. brilliant. i'm going to give it a quick run right now.
__________________
We are pirates, we are artists...

Blog
MooseDog is offline   Reply With Quote
Old 09-23-2008, 05:28 PM   #25
Pomfried
Hazardous Helicorepter
 
Pomfried's Avatar
 
Join Date: Sep 2005
Location: Germany
Posts: 404
Ok here it is. The UB version for all of you Mac users

Thanks Mike!
Attached Files
File Type: zip PomsLights_v1.01_UB.zip (28.1 KB, 227 views)
__________________
CPU: Core2Duo T7300 2.0GHz, GFX: GeForce 8600M GT 512MB, RAM: 2GB, OS: Vista SP1

[My Nodes & Lights (Updated: 08-16-08)] Mac versions compiled by Lightwolf: www.db-w.com
Pomfried is offline   Reply With Quote
Old 09-23-2008, 07:08 PM   #26
Phil
Heffalump
 
Join Date: Feb 2003
Location: GB
Posts: 2,549
Thanks, Mike and Pomfried!
Phil is offline   Reply With Quote
Old 09-24-2008, 07:38 AM   #27
3dworks
archvizwaver
 
3dworks's Avatar
 
Join Date: Mar 2003
Location: berlin - germany
Posts: 1,598
Quote:
Originally Posted by Pomfried View Post
Ok here it is. The UB version for all of you Mac users

Thanks Mike!
yeah! thanks again!!!
__________________
3dworks visual computing
cgsociety portfolio
waving with the mac!
3dworks is online now   Reply With Quote
Old 09-24-2008, 10:12 AM   #28
Iaian7
VFX Generalist
 
Iaian7's Avatar
 
Join Date: Jan 2006
Location: Detroit, MI
Posts: 526
Awesome!!
__________________
Iaian7 / John Einselen | reels | galleries | photos | blog

2.8Ghz 2x4 Xeon Mac Pro, 10Gb RAM, Nvidia 8800GT, OS X 10.6.2
2.8Ghz Core 2 Duo MacBook Pro 15.4", 4Gb RAM, Nvidia 9600M, OS X 10.6.2
Iaian7 is offline   Reply With Quote
Old 09-24-2008, 12:31 PM   #29
RonGC
Registered User
 
RonGC's Avatar
 
Join Date: Feb 2003
Location: Dawson Creek, BC, Canada
Posts: 546
Thank you both for the UB version.

Ron
RonGC is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 10:48 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2000-2007, NewTek