Screenshot?

Do you have working 3D graphics drivers? 



Sent from a mobile gadget


On Sat, Apr 27, 2013 at 10:02 AM, giorgik <ggiorgio63@yahoo.it> wrote:

The version of Stage is 4.1.1.
In the method BlockGroup::LoadBitmap( ):
[code]
void BlockGroup::LoadBitmap( const std::string& bitmapfile, Worldfile* wf )
{
PRINT_DEBUG1( "attempting to load bitmap \"%s\n", bitmapfile );

std::string full;

if( bitmapfile[0] == '/' )
full = bitmapfile;
else
{
char* workaround_const = strdup(wf->filename.c_str());
full = std::string(dirname(workaround_const)) + "/" + bitmapfile;
free( workaround_const );
}

char buf[512];
snprintf( buf, 512, "[Image \"%s\"", bitmapfile.c_str() );
fputs( buf, stdout );
fflush( stdout );

PRINT_DEBUG1( "attempting to load image %s", full );

Color col( 1.0, 0.0, 1.0, 1.0 );

std::vector<std::vector&lt;point_t> > polys;

if( polys_from_image_file( full,
polys ) )
{
PRINT_ERR1( "failed to load polys from image file \"%s\"",
full.c_str() );
return;
}

FOR_EACH( it, polys )
AppendBlock( Block( this,
*it,
Bounds(0,1) ));

CalcSize();

fputs( "]", stdout );
}
[/code]
calls polys_from_image_file( ) that should create the space occupied by the
figure cave.png (if use simple.world). This piece of code does not appear in
2D/3D graphics window (perspective off / on).
It also does not display the partition walls of the room cave.png ()
displaying only the outer walls of the room cave.png. What function creates
the interior walls of the room cave.png ?



--
View this message in context: http://player-stage-gazebo.10965.n7.nabble.com/Stage-and-function-creates-bitmap-tp18744p18750.html
Sent from the playerstage-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users