Subject: RE: picture files as cell/environment symbols
From: Nicolas Becu (becu@uni-hohenheim.de)
Date: Wed Mar 01 2006 - 16:43:08 CET
Hi Paolo,
You can try this.
It's a test on the FireAutomata model
You need to Fill In the 3 st files attached here
- on st for overwriting the defineVisualState method of the Cell
- on st for loading a new class containing the picture of a fire
- on st for adding some assessors to the SpaceModel class (I didn't
manage to make this add-on without any direct changes in the Cormas kernel ;
perhaps some of you found a nicer way?)
After loading these files, init your model (stepSynchronously is nicer), put
the fire and hopefully it works
Cheers,
Nicolas
_____
From: owner-cormas@cirad.cirad.fr [mailto:owner-cormas@cirad.cirad.fr] On
Behalf Of Paolo Campo
Sent: 01 March 2006 13:15
To: CORMAS
Subject: picture files as cell/environment symbols
Hi everyone,
Has anyone experienced using picture files, such as bmp, jpg, gif, and png,
as symbols for cells in an environment rather than just using the plain
colors? More importantly, is this possible to do? could someone teach me
how? thanks
cheers,
Paolo
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com