|
![](/i/fill.gif) |
On 29.06.2013 00:09, Christian Froeschlin wrote:
>
>> But whatever I try, all I get is an empty black scene... I tried
>> tweaking the distance of the sun (Earth's center is at the origin),
>> the illumination direction, correctly applying rotations of mesh2,
>> camera position and camera direction, but no effect at all.
>
> start small ... you seem to assume that the curved mesh itself
> is correct which is a very big assumption for a first test with
> such a complicated definition. Make a test scene where you render
> some spheres at calculated vertex positions for a small subset of
> coordinates to get an overview of your geometry.
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?
See you in Khyberspace!
Yadgar
Post a reply to this message
|
![](/i/fill.gif) |