Re: [osg-users] Delighted to announce OpenSceneGraph-3.0.0!

2011-06-29 Thread Torben Dannhauer
Dear Robert, thank you for your effort! I hope you will enjoy the trip with you family! Thanks also to the community, OSg 3.0 will be great! Best wishes, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41007#41007

Re: [osg-users] OSGExp, movie textures and OSG file formats

2011-06-29 Thread Alessandro Terenzi
Hi, thanks everybody for your answers... to Farshid: when I exported to .ive or .osgb I checked 'Embed image data'...but the ive/osgb file size doesn't looks correct (I used a 16MB video and the size of the ive/osgb was something like 300KB). Cheers, Alessandro -- Read this

Re: [osg-users] How to get the listof supported file formats

2011-06-29 Thread Ulrich Hertlein
Hi Daniel, On 29/06/11 0:47 , Daniel Peraza wrote: Hi, I'm using OSG Qt to build a visualizer for my thesis. I'm completely new to OSG and almost as new to Computer Graphics Programming too, so please don't mad on me and be patient ;-) I need to know how to get the list of supported

Re: [osg-users] Problems with osgUtil::TangentSpaceGenerator

2011-06-29 Thread Guo Chow
Daniel Borchart the_programmer@... writes: Hi, I'm trying to implement a bump mapping shader. That works well for a simple shape like that plane, where I define the tangent attribute manually: Code: Geometry* plane = new Geometry(); Vec3Array* vertices = new Vec3Array();

Re: [osg-users] [osgPlugins] OBJ (WaveFront) files can't be loaded

2011-06-29 Thread Alexey Chernov
Hi, Per, thank you very much for such a detailed description! I really didn't expected it is something wrong with the file itself. So, can I override these opacity parameters in osgviewer somehow or I need to solve the file instead? And, maybe you have some idea, why it can freeze the

[osg-users] (no subject)

2011-06-29 Thread 书欣 宋
Thank you for this,but because of some reason,I don't want to receive this any more.Thank you.___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] [osgPlugins] OBJ (WaveFront) files can't be loaded

2011-06-29 Thread Per Fahlberg
Hi Alexey, To override the alpha value for the model you could write a node visitor that collects all materials and changes all alpha components. I would probably change the files and remove the Tr field or change it to 1. A perhaps better solution would be to pass an option to the obj plugin

Re: [osg-users] Visual Assist X users?

2011-06-29 Thread Kim Bale
Hi Chris, I've used a number of versions of visual assist, great bit of software, but they all have this problem. I've just got into the habit of typing '.' then backspace which puts things right and up the member functions. Since the utility functions aren't used that often it's not too

Re: [osg-users] Delighted to announce OpenSceneGraph-3.0.0!

2011-06-29 Thread René Molenaar
Very nice, we are defiantly going to enjoy OpenSceneGraph 3.0 Thank you, René 2011/6/29 Torben Dannhauer tor...@dannhauer.info Dear Robert, thank you for your effort! I hope you will enjoy the trip with you family! Thanks also to the community, OSg 3.0 will be great! Best wishes,

Re: [osg-users] [build] Build issues with OSX 10.6.7 using trunk (git)

2011-06-29 Thread Glenn McCord
Hi. I'm wondering if anyone had a recommendation for building the latest openscenegraph (from the git repo) from the commandline. I'm running OSX 10.6.7 getting all sorts of confused about what I should be doing to set this thing up. There are a lot of docs out there, some of which seem old,

Re: [osg-users] [osgPlugins] OBJ (WaveFront) files can't be loaded

2011-06-29 Thread Alexey Chernov
Yeah, I've changed Tr value in *.mtl file to '1' and it works! That's really great. So, the only remaining problem is with hangs and freezes in readNodeFile, hope I can solve it, too. Per, massive thanks for your help! -- Read this topic online here:

Re: [osg-users] [build] Build issues with OSX 10.6.7 using trunk (git)

2011-06-29 Thread Stephan Maximilian Huber
Hi Glenn, what version of cmake are you using? If you want 64bit-builds on OS X you'll need some minor adjustments via cmake: /usr/bin/cmake -G Xcode \ -D OSG_BUILD_FRAMEWORKS:BOOL=1 \ -D OSG_WINDOWING_SYSTEM:STRING=Cocoa \ -D OSG_BUILD_PLATFORM_IPHONE:BOOL=0 \ -D

Re: [osg-users] Visual Assist X users?

