I've ported the OBJ loader from the MIARN code to Gazebo, no big deal. 
I've also noticed that 3ds skin files are not using display list because 
(according to the commentary) the IDs may clash. I've been playing with it 
and I have no clashes so far. As we use glGenLists, the IDs won't clash IMHO.

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.

 Before Gazebo would load the skins multiple times. 

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 code.

It is wothwhile? 
Meanwhile, I'll continue with the XML models issue as soon as you say it is 
OK.

--
Jordi Polo


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to