POV-Ray : Newsgroups : povray.advanced-users : About mm_per_unit : About mm_per_unit Server Time
3 May 2024 20:17:27 EDT (-0400)
  About mm_per_unit  
From: Alain
Date: 9 Dec 2015 15:09:55
Message: <56688a93$1@news.povray.org>
Presently, you can't use mm_per_unit in a scene.
You can't use it in a #declare as follow:
#declare Dimention = Something * mm_per_unit;
or in a scale statement.

It would be nice if it could be made accessible as a builtin constant 
like pi.

That could be usefull to create objects that can auto scale according to 
the scale of the scene.
The author of the scene would only need to set that value in the 
global_settings, and an imported object could scale itself, adjusting a 
fade_distance or media density accordingly.



Alain


Post a reply to this message

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