[osg-users] trouble in MSFBO

2010-03-23 Thread Kai Xia
Hi, I recently got some trouble when I tried to use MultiSample in FBO, I render the scene in main camera and render to a FBO with a GL_RGB16F_ARB textureRectangle attached, I set the camera like below: m_OutputColor-setInternalFormat(GL_RGB16F_ARB);

Re: [osg-users] Need help with intersectvisitor

2010-03-23 Thread Robert Osfield
On Mon, Mar 22, 2010 at 10:52 PM, Brett Thomas Lee brettle...@hotmail.com wrote:  so finally I get world intersection point. Since I am attaching visitor to mTransform node I will get the world intersection point wrt the root or wrt the mTransform?? Also what does the getLocalIntersectPoint()

Re: [osg-users] 2.8.3 testing

2010-03-23 Thread Stephan Huber
Hi Paul, Am 22.03.10 17:31, schrieb Paul Martz: 1. XCode project files need to be updated. (Stephan, will you have any time to contribute this in the near future, or do we need another volunteer?) Can you merge revision [10006] into the osg-2.8 branch? this will fix a compile-issue when

[osg-users] change axis with TrackballManipulator

2010-03-23 Thread Manuel Silvestre
Hello friends, I have a problem with camera view, I have a object that change their coordinates all the time and I want that the camera shows the object's first person view. My code is : Code: osgGA::TrackballManipulator *trackballManipulator = new osgGA::TrackballManipulator();

Re: [osg-users] 2.8.3 testing

2010-03-23 Thread Cedric Pinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/23/2010 03:13 AM, Paul Martz wrote: Thanks, Cedric. I found r10362 had this change, and it's now merged into the 2.8 branch. I definitely get different results, but haven't had a chance to compare to trunk, so if you could please take a look

[osg-users] osgQt: compile error in moc_QGraphicsViewAdapter.cxx

2010-03-23 Thread John Vidar Larring
Hi all, When compiling the latest osg trunk (rev11277) I get the following compile error for osgQt on win32 VS2008: 13-- Build started: Project: osgQt, Configuration: Release Win32 -- 13Generating __/__/include/osgQt/moc_QGraphicsViewAdapter.cxx 13Compiling...

[osg-users] [osgPlugins] SVG plugin on Windows

2010-03-23 Thread Pascal Guehl
Hi, I'm using the OSG 2.8.2 stable release. I have to build the SVG plugin on Windows with VC7 and VC8. It depends on librsvg and cairo. Compiling Cairo is simple, but librsvg is not so trivial. I try to install a MinGW environment. But the compilation needs to have a MSys, GTK, Perl, etc...

Re: [osg-users] [osgPlugins] osgAnimation morphing

2010-03-23 Thread Cedric Pinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/22/2010 09:04 PM, Garrett Cope wrote: Hi, To Cedric - or anyone else well versed with MorphGeometry in osgAnimation: I'm attempting to implement a coordinate interpolator. Basically, animating a mesh with vertex-independent transforms. It

Re: [osg-users] trouble in MSFBO

2010-03-23 Thread Michael Platings
Hi Kai, a screenshot would help us diagnose the problem. The black segments on the edges of you objects may be because your shader varyings aren't centroid. Read this article for an explanation: http://www.opengl.org/pipeline/article/vol003_6/ ___

Re: [osg-users] osgQt: compile error in moc_QGraphicsViewAdapter.cxx

2010-03-23 Thread Trajce (Nick) Nikolov
Hi John, I had the same issue yesterday. I am not a Qt guru, but the way how I resolved this issue was by simply removing that file and let it be regenerated by Qt with the version you are using -Nick On Tue, Mar 23, 2010 at 12:31 PM, John Vidar Larring larr...@weatherone.tvwrote: Hi all,

Re: [osg-users] 2.8.3 testing

2010-03-23 Thread Andy Skinner
I was able to build from the updated 2.8 branch last night. This morning I was able to telnet to a mac and run osgconv without complaints about not being able to get to the display. That was the case we were testing before. thanks andy -Original Message- From:

Re: [osg-users] osgQt: compile error in moc_QGraphicsViewAdapter.cxx

2010-03-23 Thread Robert Osfield
Hi JOhn Nick, On Tue, Mar 23, 2010 at 12:37 PM, Trajce (Nick) Nikolov nikolov.tra...@gmail.com wrote: Hi John, I had the same issue yesterday. I am not  a Qt guru, but the way how I resolved this issue was by simply removing that file and let it be regenerated by Qt with the version you are

Re: [osg-users] 2.8.3 testing

