[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
multiple resolutions to single raster
From: |
gepr |
Subject: |
multiple resolutions to single raster |
Date: |
Thu, 15 Aug 2002 17:25:46 -0700 |
Greetings Garrulous Gomphids,
Has anyone solved the multiple spaces with different resolutions
displaying to the same raster problem? I saw some dialogue on
the list circa 1998, but no solution popped up.
My current ideas consist of:
o Subclassing Raster and adding a Map to keep track of the resolutions
for all spaces posting to it, calculating the finest resolution and
making the sizes of the various 2d diagrams change size according
to the ratio between the finest resolution and the resolution of the
space for the object being drawn, (alternatively, I could keep track
of the various resolutions in, say, the ModelSwarm and add a "resolution"
variable to the space object or the X2DDisplay helper objects), and
o Putting a rather complicated "drawSelf" algorithm inside the agent
doing the drawing that calculates the geometry for its rendering (here
the actual space being rendered would be the finest resolution and
objects would cover multiple grid points).
The latter seems less maintainable. The former would be an interesting
addition to either the space library or the gui library.
Thanks.
glen
--
glen e. p. ropella =><= Hail Eris!
H: 831.335.4950 http://www.ropella.net/~gepr
M: 831.247.7901
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- multiple resolutions to single raster,
gepr <=