On 5/13/06, Jordi <mumismo@...> wrote:
> I've also moved everything to a new class RenderSkinManager and made
> it "global", and it keeps tracks of every file loaded in the past. There =
will
> be only one per world so if multiple geoms wants the same skin file only =
one
> display list is needed for all of them.
That's good. Send me a patch.
> I'm also thinking in moving all the rendering code (of the geoms) to that
> class, so there will be RenderPlane, RenderBox, RenderWheel, etc. methods=
,
> along with the skins methods.
> This allow us that any geometry can have any visual appearance (so wheel
> geometry won't be needed anymore)
>
> It will be also encapsulate the visualcode from the physical emulation co=
de.
>
> It is wothwhile?
The rendering should be left in the geoms. Each geom defines not only
how a body looks, but also the collision parameters. Think about it as
a body can use any geom, where the body defines the dynamic
properties.
I am currently working on two other side projects and my research.
Therefore I have precious few moments to work on Gazebo. I'll get
around to looking at the XML stuff eventually.
-nate
|