Text archives Help
- From: Li-Ta Lo <
>
- To:
- Subject: [Manta] Re: Re: Re: Re: Re: Re: RayPacketData::minT
- Date: Wed, 10 Sep 2008 10:03:32 -0600
- Organization: Los Alamos National Lab
On Wed, 2008-09-10 at 09:15 -0600, James Bigler wrote:
>
PixelSamplers create samples on the image plane which are then used by
>
the Camera class to generate rays.
>
>
PixelSampler::renderFragment()->Renderer::traceEyeRays()->Camera::makeRays()
>
Cool. So the only thing I need to do is
Factory->createCamera("pinhole(-normalizeRays)");
and every eye ray is created normalized?
Ollie
>
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.