2011-06-29 Thread Jean-Sébastien Guay
Hi Chris, I love it, but the automatic -/. correction gets confused about ref_ptr's ability to dereference the referenced object by - but access its own utility methods by . I've seen this too when using a trial of Visual Assist. I would have thought there would be a way to disable this

Re: [osg-users] [build] OSG 3.1.0 SVN don't work for me

2011-06-29 Thread BARANGER Emmanuel
Hi, After a big update of my OS, OSG is working again. The error disappeared. Sorry to have bothered with messages that were not made ​​for you Thank you! Cheers, Emmanuel Some aircraft for FlightGear http://helijah.free.fr -- Read this topic online

[osg-users] Infinite loop at osgt loading

2011-06-29 Thread Andreas Ekstrand
Hi, With OpenSceneGraph-3.0.0, loading OpenSceneGraph-Data-3.0.0/spaceship.osgt in osgviewer hangs in an infinite loop in AsciiInputIterator::advanceToCurrentEndBracket. I haven't been able to find the cause for this, maybe someone more knowledgeable in these new formats understands what's

Re: [osg-users] Infinite loop at osgt loading

2011-06-29 Thread Jean-Sébastien Guay
Hi Andreas, With OpenSceneGraph-3.0.0, loading OpenSceneGraph-Data-3.0.0/spaceship.osgt in osgviewer hangs in an infinite loop in AsciiInputIterator::advanceToCurrentEndBracket. I haven't been able to find the cause for this, maybe someone more knowledgeable in these new formats understands

[osg-users] [3rdparty] Why there are different versions of lib PNG in the 3rd party dependencies?

2011-06-29 Thread George Bekos
Hello everyone! I am a little bit confused with the 3rd party dependencies. On this page: http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies there are 2 links for visual studio 9 SP1. One is a fat package with lots of dlls, libs and executable utilities and one is a thin

Re: [osg-users] Visual Assist X users?

2011-06-29 Thread Chris 'Xenon' Hanson
On 6/29/2011 6:38 AM, Jean-Sébastien Guay wrote: Since Visual Assist is commercial software, I would think the company would be supportive of its paying users, so you might want to contact their support to see if there is maybe some more sophisticated way of making it understand that

Re: [osg-users] [3rdparty] Why there are different versions of lib PNG in the 3rd party dependencies?

2011-06-29 Thread Chris 'Xenon' Hanson
On 6/29/2011 8:10 AM, George Bekos wrote: Hello everyone! I am a little bit confused with the 3rd party dependencies. On this page: http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies there are 2 links for visual studio 9 SP1. One is a fat package with lots of dlls, libs

Re: [osg-users] Infinite loop at osgt loading

2011-06-29 Thread Andreas Ekstrand
Hi J-S, Thanks for the confirmation. I'm also on Windows 7 64 bit, VC++ 2008 Express. It hangs in both x86 and x64 builds. It seems readString( passString ) always returns the empty string for the osg::Geometry with UniqueID 8 and that the readObjectFields for this geometry didn't manage to

[osg-users] Lightpoints in osgt/osgb/osgx

2011-06-29 Thread Andreas Ekstrand
Hi, I'm having problems with osgSim::LightPoint in the new osgt/osgb/osgx formats. After converting the attached lightpoint_test.flt to these formats with osgconv, loading them in osgviewer causes warnings and no data loaded for osgt/osgb and incomplete geometry for osgx (only the

Re: [osg-users] Infinite loop at osgt loading

2011-06-29 Thread Wang Rui
Hi Andreas, The bug seems to be caused because of the modification in rev 12669, which uses unget() instead of seekg() to solve the problem of unix file endings. Roll back and convert the .osg file to .osgt under Windows and you may view it smoothly. But the trunk version could neither view these

Re: [osg-users] Infinite loop at osgt loading

2011-06-29 Thread Jean-Sébastien Guay
Hello Wang Rui, The bug seems to be caused because of the modification in rev 12669, which uses unget() instead of seekg() to solve the problem of unix file endings. Roll back and convert the .osg file to .osgt under Windows and you may view it smoothly. But the trunk version could neither view

Re: [osg-users] Lightpoints in osgt/osgb/osgx

2011-06-29 Thread Wang Rui
Hi Andreas, I can confirm this is a bug in the osgSim::LightPointNode serializer and have quickly repaired it as attached. As it is already late in China and I'm really sleepy now :-) could you please help me test it again and if it's usable this time,could you please help me submit it to the

Re: [osg-users] Infinite loop at osgt loading

