POV-Ray : Newsgroups : povray.tools.poser : Future implementations of Poseray. A wish list : Re: Future implementations of Poseray. A wish list - an additional wish Server Time
27 Apr 2024 14:49:07 EDT (-0400)
  Re: Future implementations of Poseray. A wish list - an additional wish  
From: clipka
Date: 2 Nov 2009 16:44:10
Message: <4aef52aa@news.povray.org>
Thomas de Groot schrieb:
> If, when saving a figure to POV-Ray, one changes the file name, this name 
> should also be changed accordingly at the declared figure name, within the 
> xxx_POV_geom.inc.
> 
> Thus, an original Poser figure *Beggar*, saved under the file name: 
> Beggar2_POV_geom.inc
> 
> should contain:
> 
> //Model assembly from the meshes
> #declare Beggar2_=
> union {
> .....
> }
> 
> instead of:
> 
> //Model assembly from the meshes
> #declare Beggar_=
> union {
> .....
> }
> 
> as happens under the present version of Poseray.

Why? It only complicates matters; for instance, if you want to use 
different include files for different frames of an animation, having the 
same figure carry the same name is of an advantage.

If it is about getting two figures of same base name in a single scene, 
it may be easier, too, as in:

#declare MyFigures = array[10];
#local i = 1;
#while (i <= 10)
   #include concat("Beggar", str(i,0,0), "_POV_geom.inc");
   #declare MyFigures[i-1] = object { Beggar_ }
   #local i = i + 1;
#end


Post a reply to this message

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