Text archives Help
- From: Thiago Ize <
>
- To:
- Cc:
- Subject: [Manta] Re: RayPacketData::minT
- Date: Tue, 09 Sep 2008 17:20:58 -0600
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.
Thiago
Li-Ta Lo wrote:
Hi,
Is the minT the "t" value of the ray equation that will give us the
hit position if we substitute it into the equation? Is it a proxy for
the "depth" or "z" value in traditional rendering?
Ollie
Archive powered by MHonArc 2.6.16.