Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] double vs single precision image


Chronological Thread 
  • From: James Bigler <bigler@cs.utah.edu>
  • To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: [MANTA] double vs single precision image
  • Date: Mon, 17 Oct 2005 16:51:38 -0600

Here's an image you can generate with the following camera:

bin/manta -np 4 -camera "pinhole( -eye 747.19 747.19 499.226 -lookat 1.90735e-06 1.90735e-06 1.1 -up 0 0 1 -fov 0.161668)"

I believe the problem shows up when the eye is really far away from the center of sphere:

    Vector OC=center-e.ray.origin();
    Real tca=Dot(OC, e.ray.direction());
    Real l2oc=OC.length2();
    Real rad2=radius*radius;
    if(l2oc <= rad2){

I wonder if there would be an intersection that wouldn't be degenerate.

James

JPEG image



  • [MANTA] double vs single precision image, James Bigler, 10/17/2005

Archive powered by MHonArc 2.6.16.

Top of page