[Openmcl-devel] Simple Agent-based Engine 0.2

Raffael Cavallaro raffaelcavallaro at mac.com
Sat May 30 06:48:29 PDT 2009


On May 29, 2009, at 9:24 PM, Alexander Repenning wrote:

> XMLisp 0.2 "A rich media programming environment for 3D/ 2D game and  
> simulation applications"
>
> still in an early stage but many bugfixes and
> - scene graph agents
> - 3D selection, hovering/picking
> - more primitive agent classes including groups
> - speech support
> - source


Alex,
hypothetically, if one were not completely in love with XML syntax,  
where would one start to do what you're doing in the examples, but  
using an s-expression syntax?

for example, being able accomplish what  we get with this:

<chatty-window track-mouse="true" title="Objects" margin="0">
   <agent-3d-view name="scene">
     <cube texture="crate.png"/>
     <sphere x="2.0"/>
     <sphere x="3.0" texture="earth.png"/>
     <cube size="3.0" z="-3.5" texture="crate.png"/>
     <cube x="5" roll="45.0"/>
     <sky-dome pitch="90"/>
   </agent-3d-view>
</chatty-window>

with something like this:

(lui-window 'chatty-window
             :track-mouse t
             :title "Objects"
             :margin 0
             :subviews
             ((lui-view 'agent-3d-view
                        :name "scene"
                        :agents
                        (agent 'cube :texture "crate.png")
                        (agent 'sphere :x 2.0)
                        (agent 'sphere :x 3.0 :texture "earth.png")
                        (agent 'cube :size 3.0 :z -3.5 :texture  
"crate.png")
                        (agent 'sky-dome :pitch 90))))

warmest regards,

Ralph


Raffael Cavallaro
raffaelcavallaro at me.com








More information about the Openmcl-devel mailing list