|
![](/i/fill.gif) |
High!
On 06/14/2010 06:32 PM, Alain wrote:
> You can still use the isosurface, in a much smaller containing object.
No, this does not work - if I try to constrain the isosurface to a
sphere rotated to the chosen camera position (in geographical
coordinates), such as:
isosurface
{
function { Terrain_Function(x, y, z) }
contained_by
{
sphere
{
<0, 15, 0>/5178, <20, 25, 20>/5178
rotate <0, 0, 90-lat>
rotate <0, -long+90, 0>
translate <sin(radians(-long))*cos(radians(lat)), sin(radians(lat)),
cos(radians(-long))*cos(radians(lat))>
}
}
max_gradient 5
accuracy 0.0001
double_illuminate
texture { T_Ghurghusht }
scale 5178
}
// end of code
I get error messages like "rotate found instead"... the container sphere
may not even scaled non-uniformly!
See you in Khyberspace!
Yadgar
Post a reply to this message
|
![](/i/fill.gif) |