Re: [osg-users] osgswig binary release?

2008-11-15 Thread Phan, Linh H
That fixes it. Thanks so much Luigi! Linh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luigi Calori Sent: Saturday, November 15, 2008 8:18 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgswig binary release? Not sure, but I have the osg in th

Re: [osg-users] triangles count

2008-11-15 Thread Jean-Sébastien Guay
Hello sdb? (please sign your posts with a real human name, this goes a long way in making the mailing list discussions more friendly) Thanks Wang, I think that the solution for me is TriangleFunctor. Do you known if there is some example that I can found on internet? As Wang noted, see osgUti

Re: [osg-users] triangles count

2008-11-15 Thread Wang Rui
Hi sdb, Why not read the source code of osgUtil::SmoothingVisitor? It shows how to declare a struct derived from the TriangleFunctor and accpet it to a geometry object. You may have to use Geode::getDrawable() to collect all the geometries first. Wang Rui 2008/11/16 <[EMAIL PROTECTED]> > > Thank

[osg-users] CompositeViewer with one Window

2008-11-15 Thread Tommy Persson
I would like to have one Window (with possibility to use more) and be able to switch between different "views". One shoud be a trackball manipulator. And there is also a set of NodeTrackerManipulators wich follows different helicopters. I tried to do this with just Viewer but had trouble to remem

[osg-users] Bug with argument parser?

2008-11-15 Thread alessandro terenzi
Using osg2.2.0 I noticed that reading parameters for my application was not successful because some character are not read as expected. For instance, if in my code there are the following instructions: osg::ArgumentParser arguments(&argc, argv); std::string model_file = ""; while

Re: [osg-users] PNG and Collada

2008-11-15 Thread alessandro terenzi
I tried to set TRANSPARENT_BIN rendering hint but this didn't solve the problem. But I noticed another difference instead. First I tried this: - created a box in 3dsmax with a png texture applied in the diffuse slot - exported using osgexp (keeping the original texture file, ie png) - osgconv to

Re: [osg-users] triangles count

2008-11-15 Thread smailbox2005-mac
Thanks Wang, I think that the solution for me is TriangleFunctor. Do you known if there is some example that I can found on internet? I don't know very well c++ and this is the first time that I programming for osg (for a immediate problem, this is not my working area), so is not easy for me to

Re: [osg-users] osgswig binary release?

2008-11-15 Thread Luigi Calori
Phan, Linh H ha scritto: Hi Luigi, thanks for your osg.zip! However, whenever I run pickosg.py : [EMAIL PROTECTED] ~...examples/python]$ ./pickosg.py Warning: Could not find plugin to read objects from file "cow.osg". It seems that this line: loadedModel = osgDB.readNodeFile("cow.osg") al

Re: [osg-users] osgswig binary release?

2008-11-15 Thread Phan, Linh H
Hi Gerwin, osgviewer cow.osg works for me. I did have OSG_FILE_PATH set and I also tried to used absolute path to the cow.osg but it for some reason it just couldn't find the mingw_osgdb_osg.dll and mingw_osgdb_rgb.dll files I think. The osgviewer could find those files ok (I could see it in g

Re: [osg-users] triangles count

2008-11-15 Thread Wang Rui
Hi sdb, If you mean count how many triangles in a drawable, just get all the primitive sets of the geometry and try to analyse them. Another way is to use a TriangleFunctor. You may have a look at osgUtil::SmoothingVisitor. Wang Rui 2008/11/15 <[EMAIL PROTECTED]> > Hi, > I need to create a comm

[osg-users] libvncserver library

2008-11-15 Thread santosh
Hi all I am trying to build osg vnc plugin but I am getting problem in compiling libvncserver on windows. Does any one have windows library for libvncserver Thanks in advance -- Santosh Gaikwad MTS Design Darshan Solutions Limited #+91 9953099053 _

Re: [osg-users] PNG and Collada

2008-11-15 Thread Smeenk, R.J.M. (Roland)
I am currently refactoring the Collada plugin and ran into this problem last week. I solved it, though not in a really satisfactory way. Hopefully I will have the refactored plugin available for submission coming week. kind regards, Roland Smeenk From

[osg-users] triangles count

2008-11-15 Thread smailbox2005-mac
Hi, I need to create a command line utils that open a osg file and write the number of triangles of the geometry. There are a simple solution? Thanks sdb Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport: http://www.flickr.com/groups/io

Re: [osg-users] PNG and Collada

2008-11-15 Thread Roger James
Alessandro, I put the GoogleMode flag into the dae writer in December 2007 after examing the dae files ouput  by Sketchup at that time. Here is the comment from the SVN log. 8. User can supply an experimental GoogleMode option on output. The plugin will try to emulate the way Sketchup specifi

Re: [osg-users] PNG and Collada

2008-11-15 Thread Jean-Sébastien Guay
Hi Alessandro, If you change this: rendering_hint DEFAULT_BIN to this: rendering_hint TRANSPARENT_BIN and then load the file in osgviewer, does that work? The two things you need to get proper transparency is enabling GL_BLEND and giving the TRANSPARENT_BIN rendering hint

Re: [osg-users] build osgGis on osx (was build osgdem on osx )

2008-11-15 Thread Massimo Di Stefano
Hi tring to build osgGis (my targhet) i follow the suggestion to have a more recent OSG version i checked the svn trunk version 2.7.x first i tried to build using the existent xcode project, but give me errors (i've no clue on how to generate xcode.project using cmake) so i tried the cmake

Re: [osg-users] osgswig binary release?

2008-11-15 Thread Gerwin de Haan
Linh, Make sure your OSG_FILE_PATH environment variable is set correctly to a location where "cow.osg" can be found (e.g. a directory where you extracted the OpenSceneGraph-Data file). You must be able to run the regular osgviewer with this file as well ("osgviewer cow.osg"). Gerwin On Fri, Nov 14

[osg-users] PNG and Collada

2008-11-15 Thread alessandro terenzi
I'm experiencing some problem with collada models and transparency texture maps. I saw that in May someone had the same problem but finally I couldn't find a solution. I tried with osg2.2.0 and 2.6.0 and it looks like that transparency doesn't work with collada models and png texture maps. I check