POV-Ray : Newsgroups : povray.general : Scale problems : Re: Scale problems Server Time
5 Aug 2024 08:20:56 EDT (-0400)
  Re: Scale problems  
From: Anthony D  Baye
Date: 17 Oct 2002 21:17:59
Message: <3DAF6163.85B3124C@Rapidnet.com>
"Anthony D. Baye" wrote:

> Can anybody tell me if there is a theoretical limit to the size/distance
> calculations in pov?
>
> I'm trying to do a scene inspired by the videogame Halo, but  my
> gas-giant is the size of Jupiter (1 unit = 1 inch.) yet it copletely
> disappears from less than 170 miles out.  Unless i'm much mistaken, an
> object that size should be vizible from several thousand miles distant.
>
> /*
>  Persistence of Vision Ray Tracer Scene Description File
>  File: RingWorld.pov
>  Vers: 3.5
>  Desc:
>  Date: 10/17/02
>  Auth: Anthony D. Baye
> */
>
> #include "colors.inc"
> #include "textures.inc"
>
> #declare ft = 12 ;
> #declare mi = 5280*ft ;
>
> camera {
>  location  <0.0, 0.0, -36405.0*mi>
>  look_at   <0.0, 0.0, 0.0>
>  }
>
> light_source { <0.0, 0.0, -36405.0*mi> color rgb 1.0 }
>
> #declare Metal1 =
> finish {
>  roughness 0.007
>     metallic
>     brilliance 0.5
>     ambient 0.1
>     diffuse 0.4375
>     brilliance 2
>     reflection { 0.25 metallic fresnel on }
>     phong 0.5
>     phong_size 175
>     conserve_energy
>  }
>
> object {
>  union {
>   sphere { 0.0, 36250.0*mi }
> /*  difference {
>    torus { 4000.0*mi, 1000.0*mi  }
> //   torus { 4000.0*mi, 997.0*mi texture { T_Gold_5A } }
>    cylinder { <0.0, -1000.00390625*mi, 0.0> <0.0, 1000.00390625*mi, 0.0>
> 4994.98731061*mi }
>     pigment { Red*0.4375 }
>     finish { Metal1 }
>      rotate <72, 18.0, 0.0>
>      translate <0.0, 0.0, -200000.0*mi>
> //     rotate <0.0, 18.0, -6.0>
>    }*/
>   }
>   pigment { White*0.625 }
>  }

I would like to do a flyby to come in through the athmosphere of the ring
world in orbit, thus the reason for my large scale, but if there is a
problem with the scale calulations, I can try deviding by tyhe scale
definitions instead of multiplying by them.  Thus the scene is smaller.


A.D.B


Post a reply to this message

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