warrenwest

Ray tracing detail

Recommended Posts

This one for all the ray trace experts out there. I have been practicing for a while now and I was running a test today of a whiskey glass containing ice cubes. After about 36 passes I got to this stage below. Will this 'noise' clear up if I let it run all night or will I have to change the settings? 

Untitled 11.jpg

Share this post


Link to post
Share on other sites

It is very difficult to predict how much this will clean up by running significantly more passes. How long did it take to run 36 passes? Try 100 passes and see if there is a noticeable improvement, this would provide some indication as to how long it might take to fully clear up. How you have lite this will also effect the degree of speckles in combination with the material settings. Raytracing through multiple layers of glass and transparent materials is a real challenge. Suggest posting the plan to see what others might come up with.

 

Graham

Share this post


Link to post
Share on other sites

Without seeing your settings I can only offer advice based on my past experience. Be sure to have plenty of added light (and keep ambient light to a minimum), I would add a light source that is set as a Point Light.. Also, use Photon Mapping & Caustics for the best quality of image.

 

Eric

Share this post


Link to post
Share on other sites

I typically need to run a ray trace for close to 100 passes or more when using caustics. It will eventually clear up it's just an expensive process.

Share this post


Link to post
Share on other sites

HI Guys and thanks for the feedback so far. I have pretty much everything set like you suggested the only difference being the number of passes. I will run this overnight and report back in the morning :)

 

 

Share this post


Link to post
Share on other sites

You should not have to run this all night. Here is one I just ran with 10 passes in 12 minutes. Photon mapping "ON", Caustics "ON", 1200px x 1200px. Scene uses only two spot lights.

 

Glass and Ice_10 passes_12 min.jpg

 

Graham

Share this post


Link to post
Share on other sites

Here is the same scene with Photon Mapping & Caustics "OFF". 10 passes in 2 minutes. 1200px X 1200px.

 

Glass and Ice_10 passes_2 min.jpg

 

Here it is after only 3 passes in 40 seconds. No speckles.

Glass and Ice_3 passes_40 seconds.jpg

 

Graham

Share this post


Link to post
Share on other sites

 

49 minutes ago, TheKitchenAbode said:

Here is the same scene with Photon Mapping & Caustics "OFF". 10 passes in 2 minutes. 1200px X 1200px.

 

Glass and Ice_10 passes_2 min.jpg

 

Here it is after only 3 passes in 40 seconds. No speckles.

Glass and Ice_3 passes_40 seconds.jpg

 

Graham

Thanks for the effort Graham. Perhaps its the model I'm using from 3Dwarehouse that is the problem? Would you be able to send me you whisky glass to test under the same circumstances and settings?

Share this post


Link to post
Share on other sites

The glass is just a standard glass and glass material in CA and the ice cubes are a resized pillow with the Crystal Ice Glass material form the CA material library, nothing special. It's more likely to be your lighting and Raytrace settings that are the issue. What you are dealing with is what happens when light is passing through several layers of semi-transparent material. The more layers the greater the potential for speckles. How bad or good this will be depends upon the amount of light, the type of light and the Raytrace settings. Unfortunately there is no single magic setting, these often need to be adjusted accordingly for each scene. The key is to try to gain an understanding as to what these settings really do so you have a means to access an issue and resolve it through a logical approach.

 

Graham

Share this post


Link to post
Share on other sites

Graham, it appears there is no whiskey in your glass. Can you achieve the same raytrace results with a couple fingers of whiskey in the glass?

Share this post


Link to post
Share on other sites
20 minutes ago, rlackore said:

Graham, it appears there is no whiskey in your glass. Can you achieve the same raytrace results with a couple fingers of whiskey in the glass?

 

Sorry about that, it looked so real I downed it before the Raytrace was finished :).

 

Will pour another shot and give it a run. I do know that this will create more potential for speckles as it will add another layer of semi-transparent material that the light will need to pass through.

 

Graham

Share this post


Link to post
Share on other sites

Too early in the morning so I didn't drink this one. Ran this on my laptop so it's at a lower pixel size 600 X 600. No real problem with speckles, needs a bit of work, whiskey is not aged enough.

 

Glass and Ice and Whiskey_17 passes.jpg

 

Graham

  • Upvote 1

Share this post


Link to post
Share on other sites

What is the secret for getting that close?  I downloaded what looks to be the same glass with whiskey and ice that the OP has, and just put it into a blank plan, no table, no room, no lighting, nothing.

 

How do you get the camera just a few inches away?

 

And what transparency setting does one best use for the ice cube surface?

Share this post


Link to post
Share on other sites

Once the camera view is open select 3D> Camera View Options> Perspective Crop Mode. This will restrict the clipping plane to just the view port.

 

I used the predefined material type of 'Transparent' and set the Index of refraction to Crown Glass.

Share this post


Link to post
Share on other sites

I like where this is going folks :)

 

Update, 10 passes around 7 mins

Although now I have lost the definition around the base ! 

 

 

Untitled 19.jpg

Share this post


Link to post
Share on other sites
2 hours ago, cjanderson66 said:

Man, I'm getting thirsty.  Must be 12 O'clock somewhere

It's 23:00 where I am, cheers :) 

Crackle glass 30% transparency.jpg

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Member Statistics

    27478
    Total Members
    6254
    Most Online
    Oilersfan20
    Newest Member
    Oilersfan20
    Joined
  • Similar Content

    • By LeeDrafter
      Hi All, I am trying to achieve a ray trace with a tree in the foreground that sort of frames the picture. Attached is an example of my goal- I did not create the attached jpg. I am getting close by placing a tree close to the camera but mostly out of view, but every tree I have tried is blurry. See the saved camera in the attached file. Then I place another big tree closer to the house to create a shadow on the house/driveway. I will crop that tree out of the final picture. Are there any trees CA has that you recommend for close-up high resolution (5500x3200 pixels) ray trace? I found a thread from the old Chief Talk where they had a similar problem and Larry Kumpost  suggested a high res tree, but I don't know where to find one. Here is the old thread http://www.chieftalk.com/showthread.php?34289-Exterior-Critique&highlight=trees+foreground. Thank you in advance!

      THE ADLER RENDERING.zip
    • By hikerj
      Can anybody tell me why I get ray traces that are really grainy?  I can't find a topic on this.  I am using X9 on a mac. 
    • By dJanzenINTERIORS
      When doing a Ray Trace the cabinets seem to be lit from the inside.
      There were no lights added to these cabinets and it seems to be happening every time.

    • By karenmbruns
      How do I get rid of halos/glare that is appearing at crown molding, around door ways, cabinets, etc. in ray trace view? Do I need to change the default for interior ambient light?

    • By Caraclient
      Looking for a designer with advanced Chief Architect skills to 3D my personal new custom home in detail (exterior and interior).
      Ray Trace level skill set required.