|
|
In article <Xns94B1DBBA41E8ZenZenPsychocom@203.29.75.35>,
Breton Slivka <Zen### [at] ZenPsychocom> wrote:
> <if value="true">
> <box a="1", b="-1"><pigment><color r="1"/></pigment></box>
> </if>
It'd be a bit more complex than that. Maybe something like:
<if>
<condition>
<equal>
<lhs><varref identifier="foo"></lhs>
<rhs><boolean value="true"></rhs>
</equal>
or maybe:
<compare type=equal lhs="foo" rhs="true">
</condition>
<then>
<box x1="1" y1="1" z1="1" x2="-1" y2="-1" z2="-1">
<plainpigment red="1"/>
</box>
</then>
</if>
This would be equivalent to:
#if(foo = true)
box {< 1, 1, 1>, <-1,-1,-1>
pigment {color red 1}
}
#end
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/
Post a reply to this message
|
|