Text archives Help
- From: Li-Ta Lo <
>
- To: Thiago Ize <
>
- Cc:
- Subject: [Manta] Re: RayPacketData::minT
- Date: Tue, 09 Sep 2008 17:47:02 -0600
- Organization: Los Alamos National Lab
On Tue, 2008-09-09 at 17:20 -0600, Thiago Ize wrote:
>
Looking at Raypacket.cc we see:
>
>
void RayPacket::actualComputeHitPositions()
>
{
>
<snip>
>
for(int i = rayBegin; i < rayEnd; i++){
>
for(int j=0;j<3;j++)
>
data->hitPosition[j][i] = data->origin[j][i] +
>
data->direction[j][i] * data->minT[i];
>
}
>
<snip>
>
}
>
>
So, minT is what goes in the ray equation.
Is data->direction normalized? Can I compare minT between rays with
different directions and still say T1 > T2 so point 1 is further to
the eye than point 2?
Ollie
Archive powered by MHonArc 2.6.16.