>: CG Forums on 3dtotal - The best forums for CG artists :.
threedy forums home
 


top-table-gradient
Go Back   3DTotal Forums > Help, Advice and Chat > Modelling, Lighting & Rendering Help
bottom-table-gradient

Reply
 
Thread Tools Display Modes
Old 24-11-2004, 04:29 AM   #1
Stuh505
Registered User
 
Join Date: Mar 2004
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
mental ray caustics

First of all just a quick question...are there any renderers out there which can accurately model all of the various properties of light (at once)?
- destructive and constructive wave interference
- color related to wavelength...and index of refraction
- diffraction, evidenced by single/double/n slit interference
- refraction, evidenced by Newton's rings in thin-film interference, and light separation in prisms, and telescopes

finalRender stage-1 looks like it can do all of this but, I don't know for sure

Anyway...I'm trying to use the caustics in mental ray (3dsm7) and having complete failure! I know mental ray can't do 90% of the thigns I listed but the sample pictures show it doing reflection and some pale attempt at refraction.

1) mental ray renderer selected
2) caustics enabled in render dialog
3) double sided sphere encompassing entire surfacr to absorb waylaid photons
4) light aimed through glass lense at plane
5) plane and sphere double sided, both set to recieve caustics
6) lense set to generate and recieve caustics
7) light source set to generate caustics
8) mental ray glass (physics phen) material applied to lense, mental ray DGS applied to other things...also tried using a default material instead of DGS...tried using all default materials...

no matter what I do, it always says "no photons stored" in anything and won't even render
__________________
"In a world of compromise, some don't."

Last edited by Stuh505; 24-11-2004 at 04:40 AM..
Stuh505 is offline   Reply With Quote
Old 24-11-2004, 06:08 AM   #2
Brent
Guest
 
Posts: n/a
hello....try tutorial listed on this page

http://www.cgarchitect.com/vb/showth...=hybrid&t=4416
  Reply With Quote
Old 24-11-2004, 10:39 AM   #3
Stuh505
Registered User
 
Join Date: Mar 2004
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
I would like to understand why the tutorials which come with max do not seem to be working...I'm doing all the steps listed in the tutorials as I said above and its not happening..those photons just arent getting caught even though the objects are set to recieve caustics. do they need a special kind of material to recieve photons or something? GI works though..
__________________
"In a world of compromise, some don't."
Stuh505 is offline   Reply With Quote
Old 24-11-2004, 12:37 PM   #4
DeadlyFreeze
Not a zombie.
 
DeadlyFreeze's Avatar
 
 
Join Date: Jan 2004
Location: P-town
Posts: 1,547
Thanks: 7
Thanked 32 Times in 20 Posts
Awards Showcase
The Ultimate 3DTotal Award!: Only available in Platinum, given to select few for incredible service to the community. - Issue reason: For throwing one hell of a good suggestion out there. You suggested the sculpting challenge, and we ran with it. The community loves it. Nice one! Threedy Top Poster - Silver: Contributing to the forums with 1,000+ posts - Issue reason: Target Reached Threedy Top Poster - Bronze: Contributing to the forums with 100+ posts - Issue reason: Target Reached! The Golden Grenade IV: For participating in the Dominance War IV and successfully finishing, well done soldier! - Issue reason: For participating in the Dominance War IV and successfully finishing, well done soldier! The Golden Grenade V: For participating in the Dominance War V and successfully finishing, well done soldier! - Issue reason:  Thumbs up!:  - Issue reason: your testicles Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge ''Death Match'' Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge Low Poly Game Art - Bronze: 3rd place in a low poly challenge! - Issue reason: 3rd place in Low POly Comp #22 Washed Up super Hero 
Total Awards: 10
Have you checked your mental ray message window? You might be having other issues. I can't really imagine what though.
__________________
DWV Work Thread... so many balls.

The mysterious guy behind you...
DeadlyFreeze is offline   Reply With Quote
Old 24-11-2004, 03:36 PM   #5
Brent
Guest
 
Posts: n/a
hello stuh505

check the message window for error....
if it won`t even render then the photon map needs more memory than can be stored and it won`t render.
I had similar problem with Brazil render...
above 60 million photons...the memory to be stored was too much and my render would abort.This was with 1 gig ddr available.
How many photons are being emmitted from your light source?How large is your photon map?How much memory your system have?

ciao
  Reply With Quote
Old 24-11-2004, 08:41 PM   #6
Stuh505
Registered User
 
Join Date: Mar 2004
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
I do not think that is the problem.

the average photons per light is set to 10,000 (defasult)

The only thing that the mental ray message window says is, "error: 100,000 photons emmitted and none stored, warning: 10,000 photons emmitted and none stored"

I have 1 light souce, 1 reflective object, 1 non reflective object, and one non reflective object surrounding the scene to catch any missed photons...

I have 512 MB ram and it is set to use 1536 MB. i cant imagine that this process would use anywhere near the full extent of my ram, I have set up the simplest possible scene and none of the settings are high
__________________
"In a world of compromise, some don't."
Stuh505 is offline   Reply With Quote
Old 24-11-2004, 10:34 PM   #7
floze
Registered User
 
floze's Avatar
 
Join Date: Jun 2004
Location: Bavaria
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
10000 caustic photons are way enough to test, stuh.
Dont know how this works in 3dsmax, but generally a material in mental ray needs a corresponding photonic material to get the photons computed.
If you have a dgs (both surface mat and photonic mat) with specular set to white to get a reflective material your photons should be well.
To get nifty glass/water/liquid effects, a dielectric mat should be used, since it follows fresnel's formulas. But bear in mind to apply it to surfaces that actually have two sides with normals that point in different directions because mental ray needs to distinguish either side of the surface/interface. So dont use planes for dielectric mats, use a box or something alike.
Some tips: Dont use point lights to emit photons because they emit 360 degree which is not necessary in most cases, use spot lights.
Get rid of the surrounding object, it doesnt make any sense to 'catch missed photons'. If your photons arent stored where they should be, why do you want to store them where they are completely useless? Youre just tampering your photon statistics and get inaccurate results.
__________________
May You Live in Interesting Times
floze is offline   Reply With Quote
Old 25-11-2004, 01:36 AM   #8
Brent
Guest
 
Posts: n/a
Quote:
I have 512 MB ram and it is set to use 1536 MB.
I assume that`s a typo error.....10,000 photons would never use 1.5 gig memory....
  Reply With Quote
Old 25-11-2004, 01:53 AM   #9
floze
Registered User
 
floze's Avatar
 
Join Date: Jun 2004
Location: Bavaria
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
I guess he meant the total amount of virtual memory he owns.. not the one being used by mr.
__________________
May You Live in Interesting Times
floze is offline   Reply With Quote
Old 25-11-2004, 03:51 AM   #10
Brent
Guest
 
Posts: n/a
hello Stuh505

I wish I had comments for you.....
I just tried the tutorials myself...and they all work fine for me....
Mabey there is just one little setting you have forgotten?
It`s hard to say why it won`t work....

best luck

ciao
  Reply With Quote
Reply


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
Forum Jump


All times are GMT. The time now is 12:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
all images displayed on this site are copyright the original artists and may not be reproduced, copied or published elsewhere without their express permission