|
![](/i/fill.gif) |
=?ISO-8859-1?Q?J=F6rg_=27Yadgar=27_Bleimann?= <yaz### [at] gmx de> wrote:
> The main problem seems to be that
>
> trace(Earth_Slice, Earth_Pos,
> 2*rd*<sin(radians(-Cam_Long))*cos(radians(Cam_Lat)),
> sin(radians(Cam_Lat)), cos(radians(-Cam_Long))*cos(radians(Cam_Lat))>)
>
> which probes for the mesh, always returns zero... why?
Try adding a 4th parameter:
#declare Norm = <0, 0, 0>; //dummy assignment
trace(Earth_Slice, Earth_Pos,
2*rd*<sin(radians(-Cam_Long))*cos(radians(Cam_Lat)),
sin(radians(Cam_Lat)), cos(radians(-Cam_Long))*cos(radians(Cam_Lat))>,
Norm)
If Norm is <0, 0, 0> after the call to trace(), then the trace has missed the
object entirely.
Post a reply to this message
|
![](/i/fill.gif) |