[osg-users] freetype problem

2008-08-11 Thread forest37
hi all I build osg-2.6.0 and the latest 3rdparty ,when i run the example osgtext,the program could not find plugin to read objects from file. When i debugged the program,i found that the function LoadLibrary() failed to load freetype.dll. but i can find the dll file follow the file

Re: [osg-users] freetype problem

2008-08-11 Thread Peter Wraae Marino
Hi Forest, Have you setup your environment variables for osg? regards, Peter http://osghelp.com 2008/8/11 forest37 [EMAIL PROTECTED] hi all I build osg-2.6.0 and the latest 3rdparty ,when i run the example osgtext,the program could not find plugin to read objects from file. When

[osg-users] 回复: freetype problem

2008-08-11 Thread YangXiao
Hi forest37 : If you download 3dpart is vc2005 sp1 ,you must compile your osg2.6 source and 3dpart lib by vc2005 sp1. forest37 [EMAIL PROTECTED] 写道: hi all I build osg-2.6.0 and the latest 3rdparty ,when i run the example osgtext,the program could not find plugin to read

Re: [osg-users] Offline rendering

2008-08-11 Thread Paul Melis
Sam wrote: Hello, some days ago I read some topics about offline rendering here but it was not important then. Now I need it and cant find it (Some topics were out of date using osg::Produer) Anyway, I have a seperated logic where I need to render some scene but never show it, since

Re: [osg-users] Offline rendering

2008-08-11 Thread Adrian Egli OpenSceneGraph (3D)
Hi Paul, would it be alos possible to render really offscreen, without any osgViewer instance (Window) /adrian 2008/8/11 Paul Melis [EMAIL PROTECTED] Sam wrote: Hello, some days ago I read some topics about offline rendering here but it was not important then. Now I need it and cant find

Re: [osg-users] 2 spotlights with the spotlight example ?

2008-08-11 Thread Paul Melis
Hi Josselin, Did you ever figure this one out? Paul [EMAIL PROTECTED] wrote: Hello, I'm new in OSG. I would like to have 2 spotlights in the spotlight example. I created a second spotlight, a second texgen and a texgennode associated, I enabled my second light, assigned

Re: [osg-users] Offline rendering

2008-08-11 Thread Paul Melis
Hi Adrian, Adrian Egli OpenSceneGraph (3D) wrote: would it be alos possible to render really offscreen, without any osgViewer instance (Window) You can tell the osgViewer::Viewer instance not to show a window by changing the values of a osg::GraphicsContext::Traits. If you set

[osg-users] DAE to OSG/IVE conversion problem when vertex are shared (OSG 2.4)

2008-08-11 Thread Fabien Dachicourt
Hi all, Using osgconv on some DAE models to procude IVE files sometimes really increase the vertex count (and file size) I'm not talking about texture problem, but about geometry and vertex. It seems the problem appear when vertex arrays are shared in the DAE model (in a mesh entity) between

[osg-users] Seeking help in understanding HEADLIGHT light...

2008-08-11 Thread neil.hughes
Hi All, I'm trying to adjust the light that is created as part of the HEADLIGHT option, as it appears to be washing out an another light that I have in my scene. Essentially I'd like to take its effect down so that it only comes into play when I'm close to an object. I've tried adjusting the

[osg-users] OpenSceneGraph in Maya view port

2008-08-11 Thread Nicholas Yue
Hi, Has anyone successfully call OpenSceneGraph API from within a Maya (Autodesk) viewport OpenGL access mechanism e.g. MViewportRenderer? Was there any multi-threading issues to be aware of? Regards ___ osg-users mailing list

Re: [osg-users] 2 spotlights with the spotlight example ?

2008-08-11 Thread Paul Melis
If I comment out the texture2-setImage() call in create2SpotLightDecoratorState() I do actually see something of a moving two-colored spotlight. Paul Paul Melis wrote: Hi Josselin, Did you ever figure this one out? Paul [EMAIL PROTECTED] wrote: Hello, I'm new in OSG. I would like to

Re: [osg-users] X model files

2008-08-11 Thread Paul Melis
Jean-Sébastien Guay wrote: Hi Franclin, But it doesn't work for X files, although the same program works very well if I want to create an OBJ file. So I suspect it has something to do with X files. Some plugins only implement reading files in their respective format, not writing them. I

Re: [osg-users] I have a question about osgParticle::Particle.

2008-08-11 Thread Paul Melis
GMD GammerMaxyandex.ru wrote: Hi, I have a question about osgParticle::Particle. I get code from example osgParticle. It works, but there is one problem: after adding particles into scene group (root) I lost ability to change some properties - methods setLifeTime, setSizeRange, setAlphaRange,

[osg-users] Model orientation after using 'osgconv'

2008-08-11 Thread Martin Spott
Hi, the actual reason why I'm asking is very specific - but in fact the intention is quite 'generic'. FlightGear typically uses the AC3D format for drawing aircraft models and scenery buildings. This works quite nicely - this is one of our usual eye-catchers:

Re: [osg-users] Model orientation after using 'osgconv'

2008-08-11 Thread Paul Melis
Martin Spott wrote: Hi, the actual reason why I'm asking is very specific - but in fact the intention is quite 'generic'. FlightGear typically uses the AC3D format for drawing aircraft models and scenery buildings. This works quite nicely - this is one of our usual eye-catchers:

Re: [osg-users] Model orientation after using 'osgconv'

2008-08-11 Thread Martin Spott
Paul Melis wrote: When I load your model in .ac format together with axes.osg the Golden Gate's road is along the Z axis, with the Y axis pointing up. Aaaah, the 'axes' didn't get into my mind Is that what you expect? Hmmm, no, X and Y should span a surface that's orthogonal to the

