POV-Ray : Newsgroups : povray.programming : IPoint : IPoint Server Time
11 Oct 2024 14:00:24 EDT (-0400)
  IPoint  
From: 225012156
Date: 7 Jun 2023 04:00:00
Message: <web.6480385a29d3d13a6cf6dae3fc1cf70c@news.povray.org>
I tried to output the IPoint of each ray, but I found something was not right
I built the following small mesh2Object
camera {
orthographic
location <20.0, 54.949548, 0.0>
look_at <0.0, 0.0, 0.0>
right 100*x
up 100*y
}

light_source {
<20.0, 54.949548, 0.0>
color rgb<1, 1, 1>
parallel
point_at <0.0, 0.0, 0.0>
}


#declare base_02 = mesh2 {
vertex_vectors {
3
<2.952163, 3.632734, -10.591118>,
<1.556791, 3.632964, -10.593109>,
<2.93827, 3.516272, -10.833504>,
}
face_indices {
1
<0,1, 2>,
}
}
union {
object {base_02
texture {
pigment { color rgb<1.0, 1.0, 1.0> }
finish {reflection {0.5} ambient 0 diffuse 0.015 specular 0.7 roughness 0.00085}
}
}
translate <0, 0, 3> //
rotate <0, 0, 0> //
}
Why is its IPoint
1.976229 3.602266-7.656250
2.419499 3.601889-7.656250
2.862769 3.601512-7.656250
I mean, obviously the z coordinate of the mesh2 Object is around -10, but how
does it intersect at -7.656250?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.