On Thursday 20 May 2010 17:00:55 Michele Fiorentino wrote:
> Dear osg-users,
> 
> 
> 
> I am pretty new to this platform. I would like to know how to use the .logo
> plugin to show a semi transparent logo of my lab in a corner
> programmatically (using command line arguments could be useful too).
> 
> As far as I have seen there is no documentation about.
> 
> 

Hi Michele,

there's an easy way to do this with osgviewer: Just load a logo AND your 
desired model by passing both on the command line

$ osgviewer lab.logo cow.osg

The viewer will happily render the logo on top of your model. Internally it 
uses osgDB::readNodeFiles() for this.

Just make sure your logo file references an image (e.g. png file) with 
transparent parts.

HTH,

Magnus


> 
> Thanks,
> 
> michele
> 
> 
> 
> ---------------------------------------------------------------------------
> - --------
> 
> Michele Fiorentino, DdR, Politecnico di Bari
> 
> Dipartimento di Ingegneria Meccanica e Gestionale
> 
> http://www-dimeg.poliba.it/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to