[osg-users] please give your opinion on plugins reading from a virtual file system

2008-08-11 Thread Botorabi
i am searching for a way which allows having all necessary data files packed into a single file -- such as pak files of typical games -- and let osg read the image and scene files from that pack file. there is physfs which can provide a virtual files system given it a compressed archive file,

Re: [osg-users] please give your opinion on plugins reading from a virtual file system

2008-08-11 Thread Serge Lages
Hi Boto, Have you looked to osgDB::Registry::setReadFileCallback ? Another way to achieve what you want can be to make a plugin for your packed file and use encoded strings as files names to know wich file to get from your pack, ie : cow.osg|mypack.pack With such a file name, your plugin will

Re: [osg-users] XCode 2.4.x build error on MAC OSX 10.4...

2008-08-11 Thread Eric Sokolowsky
In CMake, enable OSG_GLU_TESS_CALLBACK_TRIPLEDOT and see if that helps. -Eric On Mon, Aug 11, 2008 at 10:58 AM, Adrian Egli OpenSceneGraph (3D) [EMAIL PROTECTED] wrote: cd /Users/PWD/dev/OpenSceneGraphSVN /usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings

Re: [osg-users] please give your opinion on plugins reading from a virtual file system

2008-08-11 Thread Botorabi
hi Serge, thanks for your hints. Have you looked to osgDB::Registry::setReadFileCallback ? unfortunately, osgDB::Registry::setReadFileCallback does not the job. it passes the file name down to the loading mechanism chain, i.e. the actual file access is still managed in individual plugins

Re: [osg-users] Mac / X-Code build problem

2008-08-11 Thread Eric Sokolowsky
Glad to hear this. I'm also glad to know that it works with installing OSG into /usr/local. My next task will be to get CMake to make real OSX frameworks installed in /Library/Frameworks, or in a custom location, for inclusion in a distributable app. I'm also experiencing some strange crashing in

Re: [osg-users] please give your opinion on plugins reading from a virtual file system

2008-08-11 Thread Serge Lages
On Mon, Aug 11, 2008 at 5:47 PM, Botorabi [EMAIL PROTECTED] wrote: hi Serge, thanks for your hints. Have you looked to osgDB::Registry::setReadFileCallback ? unfortunately, osgDB::Registry::setReadFileCallback does not the job. it passes the file name down to the loading mechanism chain,

Re: [osg-users] Coordinate system mapping from WTK to OSG...

2008-08-11 Thread neil.hughes
Hi Jason, thanks for the comments. I think I've got to the bottom of it now. There is some rather irritating issues associated with which rotation is performed first. Finally got an ordering (trial-and-error) that did what it was supposed to do. Coupled with the rotation about X I feel

Re: [osg-users] please give your opinion on plugins reading from a virtual file system

2008-08-11 Thread Serge Lages
On Mon, Aug 11, 2008 at 6:03 PM, Serge Lages [EMAIL PROTECTED] wrote: On Mon, Aug 11, 2008 at 5:47 PM, Botorabi [EMAIL PROTECTED] wrote: hi Serge, thanks for your hints. Have you looked to osgDB::Registry::setReadFileCallback ? unfortunately, osgDB::Registry::setReadFileCallback does not

Re: [osg-users] Turning off heightfields in terrain database

2008-08-11 Thread Greg Myers
Hey Glenn, Just wanted to check back in and let you know that your suggestion worked. Thanks! Greg On Aug 9, 5:18 pm, Greg Myers [EMAIL PROTECTED] wrote: Thanks for the quick response Glenn. I'll try it when I get back to work on Monday unless I get some time at home this weekend. I'll

Re: [osg-users] Mac / X-Code build problem

2008-08-11 Thread James Turner
On 11 Aug 2008, at 16:52, Eric Sokolowsky wrote: I'm also experiencing some strange crashing in my app under OSX (in Leopard). It may be a library initialization issue. (But the same code works perfectly under Linux.) Hmm. That's a bit worrying, because I'm faced with a large app

Re: [osg-users] please give your opinion on plugins reading from a virtual file system

2008-08-11 Thread Jean-Sébastien Guay
Hello Boto, what do you think about this idea? There is a zip plugin, I've never used it but I think it just gets one file from a zipped file. Not sure. You could easily make a pseudoloader to do this I think, so that you could load files of the form mymodel.osg.myarchivefile.pak which

[osg-users] Creating a black object (strip everything, light, color)

2008-08-11 Thread Sam
Hello, on my scene there are several objects, light and many drawing modes on many models. Now I require an object to be drawn black, completely black and I am not sure how to achieve that. I have a node visitor that clears every possible state on a model and I set the normals and color

Re: [osg-users] please give your opinion on plugins reading from a virtual file system

2008-08-11 Thread Botorabi
hi Serge and Jean-Sébastien, if i got you right, you suggest to implement a kind of proxy plugin associated with a particular file extension which would make use of existing plugins in order to load different file formats. certainly, you are right. it is one possibility. however i feel that it

Re: [osg-users] XCode 2.4.x build error on MAC OSX 10.4...

2008-08-11 Thread Adrian Egli OpenSceneGraph (3D)
Thanks, it solved my problem adrian 2008/8/11 Eric Sokolowsky [EMAIL PROTECTED] In CMake, enable OSG_GLU_TESS_CALLBACK_TRIPLEDOT and see if that helps. -Eric On Mon, Aug 11, 2008 at 10:58 AM, Adrian Egli OpenSceneGraph (3D) [EMAIL PROTECTED] wrote: cd /Users/PWD/dev/OpenSceneGraphSVN