Re: [osg-users] ffmpeg stdint on Windows?

2009-07-10 Thread Garrett Potts
Hello All: If you are going to build it from scratch I have better luck making sure that you disable mmx and mmx2. This is a killer to get to build sometime. I get local registers getting clobbered errors when using their assembly enhanced code routines and if the mmx acceleration is us

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-10 Thread Garrett Potts
Hello All: The link below is the one I used before to add stdint.h and inttypes.h. I use it for the builds on windws. I have sucessfully used mingw then use Microsofts implib tool to create a import lib for the dll. Like they said below. ffmpeg will not build on MSVC and even if you

Re: [osg-users] osg::observer_ptr and osg::ref_ptr

2009-07-10 Thread Jason Daly
Cysneros, Nelson A CIV SPAWAR SSC PAC, 56510 wrote: So sorry if this is a way too obvious question but what is the difference between observer_ptr and ref_ptr? And when would you use one over the other? osg::observer_ptr : Smart pointer for observed objects, that automatically set point

Re: [osg-users] osgDotNet

2009-07-10 Thread Jason Daly
Michael W. Hall wrote: I did find an osgIntrospection include file in the directory where I got OSG from SVN. Copied that to the installed location of OSG. The osgDotNet built, but gave a link error about OsgIntrospection.lib. I downloaded the precompiled libs and copied that to the OSG instal

Re: [osg-users] osgDotNet

2009-07-10 Thread Michael W. Hall
I did find an osgIntrospection include file in the directory where I got OSG from SVN. Copied that to the installed location of OSG. The osgDotNet built, but gave a link error about OsgIntrospection.lib. I downloaded the precompiled libs and copied that to the OSG install directory. The proje

[osg-users] osg::observer_ptr and osg::ref_ptr

2009-07-10 Thread Cysneros, Nelson A CIV SPAWAR SSC PAC, 56510
So sorry if this is a way too obvious question but what is the difference between observer_ptr and ref_ptr? And when would you use one over the other? osg::observer_ptr : Smart pointer for observed objects, that automatically set pointers to them to null when they deleted osg::ref_ptr

Re: [osg-users] osgDotNet

2009-07-10 Thread Michael W. Hall
Additional information. The error is looking for files in osgIntrospection. I do not see this in my osg install directory. However, I had no errors on the build of OSG or the install and none on VPB. Michael On Fri, 2009-07-10 at 17:05 -0500, Michael W. Hall wrote: > Can someone help me out wit

[osg-users] osgDotNet

2009-07-10 Thread Michael W. Hall
Can someone help me out with building this? I have been following the directions, but no luck yet. I created the environment variable as the instructions said, but I get errors saying that it cannot open the osg files. These files are on my system and in the location specified. Any help is appr

Re: [osg-users] what is the thread difference between MFC andconsole?

2009-07-10 Thread Kawicki, Ryan H
Ümit Uzun, I would suspect that the problem you described is related more with you graphics card then with the size of the window you are rendering into. It sounds like, in your case, the larger window size would cause more raster operations to be performed, while decreasing the size of the w

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-10 Thread Jason Daly
Jean-Sébastien Guay wrote: We've built the ffmpeg dependency (with mingw; I wonder what issues we'll encounter linking this against other VS object files), As you probably know, you can't build ffmpeg with MSVC, but you can link other programs with it. This page has some info about that

Re: [osg-users] ffmpeg stdint on Windows?

2009-07-10 Thread Jean-Sébastien Guay
Hi Paul, Has anyone successfully built the ffmpeg dependency on Windows? Once built, were you successful in getting OSG's CMake to produce a ffmpeg plugin project file? We just used prebuilt binaries of ffmpeg (non-GPL). Perhaps you could use them too? I think you could search for ffmpeg-r15

[osg-users] ffmpeg stdint on Windows?

2009-07-10 Thread Paul Martz
Has anyone successfully built the ffmpeg dependency on Windows? Once built, were you successful in getting OSG's CMake to produce a ffmpeg plugin project file? We've built the ffmpeg dependency (with mingw; I wonder what issues we'll encounter linking this against other VS object files), but w

Re: [osg-users] Howto use osg with a given OpenGL rendering context?

2009-07-10 Thread Jonathan Richard
Hi, is this approach allows the use of FBO? thanks Jonathan On Wed, Feb 25, 2009 at 7:03 AM, Robert Osfield wrote: > Hi Mattias, > > The quickest way to graft and osgViewer::Viewer into an existing > graphics context is to use the GraphicsWindowEmbedded functionality. > See the osgviewerGLUT and

[osg-users] frame rate faster than monitor vsync?

2009-07-10 Thread Bob Youmans
Hi, does anyone know if it's possible to run faster than the 60Hz vsync or 100Hz osg limit, if computational performance is the ultimate goal even at the expense of "tearing." Can I get 600 fps by turning off vsync (or something else, it didn't work on my box)? Is the graphics card driver/model i

