Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: Re: Re: Re: RayPacketData::minT


Chronological Thread 
  • From: "James Bigler" < >
  • Cc:
  • Subject: [Manta] Re: Re: Re: Re: Re: RayPacketData::minT
  • Date: Wed, 10 Sep 2008 09:15:06 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Fp+CZ6exhgJbZvDCuEvYUu1Y2QLBMCzcPD50xxXucuGLqBgZpdamo4lUR6gFBk3Av+ wlSWK+ybwJKXxePWuy5r4E6P+KjZReThfRI4Px+zXuhr7eWXGpgYaozp78U/q/mEzTbs MGHONIgl0ATjyvCDoyq77ddDuMribGNHu7t68=

PixelSamplers create samples on the image plane which are then used by
the Camera class to generate rays.

PixelSampler::renderFragment()->Renderer::traceEyeRays()->Camera::makeRays()

James

On Wed, Sep 10, 2008 at 8:36 AM, Li-Ta Lo 
< >
 wrote:
> On Wed, 2008-09-10 at 07:06 -0600, James Bigler wrote:
>> What Abe is mentioning, is that the minT value is based on the length
>> of the direction vector.  When someone requests that the direction
>> vector be normalized, then minT is rescaled to keep it consistent.  In
>> addition this means that minT could have different "units" based on
>> the length of the direction vector.
>>
>> If you want to compare minT with different rays, you should normalize
>> the ray directions with a call to RayPacket::normalizeDirections().
>
> Thanks a lot.
>
> Where is an eye ray generated? In PixelSampler?
>
> Ollie
>
>



Archive powered by MHonArc 2.6.16.

Top of page