Manta Interactive Ray Tracer Development Mailing List

Text archives Help


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


Chronological Thread 
  • From: "James Bigler" < >
  • Cc:
  • Subject: [Manta] Re: Re: Re: Re: Re: Re: Re: RayPacketData::minT
  • Date: Wed, 10 Sep 2008 10:08:24 -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=iMVNNRd5uYGtroEcnUpq7farE7U9MCeNwb6bqfKSULF3wHLd/ZgLqvKemof0szhljP GcHrRk9CetVuwouYriW2yMoK0dR+GolShu0rPOanlwVxuBFT51w7R8B3D3Uw4Wy9Y4j7 wd4RgfWak11D1fpzl+VbhmFfPAba4PjTsbLAo=

Yup.

On Wed, Sep 10, 2008 at 10:03 AM, Li-Ta Lo 
< >
 wrote:
> 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.

Top of page