2010-03-23 Thread Jean-Sébastien Guay
Hi Paul, Building now, Windows 7 64 bit, VC9 sp1, 32 bit build. After building I'll test what I can. Builds fine. I've also set up a nightly build (called Whitestar_vc9sp1 (2.8 branch)). As for testing, I've tested a few models in osgviewer, as well as the fbx plugin and the dae plugin.

[osg-users] Changing mouse cursor

2010-03-23 Thread Carlos Sanches
Hi all ! How Can I change the mouse cursor for some other art that I did ? thanks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Changing mouse cursor

2010-03-23 Thread Trajce (Nick) Nikolov
which platform? which OS? -Nick On Tue, Mar 23, 2010 at 3:26 PM, Carlos Sanches ces...@gmail.com wrote: Hi all ! How Can I change the mouse cursor for some other art that I did ? thanks ___ osg-users mailing list

Re: [osg-users] Changing mouse cursor

2010-03-23 Thread Carlos Sanches
Linux Ubuntu On Tue, Mar 23, 2010 at 10:27 AM, Trajce (Nick) Nikolov nikolov.tra...@gmail.com wrote: which platform? which OS? -Nick On Tue, Mar 23, 2010 at 3:26 PM, Carlos Sanches ces...@gmail.com wrote: Hi all ! How Can I change the mouse cursor for some other art that I did ? thanks

Re: [osg-users] Changing mouse cursor

2010-03-23 Thread Trajce (Nick) Nikolov
I am windows developer. I could help you on windows. Wait for the linux gurus to answer Sorry -Nick On Tue, Mar 23, 2010 at 3:38 PM, Carlos Sanches ces...@gmail.com wrote: Linux Ubuntu On Tue, Mar 23, 2010 at 10:27 AM, Trajce (Nick) Nikolov nikolov.tra...@gmail.com wrote: which

Re: [osg-users] trouble in MSFBO

2010-03-23 Thread Paul Martz
Kai Xia wrote: but the texture output seem not more smooth than before, and which is worse is that there is some obvise black segment on the edge of the objects in 3d scene, I dont know what is wrong about this? even I change the texture format to GL_RGB / GL_RGBA, the problems remained,

Re: [osg-users] 2.8.3 testing

2010-03-23 Thread Paul Martz
Jean-Sébastien Guay wrote: Hi Paul, Building now, Windows 7 64 bit, VC9 sp1, 32 bit build. After building I'll test what I can. Builds fine. I've also set up a nightly build (called Whitestar_vc9sp1 (2.8 branch)). Thanks. I'm also running daily CDash builds for Windows and Darwin/OSX,

Re: [osg-users] 2.8.3 testing