Re: [osg-users] Integrating shadows with osgOcean

2009-07-10 Thread Jean-Sébastien Guay
Hi Wojtek, You got me. Say magic word "shadow" and I will crawl up from my den ;-) :-) Actually, I like the approach with node names and I don't think this is a hack. Node naming is possible in many modelling tools and this is what make them quite useful. We often use names to mark specia

Re: [osg-users] how to set per vertext attributes using osg

2009-07-10 Thread Jean-Sébastien Guay
Hi Jason, OSG sorts by state to minimize state changes, but I'm not sure how it does the sort. I believe the state sort is done using the compare() method of StateAttribute. In the case of Uniforms, the comparison is pretty thorough (first data type, then number of elements, then actually

Re: [osg-users] how to set per vertext attributes using osg

2009-07-10 Thread Jason Daly
Jean-Sébastien Guay wrote: OSG sorts by state to minimize state changes, but I'm not sure how it does the sort. I believe the state sort is done using the compare() method of StateAttribute. In the case of Uniforms, the comparison is pretty thorough (first data type, then number of elemen

Re: [osg-users] Nvidia Bindless Graphics Extensions

2009-07-10 Thread Jason Daly
Gordon Tomlinson wrote: Slightly of topic Any one tried use using the new Nvidia Bindles Graphics Extensions they look quite interesting http://developer.nvidia.com/object/bindless_graphics.html Wow, pointers in a shader. Weird! It sounds a lot like direct state access, but for v

Re: [osg-users] Integrating shadows with osgOcean

2009-07-10 Thread Wojciech Lewandowski
Hi J-S, I was sure you would answer my question :-) You got me. Say magic word "shadow" and I will crawl up from my den ;-) Simplest method I can think of: is modification of osgShadow:: LisPSM techniques and related to give well defined unique names to rtt cameras they create. Its maybe n

Re: [osg-users] Integrating shadows with osgOcean

2009-07-10 Thread Jean-Sébastien Guay
Hi Wojtek, I was sure you would answer my question :-) Simplest method I can think of: is modification of osgShadow:: LisPSM techniques and related to give well defined unique names to rtt cameras they create. Its maybe not particularly bright idea but its simple and effective. I think name

Re: [osg-users] Integrating shadows with osgOcean

2009-07-10 Thread Wojciech Lewandowski
Hi J-S, Scenario you described is quite common. My collegue had similar problem recently while mixing shadows with soem animation techniques. He was trying to come up with similar identification scheme. Simplest method I can think of: is modification of osgShadow:: LisPSM techniques and rela

Re: [osg-users] how to set per vertext attributes using osg

2009-07-10 Thread Jean-Sébastien Guay
Hi Colin, Attributes provide a faster way of changing vertex properties even on a per object basis, as it means all of your objects can share the same state. Changing the value of uniforms cause the creation of a new state. Lots of state changes can be very expensive. Sure, but some types of s

Re: [osg-users] what is the thread difference between MFC and console?

2009-07-10 Thread Ümit Uzun
Hi Forest; We have same problem and I find that threading isn't actual problem. real one is rendering on specified HWND. And frame rate always gets down while enlarging the HWND size contrary if you collapse the HWND size you can see easily that frame rate gets upper degree than wide one. I suspec

[osg-users] what is the thread difference between MFC and console?

2009-07-10 Thread forest
hi all, I have a problem with OSG in MFC program:When I run my program in console, I get 60 frames per second .However,When I move my program into MFC, I get slow frames.I do this as the example osgviewerMFC does, creating a new thread for OSG drawing. One thing I have to mention is that t

[osg-users] Segfault in osgPlugins/vrml

2009-07-10 Thread Falko Kellner
Hello, in current svn rev 10454 the openvrml plugin loading a vrml file containing group nodes segfaults, because a node.get() is used instead of a node.release() in convertvrmlnode(). Also, using absolute paths on linux systems is broken: osgviewer myfile.wrl works osgviewer /home/fkellner/myfil

Re: [osg-users] how to set per vertext attributes using osg

2009-07-10 Thread Middleton, Colin (GE EntSol, Intelligent Platforms)
> > I think my data items are going to be per Geode (e.g., > thickness of a > > "part"), but I thought I still needed shader attributes instead of > > uniforms, because uniforms are per frame. Unless you're > thinking I'd > > make an array of them where the indexing is the Geodes? > > No

[osg-users] Nvidia Bindless Graphics Extensions

2009-07-10 Thread Gordon Tomlinson
Slightly of topic Any one tried use using the new Nvidia Bindles Graphics Extensions they look quite interesting http://developer.nvidia.com/object/bindless_graphics.html __ Gordon Tomlinson