Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Bug in Dielectric constructor


Chronological Thread 
  • From: Boonthanome Nouanesengsy < >
  • To:
  • Cc: Ollie < >
  • Subject: [Manta] Bug in Dielectric constructor
  • Date: Wed, 23 Jul 2008 11:26:51 -0600

hi,
i've found a bug (with help from Carson) in one of the constructors for the Dielectric material. the localCutoffScale variable does not get initialized in the constructor that takes textures. line 52 of Dielectric.cc need to be changed from

  : n(n), nt(nt), sigma_a(sigma_a), doSchlick(false)

to

: n(n), nt(nt), sigma_a(sigma_a), doSchlick(false), localCutoffScale(cutoff)

thanks,
Boonth


  • [Manta] Bug in Dielectric constructor, Boonthanome Nouanesengsy, 07/23/2008

Archive powered by MHonArc 2.6.16.

Top of page