2010-03-23 Thread Jean-Sébastien Guay
Hi Paul, I have to apologize about the dae plugin. I was just too chicken to go through with the merge, after a couple attempts. :-( Hehe, no problem. It can be in a 2.8.4 eventually, if 2.10 takes too much time. For now our projects that need it can run off of SVN trunk while in

[osg-users] [osgPlugins] osgAnimation precision

2010-03-23 Thread Garrett Cope
Hi, I noticed that osgAnimation::animation::update uses floating point precision rather than double for it's calculations. Was there a reason for this choice? I'm experiencing a noticeable loss of precision in my animations at this point. Thanks for your help, Jamie -- Read

[osg-users] TexGen for large surface

2010-03-23 Thread Sid Vic
Hi, ive created a surface (e.g. terrain) by the delaunaytriangulator. the generated traingle-mesh looks fine and now i want to place a texture on top of it. Could someone explain me the steps for usage with texgennode? What i did so far: - ive looked at the osgspotlight example here is my

[osg-users] positioning osg model at lat, lon

2010-03-23 Thread Akilan Thangamani
Hi, I tried to place cessna model at given latitude and longitude on a earth model created by geotiff earth file warped over sphere (similar to the example osgSimulation). But the model is positioned at some strange place. The way I do placing is, ... .

Re: [osg-users] StatsHandler and GraphicsContext

2010-03-23 Thread Jean-Sébastien Guay
Hi Robert, The Stats are meant to be on screen, so it looks for a graphics window, a pretty natural association normally. Except that in some apps, the only context available might not be a graphics window since it will be rendering offscreen... Which is my case. Perhaps trying

Re: [osg-users] 2.8.3 testing

2010-03-23 Thread Paul Martz
Jim Brooks wrote: Had compile errors on FreeBSD 8. Fixed with these two lines: src/OpenThreads/pthreads/CMakLists.txt IF(HAVE_PTHREAD_SETAFFINITY_NP) IF(NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD) #---fix--- ADD_DEFINITIONS(-DHAVE_PTHREAD_SETAFFINITY_NP) ENDIF(NOT CMAKE_SYSTEM_NAME

Re: [osg-users] Changing mouse cursor

2010-03-23 Thread Maxim Gammer
// osgViewer::Viewer::Windows windows; viewer-getWindows(windows); for(osgViewer::Viewer::Windows::iterator itr = windows.begin(); itr != windows.end();++itr) { //(*itr)-useCursor(false); (*itr)-setCursor(osgViewer::GraphicsWindow::NoCursor); } 2010/3/23 Trajce (Nick) Nikolov

Re: [osg-users] StatsHandler and GraphicsContext

2010-03-23 Thread Robert Osfield
On Tue, Mar 23, 2010 at 3:23 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: Perhaps trying GraphicsWindow's first then in none are available fall back to any GraphicsContext's that are available. If you're OK with this way of doing it I'll do that and submit it. I'm OK with

Re: [osg-users] ANGLE - a possible helper under Windows?

2010-03-23 Thread Alok Priyadarshi
Hi Robert, What is the release schedule for OSG 3.0? I would also love to showcase something based on OSG in Google IO which is on May 19th. Can you think of an existing OSG demo that can be ported to GLES 2.0? The motivation behind using Native Client instead of WebGL is that in addition to

Re: [osg-users] positioning osg model at lat, lon

2010-03-23 Thread Nilsson Lars
Hi, computeLocalToWorldTransformFromLatLongHeight take lat,lon as radians, not degrees. Regards Lars -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Akilan Thangamani Sent: den 23 mars 2010 16:19 To:

Re: [osg-users] ANGLE - a possible helper under Windows?

2010-03-23 Thread Robert Osfield
Hi Alok, On Tue, Mar 23, 2010 at 4:00 PM, Alok Priyadarshi al...@chromium.org wrote: What is the release schedule for OSG 3.0? I don't have a specific schedule for OSG 3.0, I have set a couple of feature targets for 3.0 that haven't yet been tackled - the key one being shader composition. I

Re: [osg-users] [osgPlugins] osgAnimation precision

2010-03-23 Thread Garrett Cope
Michael, Thanks for the reply. I figured that was probably the reason, but wanted to check since it seems that other plugins (like osgParticle) carry the double precision through the update functions. I think all of the update functions would have to be changed over to fix my problem, but it

[osg-users] osgocean performances

2010-03-23 Thread Trajce (Nick) Nikolov
Hi Community, I ve worked so far on standard PC architecture, middle range, and I was kind of frustrated with the performances of osgocean. So I build something heavy, like i7 3.3GHz, 3 SLI and was expecting to see huge difference, With high res ocean I got from 10Hz to 17-20Hz. Kind a

Re: [osg-users] [osgPlugins] osgAnimation precision

2010-03-23 Thread Michael Platings
I see what you mean, yes all the update() and getValueAt() functions would have to be changed. I don't think this is too application specific to be worthy of attention though. Matrices can already be customised to use doubles or floats using OSG_USE_FLOAT_MATRIX, so I think it would be appropriate

Re: [osg-users] Playing smoothly a big video

2010-03-23 Thread Serge Lages
Hi all, Still having problems playing my big video. Here is our current state : - On a single screen setup (with only one GT 220 GeForce), with a composite viewer and 4 windows (450x800 each window), it plays smoothly at 60 fps with a fluid video, no problem here. - On the destination setup :

Re: [osg-users] [osgPlugins] osgAnimation precision

2010-03-23 Thread Robert Osfield
Hi Michael, On Tue, Mar 23, 2010 at 5:37 PM, Michael Platings mplati...@gmail.com wrote: I see what you mean, yes all the update() and getValueAt() functions would have to be changed. I don't think this is too application specific to be worthy of attention though. Matrices can already be

Re: [osg-users] Playing smoothly a big video

2010-03-23 Thread Bruce Wheaton
Serges, I do something similar - at least with the multiple GPUs, and multiple videos. I have a machine here with very similar spec running Linux, I could maybe try your code tomorrow. On a side note, we had problems with frame rate fluctuations on our previous (heavily threaded)

[osg-users] 2.8.3-rc1 tagges

2010-03-23 Thread Paul Martz
Hi all -- Things are looking pretty stable so far, so I've gone ahead and tagged release candidate 1. You can check it out from here: http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.8.3-rc1/ Please test as soon as your schedule allows and report any problems. See

Re: [osg-users] 2.8.3-rc1 tagges

2010-03-23 Thread Bruce Wheaton
Sorry, Paul, did the Mac OS X frameworks and Xcode stuff get updated properly? I saw you were looking for help (afraid I'm too new to the project to offer). Bruce On Mar 23, 2010, at 12:10 PM, Paul Martz wrote: Hi all -- Things are looking pretty stable so far, so I've gone ahead and

Re: [osg-users] 2.8.3-rc1 tagged

2010-03-23 Thread Paul Martz
Bruce Wheaton wrote: Sorry, Paul, did the Mac OS X frameworks and Xcode stuff get updated properly? I saw you were looking for help (afraid I'm too new to the project to offer). XCode project files were added and are in rc1 (thanks, Stephan). I have a Mac, but primarily use it as a *nix box

Re: [osg-users] 2.8.3-rc1 tagges

2010-03-23 Thread Robert Osfield
Hi Paul, I've done a check out of 2.8.3-rc1 and it everything (including wrappers, examples and package targets) builds just fine under Kubuntu 9.04. So thumbs up so far :-) I've run out of daytime here so will have to come back to doing runtime testing tomorrow morning. Thanks for your

Re: [osg-users] osgocean performances

2010-03-23 Thread Kim Bale
Hi Nick, Paul (Palumbo) and I have been working on a new VBO ocean technique which uses instances of the ocean tiles to create the ocean surface rather than doing a mass copy of vertices for the entire surface on each frame. Using this technique the number of tiles that need to be updated on each

Re: [osg-users] osgocean performances

2010-03-23 Thread Kim Bale
Nick, One thing I forgot. To test the VBO code use the flag --vbo when running the examples. Kim. On 23 March 2010 22:08, Kim Bale kcb...@googlemail.com wrote: Hi Nick, Paul (Palumbo) and I have been working on a new VBO ocean technique which uses instances of the ocean tiles to create

Re: [osg-users] [osgPlugins] osgAnimation precision

2010-03-23 Thread Cedric Pinson
When i wrote the code i did it with float, because i always did it like that. I dont see any objection to use double because most of time code use double in osg. I will have a look to migrate the code to use double. Cheers, Cedric -- Provide OpenGL services around OpenSceneGraph and more +33

Re: [osg-users] osgQt: compile error in moc_QGraphicsViewAdapter.cxx

2010-03-23 Thread David Glenn
Hi, [Arrow] I use QT 4.5.2 and the only issue I've had is timing. if you look at the example code osgViewerQT you will notice that there is a QTimer that is set to keep OSG from free running. I have had times that I have had to increase the time delay because when I upgraded to the latest QT

Re: [osg-users] [osgPlugins] osgAnimation morphing

2010-03-23 Thread Roland Smeenk
Hi Jamie, I contributed the morphing code, but first had to check how it worked again. In the OpenSceneGraph-Data directory is a file morphing.osg that contains a base face with two morph targets. You can load it in osganimationviewer to see how it animates. If you open up the .osg file you

Re: [osg-users] 2.8.3-rc1 tagges

2010-03-23 Thread Paul Martz
Robert Osfield wrote: Hi Paul, I've done a check out of 2.8.3-rc1 and it everything (including wrappers, examples and package targets) builds just fine under Kubuntu 9.04. So thumbs up so far :-) I've run out of daytime here so will have to come back to doing runtime testing tomorrow morning.

Re: [osg-users] 2.8.3-rc1 tagged

2010-03-23 Thread Bruce Wheaton
Things are going pretty well, until I tried osgMovie - seems like a -- framework OpenThreads flag is still in the Target. Oh, wait, it's in a few places - osgViewer too. Am I right that it can be safely removed now? The target seems to be gone from the Xcode file. osgViewerCocoa was

Re: [osg-users] 2.8.3-rc1 tagged

2010-03-23 Thread Paul Martz
Bruce Wheaton wrote: Things are going pretty well, until I tried osgMovie - seems like a --framework OpenThreads flag is still in the Target. Oh, wait, it's in a few places - osgViewer too. Am I right that it can be safely removed now? The target seems to be gone from the Xcode file. Huh,

[osg-users] [osgOcean] Error with osgOcean-VBO Example!

2010-03-23 Thread Tian Ma
Hi, I have updated 'branch\osgOcean-VBO' project though 'SVN', and compiled it sucessfully. When I run the 'oceanExample_SIMPLE.exe', an 'Memory Error' occured. I have a screen shot bellow! When I debug this, a break occured at: 'oceanSurface-getOrCreateStateSet()-setMode(GL_LIGHTING,