POV-Ray : Newsgroups : povray.advanced-users : Master units variable? Server Time
31 Oct 2024 23:30:32 EDT (-0400)
  Master units variable? (Message 1 to 4 of 4)  
From: SharkD
Subject: Master units variable?
Date: 10 Jun 2010 23:36:51
Message: <4c11af53$1@news.povray.org>
IMO, the sample scenes and include files that come with Povray should be 
refactored to use the same basic units such that an interior statement 
in glass.inc works properly in the sample radiosity.pov file.

In fact it might be good to have a system variable that works like 
#version to control a scene's units. That way if two people each create 
a scene then the two scenes will be "compatible" with each other as long 
as people make use of the variable.

Any thoughts?


-- 
http://isometricland.com


Post a reply to this message

From: Alain
Subject: Re: Master units variable?
Date: 11 Jun 2010 12:43:53
Message: <4c1267c9@news.povray.org>
Le 2010-06-10 23:36, SharkD a écrit :
> IMO, the sample scenes and include files that come with Povray should be
> refactored to use the same basic units such that an interior statement
> in glass.inc works properly in the sample radiosity.pov file.
>
> In fact it might be good to have a system variable that works like
> #version to control a scene's units. That way if two people each create
> a scene then the two scenes will be "compatible" with each other as long
> as people make use of the variable.
>
> Any thoughts?
>
>

You can always override any fade_distance to adjust it to your needs. 
The values you find for the interiors from glass.inc are only starting 
points.
In any given scene, you can need or want otherwise identical materials 
to have different fade_distance.
The same hold true for your medias and the fading light_sources.

The only place where it realy make sense, is for the SSLT feature, and 
that one already have such a variable.



Alain


Post a reply to this message

From: SharkD
Subject: Re: Master units variable?
Date: 14 Jun 2010 16:25:37
Message: <4c169041$1@news.povray.org>
On 6/11/2010 12:43 PM, Alain wrote:
> You can always override any fade_distance to adjust it to your needs.
> The values you find for the interiors from glass.inc are only starting
> points.

Yeah, that's the problem I'd like to see solved.

-- 
http://isometricland.com


Post a reply to this message

From: Alain
Subject: Re: Master units variable?
Date: 14 Jun 2010 18:04:41
Message: <4c16a779@news.povray.org>
Le 2010-06-14 16:25, SharkD a écrit :
> On 6/11/2010 12:43 PM, Alain wrote:
>> You can always override any fade_distance to adjust it to your needs.
>> The values you find for the interiors from glass.inc are only starting
>> points.
>
> Yeah, that's the problem I'd like to see solved.
>

The real problem is that, in any scene, you may need different 
fade_distances for various objects. One object may need fade_distance 
0.1, while another one needs fade_distance 10.

You can need a low density media and a very high density one elsewhere.

Two fading light_source in the same scene can need very different 
fade_distance as well.

All this precludes a global scaling.


Alain


Post a reply to this message

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