2011-06-29 Thread Wang Rui
Hi J-S 2011/6/29 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com: But you never say what exactly the problem is that unget() causes... Since cow.osgt seems to work, what is different in these files? Don't mind. I'm a little curious about the problem, too, as cow, cessna and glider all

Re: [osg-users] Delighted to announce OpenSceneGraph-3.0.0!

2011-06-29 Thread Roni Zanolli
Congratulations Robert and all contributors for this great release. Cheers, Roni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41034#41034 ___ osg-users mailing list

Re: [osg-users] OSGExp, movie textures and OSG file formats

2011-06-29 Thread Farshid Lashkari
Hi Alessandro, to Farshid: when I exported to .ive or .osgb I checked 'Embed image data'...but the ive/osgb file size doesn't looks correct (I used a 16MB video and the size of the ive/osgb was something like 300KB). As other have already mentioned, I don't think the ive/osgb formats support

[osg-users] How to save extra application data inside the scenegraph?

2011-06-29 Thread Stephan Irgenfried
Hi, to keep all data of my application together in one file, i would like to save values and text that i show on the UI inside the scenegraph file. I thought of using textNodes for this. Any other suggestions how to do it? Thank you! Cheers, Stephan -- Read this topic online

Re: [osg-users] How to save extra application data inside the scenegraph?

2011-06-29 Thread Chris 'Xenon' Hanson
On 6/29/2011 11:10 AM, Stephan Irgenfried wrote: Hi, to keep all data of my application together in one file, i would like to save values and text that i show on the UI inside the scenegraph file. I thought of using textNodes for this. Any other suggestions how to do it? See the recent

[osg-users] OSG 3.0.0 binaries built across all platforms and available for download

2011-06-29 Thread Chris 'Xenon' Hanson
http://openscenegraph.alphapixel.com/osg/downloads/free-openscenegraph-binary-downloads Please let me know if you find any problems, there was a lot of copy/paste and search/replace invovled in getting all these files together. Also, just wanted to mention that AlphaPixel accepts donations

Re: [osg-users] Basic Lighting Shaders

2011-06-29 Thread Stephan Irgenfried
Hi, i've written a couple of GLSL shaders for different BRDF models and would like to share them with others. Cheers, Stephan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41039#41039 ___

Re: [osg-users] Basic Lighting Shaders

2011-06-29 Thread Chris 'Xenon' Hanson
On 6/29/2011 11:32 AM, Stephan Irgenfried wrote: Hi, i've written a couple of GLSL shaders for different BRDF models and would like to share them with others. Is it something you could put on the OSG wiki? -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com

Re: [osg-users] Basic Lighting Shaders

2011-06-29 Thread Jeremy Moles
On Wed, 2011-06-29 at 19:32 +0200, Stephan Irgenfried wrote: Hi, i've written a couple of GLSL shaders for different BRDF models and would like to share them with others. Cheers, Stephan No attachment. :( -- Read this topic online here:

[osg-users] Flat Shading

2011-06-29 Thread Robert Kern
Hi, I've been trying to figure out how to switch to flat shading but I can't quite figure out how. Could someone help me out? Thank you! Cheers, Robert -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41043#41043

Re: [osg-users] Flat Shading

2011-06-29 Thread Farshid Lashkari
Hi Robert, I've been trying to figure out how to switch to flat shading but I can't quite figure out how. Could someone help me out? You can use the osg::ShadeModel state attribute to enable flat shading. Cheers, Farshid ___ osg-users mailing list

[osg-users] Basic Lighting Shaders

2011-06-29 Thread Sergey Kurdakov
Hi Jeremy, you might take a look at ShaderGen utility from http://3dshaders.com/home/index.php?option=com_weblinkscatid=14Itemid=34 while not being intergrated with osg - you may extract glsl shaders from there and adapt them accordingly. Regards Sergey

Re: [osg-users] Flat Shading

2011-06-29 Thread Robert Kern
Hi, Yes, but how do I use osg::ShadeModel? Do I get it from a viewer or camra? Do I make it my self and then pass it off to something? Thank you! Cheers, Robert -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41046#41046

Re: [osg-users] Flat Shading

2011-06-29 Thread Farshid Lashkari
Hi Robert, Yes, but how do I use osg::ShadeModel? Do I get it from a viewer or camra? Do I make it my self and then pass it off to something? You will need to create an instance of the osg::ShadeModel class and apply it to the stateset of the subgraph you want to enable flat shading on. For

Re: [osg-users] Delighted to announce OpenSceneGraph-3.0.0!

