POV-Ray : Newsgroups : povray.general : Maximum possible extents for POV-Ray scene coordinates? Server Time
5 Nov 2024 22:20:53 EST (-0500)
  Maximum possible extents for POV-Ray scene coordinates? (Message 1 to 7 of 7)  
From: George Pantazopoulos
Subject: Maximum possible extents for POV-Ray scene coordinates?
Date: 8 Jan 2003 14:35:58
Message: <3e1c7d9e$1@news.povray.org>
Hey all,
    What are the minimum and maximum possible values that any coordinate in
scene space could ever have?

Thanks,
George P


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Maximum possible extents for POV-Ray scene coordinates?
Date: 8 Jan 2003 15:24:50
Message: <3e1c8912@news.povray.org>
In article <3e1c7d9e$1@news.povray.org> , "George Pantazopoulos" 
<the### [at] attbicom*KILLSPAM*> wrote:

>     What are the minimum and maximum possible values that any coordinate in
> scene space could ever have?

Anything POV-Ray will read as float will be accepted, which means the limits
of an IEEE 754 64 bit floating-point number also apply to POV-Ray on all
supported platform.  But assume practical limits to be at 1.000.000 and 1 /
1.000.000 .

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Warp
Subject: Re: Maximum possible extents for POV-Ray scene coordinates?
Date: 8 Jan 2003 15:36:34
Message: <3e1c8bd2@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> Anything POV-Ray will read as float will be accepted, which means the limits
> of an IEEE 754 64 bit floating-point number also apply to POV-Ray on all
> supported platform.  But assume practical limits to be at 1.000.000 and 1 /
> 1.000.000 .

  On the other hand, AFAIK there are some internal limits in POV-Ray.
For example I think that if an object is farther away from the starting
point of a ray than a certain distance, it's not taken into consideration
(a limitation which some people have found and not liked too much, even
though this distance is rather large).

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Maximum possible extents for POV-Ray scene coordinates?
Date: 8 Jan 2003 16:03:06
Message: <3e1c920a@news.povray.org>
In article <3e1c8bd2@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>   On the other hand, AFAIK there are some internal limits in POV-Ray.
> For example I think that if an object is farther away from the starting
> point of a ray than a certain distance, it's not taken into consideration

Hence I mentioned the practical limits.  Nevertheless, i.e. during
transformations there is no problem with any number that fits the IEEE
limits.

> (a limitation which some people have found and not liked too much, even
> though this distance is rather large).

Because it prevents them from modeling a start system using one km units ;-)

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Xplo Eristotle
Subject: Re: Maximum possible extents for POV-Ray scene coordinates?
Date: 8 Jan 2003 16:34:54
Message: <3e1c997e@news.povray.org>
Thorsten Froehlich wrote:
>>(a limitation which some people have found and not liked too much, even
>>though this distance is rather large).
> 
> Because it prevents them from modeling a start system using one km units ;-)

And if one were ONLY modeling a star system, this wouldn't be a problem. 
The problem is when you're trying to model something that has some very 
large-scale features as well as small ones (such as any scene on a 
realistic Earth); even geologic distances are huge compared to a 
building, let alone the petals on a flower.

There are compromises that can be made, of course.. but even so, the 
limitation is always hiding there, like a snake in the grass.

-Xplo


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Maximum possible extents for POV-Ray scene coordinates?
Date: 10 Jan 2003 12:41:01
Message: <3e1f05ad$1@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3e1c8912@news.povray.org...
> But assume practical limits to be at 1.000.000
>

//--run this code:--//

union{
        #declare toothblob=blob{threshold 0.7 cylinder{0,y,1,1 }pigment{rgb
1} finish{ambient 1}}

        object{toothblob scale 1e6 translate <-1e6,1,1.03e7> }
        object{toothblob scale 1e6 translate < 1e6,1,1.04e7> }
}


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Maximum possible extents for POV-Ray scene coordinates?
Date: 10 Jan 2003 14:04:58
Message: <3e1f195a$1@news.povray.org>
In article <3e1f05ad$1@news.povray.org> , "Greg M. Johnson" 
<gregj:-)565### [at] aolcom> wrote:

> //--run this code:--//

Why would I?

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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