• About us
  • Contact Us
  • Terms and Conditions
  • Forum
  • Materials
  • Shaders
  • Tools
  • Video
  • Learn
  • Gallery
My Mental Ray

Navigation

  • Main Page
  • Cookbook

MYMR WIKI Tools

  • Creating pages
  • Markup n styles
  • Page protection
  • Help

 

Toolbox

  • Special pages
  • Printable version
  • Permanent link
Page    Discussion    View source    History   
Personal tools
  • Log in / create account

Optimizing Photon mapping

From Wiki

Jump to: navigation , search

You are here: mental ray cookbook / optimizing photon mapping

Notes by Zap on getting good results from photon mapping

Basically, you have four result-levels for photons:

  • Type 1. Dots or blood cell circles: Means you are looking up too few of them
  • Type 2. Well covered but cloudy/splotchy (not smooth): Looking up a tad too few
  • Type 3. Smooth and detailed: just right
  • Type 4. Over-smooth and totally smeared : Looking up too many / too large radius

Basically, the photon search stops when either the radius is reached or the count is reached. So if you set it to 100 photons, 10 cm, it will look within for the 100 nearest photons within 10 cm.

  • If the 100 nearest are within 1 centimeter, those 100 will be used, none further than 1 cm will be used
  • If the 100 nearest are within 10 cm, they will all be used.
  • If the 100 nearest are within 1m, only those within 10cm will be used.

From this you can trivially understand that if you hit the number limit this acts as an adaptively variable radius... the more photons, the better the detail, the less the photons, the more radius is looked up in.

However, if the count is too high, the radius is always hit first. So you will always smear the result over the radius. This is oversmooth (type 4 above).

The trick is to get to type 3 just right, but the good thing is that when combined with FG, the accuracy need is much less. The cloudy (type 2) solution works just fine with FG. A spotty/circly (type 1) solution wont work, a over-smoothed (type 4) solution works but can put light where it's not supposed to be. <span class=plainlinks><span style=color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;>adipex</span>

So with FG the margin of error is large.

My workflow is generally:

  1. Turn off FG
  2. Look at the photons-only result
  3. Is it dotty? Increase radius, or photon count, until it stops being dotty
  4. Is it super-smeared, decrease radius.
  5. When neither dotty nor super smeared (generally cloudy or nice), be happy
  6. Turn FG back on. <span class=plainlinks><span style=color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;>weight loss pills</span>
  7. Rejoice.
  • amazon coupon codes
  • cars on finance
  • cash loans
  • Weight loss tips
  • stomach cancer
  • function of gallbladder
  • alcohol withdrawal death
  • kamagra oral jelly 100mg
  • zappos coupons
  • American eagle credit card
  • amazon coupon
  • Gallbladder Detox
  • Office Depot BSD
  • Office Depot Business
  • kohls coupons code
  • check cashing
  • alcohol withdrawal
  • after gallbladder surgery
  • irritable bowel syndrome
  • Herbal Acne Cure
  • irritable bowel syndrome
  • symptoms of appendicitis
  • alcohol withdrawal symptoms duration
  • gallbladder ultrasound
  • alcohol withdrawal symptoms
  • Office Depot Store Locator
  • coupons for office depot
  • Irritable bowel syndrome symptoms in women
  • Cialis 20
  • kamagra jelly
  • amazon promotional code
  • Cialis 20mg
  • Gall Bladder Symptoms

External links





































    Mayweather vs Ortiz Spotsylvania DUI Lawyer Things to do in Bali Pacquiao vs Marquez Houston New Home Communities Virginia Reckless Driving Mayweather vs Ortiz Tickets Stafford DUI Lawyer Bali attractions Pacquiao vs Marquez Tickets Houston New Homes for Sale Spotsylvania Reckless Driving Mayweather vs Ortiz Live Streaming Houston New Home Builders Fredericksburg DUI Lawyer Pacquiao vs Marquez Live Streaming Cotto vs Margarito Houston new home What to do in Sydney Houston new homes Things to do in Sydney New Homes in Houston custom essay writing </div>
Retrieved from "http://www.mymentalray.com/wiki/index.php/Optimizing_Photon_mapping"
Category: Mr cookbook
Copyright © 2008 My Mental Ray Community. All Rights Reserved.
No part of this website may be reproduced unless for personal use without prior written permission from The My Mental Ray Community.