<div class="gmail_quote">On Fri, Apr 2, 2010 at 2:16 AM, Osiloke Emoekpere <span dir="ltr"><<a href="mailto:osiloke_e@skuuled.com">osiloke_e@skuuled.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Good Day Everyone,<div>I have been using ROS for a couple of weeks now and have grown to like</div><div>the  RVIZ stack. Although, RVIZ does not currently support dynamic texture loading</div><div>which would be beneficial if an individual wanted to to re-project a camera image</div>


<div>into the 3d space.</div></blockquote><div><br>There are a few examples of dynamic texture loading in rviz.  For example, the ROSImageTexture (src/rviz/image/ros_image_texture.h/cpp) translates sensor_msgs/Image messages into Ogre textures.  Note that I use an old API for it currently, the new one is documented in the Ogre manual: <a href="http://www.ogre3d.org/docs/manual/manual_64.html#SEC293">http://www.ogre3d.org/docs/manual/manual_64.html#SEC293</a><br>

 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br></div><div>I tried modifying RVIZ to do that by implementing image retrieval for markers.</div>

<div>as follows</div><div>When a marker is received and is of type VISUALIZATIONMSGS:: ...IMPLANE</div>
<div>--->create the marker as usual in rviz.</div><div>---->pass a message to an image grabber thread which pulls the image for that marker</div><div>       from another node via a service.</div><div>------->When image is ready, find marker corresponding to that image and create a texture out of that image</div>


<div>-------->Apply that texture to the marker.</div></blockquote><div><br>Without some code it's impossible to know what's going wrong.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><br></div><div>the last step is where i get problems. In loading the texture and applying it to the marker</div><div>I followed ogre's tutorials on creating a dynamic texture but that didnt work.</div>
<div>SO IS THERE ANYONE WHO KNOWS HOW TO CREATE DYNAMIC TEXTURES IN OGRE<br>MAYBE A LINK<br>I WILL BE VERY GRATEFUL</div></blockquote><div><br>Please don't shout. <br><br>Josh<br></div></div>