Hello, you can use the standard mesh unit_box, just insert <mesh>unit_box</mesh> somewhere in your visual section. Maybe there's something else, but I can't look it up currently. Hope it helps anyway.
Benjamin Kloster -------- Original-Nachricht -------- > Datum: Wed, 16 Apr 2008 05:09:12 -0700 (PDT) > Von: "Kamil Muszyński" <[EMAIL PROTECTED]> > An: [email protected] > Betreff: [PlayerStage-Gazebo] Problems with default mesh from Model Tutorial > > Hello, > > I've just started with gazebo and got stuck at the begining: i'm trying to > create simple box following the Model Creation Tutorial (gazebo-svn > manual). > This is the model I'm using: > > <model:physical name="box_model"> > <xyz>0 1.5 0.5</xyz> > <rpy>0.0 0.0 0.0</rpy> > <canonicalBody>box1_body</canonicalBody> > <static>false</static> > > <body:box name="box_body"> > <xyz>0.0 0.0 0.0</xyz> > <rpy>0.0 0.0 0.0</rpy> > > <geom:box name="box_geom"> > <xyz>0.0 0.0 0.0</xyz> > <rpy>0.0 0.0 0.0</rpy> > <mesh>default</mesh> > <size>1 1 1</size> > <density>1.0</density> > <material>Gazebo/BumpyMetal</material> > </geom:box> > </body:box> > </model:physical> > > and nothing happens (no box is created). After looking through examples > I've > changed section describing box_geom to > > <geom:box name="box_geom"> > <visual> > <xyz>0.0 0.0 0.0</xyz> > <rpy>0.0 0.0 0.0</rpy> > <mesh>default</mesh> > <size>1 1 1</size> > <density>1.0</density> > <material>Gazebo/BumpyMetal</material> > </visual> > </geom:box> > </body:box> > > (i've added <visual> section - not in the manual - where can I read about > it?) > > and I get this error: > > server/rendering/OgreVisual.cc:95 : Exception: Unable to create a mesh > from > default > > Can somebody explain me what am I doing wrong? > Do I have to create my own mesh just to get a simple box? > > I'm using Ubuntu, latest svn verion of gazebo and ogre 1.4.5. > > Regards, > Kamil > > -- > View this message in context: > http://www.nabble.com/Problems-with-default-mesh-from-Model-Tutorial-tp16721256p16721256.html > Sent from the playerstage-gazebo mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
