POV-Ray : Newsgroups : povray.binaries.images : Afghan highlands - problems with mesh2 : Re: Afghan highlands - problems with mesh2 Server Time
2 Nov 2024 12:24:13 EDT (-0400)
  Re: Afghan highlands - problems with mesh2  
From: Alain
Date: 22 Nov 2010 19:44:39
Message: <4ceb0e77@news.povray.org>

> "Alain"<aze### [at] qwertyorg>  schrieb im Newsbeitrag
> news:4ce824bc@news.povray.org...

>
>> Did you try applying the rotations before translating to the final
>> location?
>
> Yes, I did - see here:
>
> #declare Earth_Slice=
> object
> {
>    Earth_Slice_N34E067
>    texture
>    {
>      pigment { color rgb<1, 0.9, 0.4>  }
>      finish { ambient 0.1 diffuse 1 brilliance 0.4 }
>    }
>    rotate<0, -Earth_Rot, 0>
>    translate Earth_Pos
>    // rotate<Earth_Tilt, 0, 0>
> }
>
> ...and the original mesh2 definition does not contain any rotate statement
> at all!
>
> See you in Khyberspace!
>
>

Then, you need to use min_extent() and max_extent() to locate the actual 
bounding box of the mesh and trace to somewhere into that bounding box.



Alain


Post a reply to this message

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