From: Stefanie T. <ste...@me...> - 2005-01-18 21:39:10
|
Hi, I wanted skins in other cameras as well, so I added a RenderOptions object to MonoCam as described in an earlier email. (http://sourceforge.net/mailarchive/message.php?msg_id=10497208) A patch for that against gazebo-0.5.1 is attached. It seems to work fine when the monocam is the only camara in the world. However, I think I found a bug in the skinning code. If there are multiple cameras with skinning turned on, you can only see skins from one of them, and the others show an empty space. I think this might be because the Geom class skin object has only one position/rotation. This is set in the renderSkin method, and I think it's shared by all the camaras. So if it's called multiple times for different cameras, only the last one to call it will work correctly. I have attached a world file that shows the bug. It showed up on an unpatched gazebo-0.5.1 built on my Debian GNU/Linux laptop. Stefanie |