2011-06-29 Thread Buckley, Bob CTR MDA/DES
Thank you Robert and Contributors. 'Bwana' Bob Buckley Principal Software Engineer Raytheon ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] [vpb] What are the distributed split levels?

2011-06-29 Thread René Streich
Hi, I've used VPB for quite some months now, but I could never really figure out what those distributed split levels are good for. Recently I have built a database using values 8 and 16 because someone suggested these for a level-24-terrain. Now someone else asked me to explain why I used

Re: [osg-users] Basic Lighting Shaders

2011-06-29 Thread Jeremy Moles
On Wed, 2011-06-29 at 22:51 +0400, Sergey Kurdakov wrote: Hi Jeremy, you might take a look at ShaderGen utility from http://3dshaders.com/home/index.php?option=com_weblinkscatid=14Itemid=34 while not being intergrated with osg - you may extract glsl shaders from there and adapt

[osg-users] Basic Lighting Shaders

2011-06-29 Thread Sergey Kurdakov
Hi Jeremy, Did you ever get your thing figured out? : oh, yes, sorry forgot to write. Just two days ago did turn to this. I added multiplier gl_FragColor = (col + (1.0 - col.a) * frag) * 1.9 * pangoAlpha; to resolve my problems. the overall problem was that I use several surfaces with

Re: [osg-users] [vpb] What are the distributed split levels?

2011-06-29 Thread Torben Dannhauer
Hi Uzala, If I remember right, that was for the filesystem: Some filesystems produce errors if they contain too many files in a single directory. So with the splitlevel you can control on which level VPB should create subfolders to reduce the number of files per folder. Im someone is better

Re: [osg-users] How to get the listof supported file formats

2011-06-29 Thread Daniel Peraza
I thought that ReaderWriters were registered at startup. If you had not told me, I'd never noticed because documentation about it's very reduced. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41053#41053

[osg-users] VC++10 SP1 binary miscibility?

2011-06-29 Thread Chris 'Xenon' Hanson
We might be changing our VC++10 to SP1 shortly, and I'm wondering if the binaries from SP1 are immiscible with non-SP1 the way VC++2008SP1 was? Basically, will I need to publish prebuilt binaries for both SP1 and non-SP1? Anyone made the switch yet? -- Chris 'Xenon' Hanson, omo sanza

Re: [osg-users] VC++10 SP1 binary miscibility?

2011-06-29 Thread Jean-Sébastien Guay
Hi Chris, We might be changing our VC++10 to SP1 shortly, and I'm wondering if the binaries from SP1 are immiscible with non-SP1 the way VC++2008SP1 was? Basically, will I need to publish prebuilt binaries for both SP1 and non-SP1? Anyone made the switch yet? We have not yet, and in fact

Re: [osg-users] How to get the listof supported file formats

2011-06-29 Thread Daniel Peraza
Please give me one last hint. I have taken a look to to osgconv.cpp as you told me and I found this: Code: if (arguments.read(--formats) { osgDB::FileNameList plugins = osgDB::listAllAvailablePlugins(); for(osgDB::FileNameList::iterator itr = plugins.begin();

Re: [osg-users] How to get the listof supported file formats

2011-06-29 Thread Chris 'Xenon' Hanson
osgDB::outputPluginDetails(std::cout,*itr); So I guess that there must be a function or class method in the osgDB namespace which gives me a mechanism to query all plugin supported formats given the plugin file referenced by *itr. The problem is that I can't find it in the

Re: [osg-users] [build] Build issues with OSX 10.6.7 using trunk (git)

2011-06-29 Thread Glenn McCord
I'm using cmake 2.8.4 Thanks for that cmake build command; everything is now compiling fine. It turns out I was also missing the . (the path to source) at the end of the command. Whoops. I've now got an osgViewer showing it's default blue screen. Once I figure out the .osg file plugin issue,

[osg-users] OSG installation error

2011-06-29 Thread Saeed Hadian Niasar
Hi, I'm trying to install OSG 1.2 according to DWIGHT manual. In the last step, when trying to test it I get the following error: Unhandled exception at 0x7c90120e in OSGdefaultproject.exe: User breakpoint. What does it mean and how can I solve it? Thank you! Cheers, Saeed

Re: [osg-users] VC++10 SP1 binary miscibility?

2011-06-29 Thread Christiansen, Brad
Hi, From my personal experience, I updated to SP1 and rebuilt our OSG based application without re-building OSG or the 3rd party dependencies, and had no issues. This is only one small data point though and it is on my TODO list to rebuild everything using SP1. Cheers, Brad -Original