|
![](/i/fill.gif) |
Thomas de Groot <tDOTdegroot@interdotnlanotherdotnet> wrote:
> #local PoserName = "Beggar_";
> #include concat(PoserName, "POV_geom.inc")
> #local ObjName = object {PoserName}
What does the include file contain, specifically? If it contains a "raw"
object, you could also do this:
#local Obj = object { #include "include_file" };
Works only if the include file can be inserted there and the result is valid
SDL, of course.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Warp" <war### [at] tag povray org> schreef in bericht
news:4aef0add@news.povray.org...
> Thomas de Groot <tDOTdegroot@interdotnlanotherdotnet> wrote:
>> #local PoserName = "Beggar_";
>> #include concat(PoserName, "POV_geom.inc")
>> #local ObjName = object {PoserName}
>
> What does the include file contain, specifically? If it contains a "raw"
> object, you could also do this:
>
> #local Obj = object { #include "include_file" };
>
> Works only if the include file can be inserted there and the result is
> valid
> SDL, of course.
>
In the specific case of a geometry file for a Poser figure generated by
Poseray, this does not work (I tried). The file contains first a collection
of different mesh2's, all assembled into a union at the end, like this:
//Model assembly from the meshes
#declare Beggar_=
union {
object {......}
object {......}
object {......}
....etc
}
Thomas
Post a reply to this message
|
![](/i/fill.gif) |