Re: [osg-users] osgart 2.0 with osg2.9.8 video blinking

2010-09-29 Thread Huan Wei
I am very sorry, i tried it again and texture rectangle working, so Thomas you are right. but this bug would be corrected. Thank you! Cheers, Huan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32156#32156

[osg-users] Stereo anaglyph: which glasses?

2010-09-29 Thread Francesco Argese
Hi, I have enabled anaglyph stereo visualization on my application and I have tried some red/cyan glasses. Watching app only with one eye at a time it appear that cyan lens works well (I see only one image without noise) while the red lens show ghosting problems. I have did a research among

[osg-users] Solved Re: Problem compiling 2.9.9 with Qt in MacOSX

2010-09-29 Thread Alejandro Aguilar Sierra
Hi, Apparently the only problem was that I had Qt 32bits only. I updated Qt to the latest version with cocoa and 64b support and OSG 2.9.9 compiled without complain. Thanks for the help anyway. ;-) -- A. On Tue, Sep 28, 2010 at 12:58 PM, Alejandro Aguilar Sierra algsie...@gmail.com wrote:

Re: [osg-users] Load of 8 bits image for creating texture

2010-09-29 Thread Adrien Chassard
Hi Robert, Thanks for your quick reply. I had done exactly what you've said. So something else should be wrong in my code (perhaps in the loading of the image). I have to investigate more... Thanks again, Regards, Adrien -- Read this topic online here:

Re: [osg-users] Stereo anaglyph: which glasses?

2010-09-29 Thread Ulrich Hertlein
Hi Francesco, On 29/09/10 17:03 , Francesco Argese wrote: I have enabled anaglyph stereo visualization on my application and I have tried some red/cyan glasses. Watching app only with one eye at a time it appear that cyan lens works well (I see only one image without noise) while the

Re: [osg-users] IPhone retina displays

2010-09-29 Thread Stephan Huber
Hi Tom, Am 29.09.10 02:43, schrieb Thomas Hogarth: Good news on this All seems to be working, I've also improved the IPhoneWindowingSystemInterface to handle true resolutions and multiple screens. So on IPad we should now be able to set a window to an external screen and also change the

Re: [osg-users] Problem loading images when migrating to new OSGViewer

2010-09-29 Thread Robert Osfield
Hi John, On Tue, Sep 28, 2010 at 6:36 PM, John Stokes jstokes2...@yahoo.com wrote: When I comment out the updated setComputeNearFarMode line of code, my globe and sky models show up correctly but my plane model disappears. Is there a correct cull setting that I should be using to get

Re: [osg-users] Problem compiling 2.9.9 with Qt in MacOSX

2010-09-29 Thread Robert Osfield
Hi Alejandro, You are hitting an issue with OSX support for building against 32bit/64bit in the same binary, in your case you are building the OSG to build both, but then trying to compile against a Qt lib which is 32bit only. Go into CMake and remove the x86_64 entry in the

Re: [osg-users] [3rdparty] OSG and SDL

2010-09-29 Thread Robert Osfield
Hi Matt, I'd recommend using SDL for joystick input and osgViewer for windowing as the later has far more flexible and powerful windowing and threading support. An example of mixing SDL for joystick input and osgViewer for windowing can be found in the applications/present3D application.

Re: [osg-users] Stereo anaglyph: which glasses?

2010-09-29 Thread Francesco Argese
Ulrich Hertlein wrote: Hi Francesco, Presumably you don't have a color-calibrated monitor, like most of us, so the chances that the red/cyan RGB values that are picked by OSG, the values sent to the monitor, and the actual color values displayed match your glasses are virtually zero.

[osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread lucie lemonnier
Hi, Can you explain me a little the function osg::EllipsoidModel::convertXYZToLatLongHeight? I don't understand why x and y are calculated based on height. If I changed the height of a model and I don't change the latitude and longitude, x and y change. Why? Thank you! Cheers, lucie

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread Robert Osfield
HI Lucie, The XYZ are in Earth Center Earth Fixed coordinates, not local coordinates to surface of the earth. Robert. On Wed, Sep 29, 2010 at 9:52 AM, lucie lemonnier lucielemonn...@hotmail.fr wrote: Hi, Can you explain me a little the function

Re: [osg-users] Add a new child

2010-09-29 Thread Cosimo Luigi Manes
Ulrich Hertlein wrote: On 28/09/10 18:45 , Cosimo Luigi Manes wrote: osgGA::CameraManipulator (the base class for the default manipulators) has a 'home()' method than will recompute the position if 'setAutoComputeHomePosition' is true. Thanks you for your answer. Could you post an

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread lucie lemonnier
Hi, I understood that the XYZ are in Earth Center Earth Fixed coordinates. So is it normal that X,Y are calculated based on height? In fact, I put a latitude, longitude and height on a model, I use osg::EllipsoidModel::convertLatLongHeightToXYZ to obtain the position x,y,z and I transform my

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread Robert Osfield
Hi Lucie, On Wed, Sep 29, 2010 at 10:43 AM, lucie lemonnier lucielemonn...@hotmail.fr wrote: I understood that the XYZ are in Earth Center Earth Fixed coordinates. So is it normal that X,Y are calculated based on height? I'm a bit confused by your question, in ECEF the coordinate is always

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread lucie lemonnier
Hi, Thank you for your reply. I will look at this. Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32173#32173 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Add a new child

2010-09-29 Thread Ulrich Hertlein
On 29/09/10 19:27 , Cosimo Luigi Manes wrote: Ulrich Hertlein wrote: On 28/09/10 18:45 , Cosimo Luigi Manes wrote: osgGA::CameraManipulator (the base class for the default manipulators) has a 'home()' method than will recompute the position if 'setAutoComputeHomePosition' is true.

Re: [osg-users] Stereo anaglyph: which glasses?

2010-09-29 Thread Jan Ciger
On Wed, Sep 29, 2010 at 10:35 AM, Francesco Argese kekk...@gmail.com wrote: How can I calibrate colours of my monitor? Are there some tools to do so? Look up ICC color profiles or color management: http://en.wikipedia.org/wiki/ICC_profile On the other hand, this isn't going to be of much use to

[osg-users] adding a grid to another plane

2010-09-29 Thread Nitin Rangari
hi all, i want to draw grid for that i am using osg::HeightField but it is drawing only in xy Plane. is it possible to draw in another plane?.. thanks and regard Nitin Rangari ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] PBOs and stutterless texture uploading

2010-09-29 Thread Ulrich Hertlein
Hi Eduard, On 28/09/10 6:08 , Eduard - Gabriel Munteanu wrote: I've been investigating an issue in Flightgear, an OSS flight sim using OSG. We have lots of stutter, usually in multiplayer, caused by loading new models (this happens whenever somebody join). Loading textures from disk happens

Re: [osg-users] [osgPlugins] ffmpeg plugin : big delay

2010-09-29 Thread Malek Baklouti
Hi, I've tested this patch, but the delay got worst?! :? :' Any idea? Thanks, Malek -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32178#32178 ___ osg-users mailing list

Re: [osg-users] [osgPlugins] ffmpeg plugin : big delay

2010-09-29 Thread Mikhail I. Izmestev
Hi, I've tested this patch, but the delay got worst?! :? :' Any idea? Ok, can you tell me which pts of first frame? I think you can decrease pts on first frame's pts instead m_stream-start_time. Mikhail. ___ osg-users mailing list

[osg-users] Save texture changes via fragment shader

2010-09-29 Thread Aitor Ardanza
Hi, I'm trying to implement a simple model painter. I detect the intersection with the mouse and loaded model, and I applied a red color to the area: [Image: http://img818.imageshack.us/img818/9672/painting.jpg ] You can see the selected point on the texture image. I edit the texture image

Re: [osg-users] adding a grid to another plane

2010-09-29 Thread Paul Martz
On 9/29/2010 4:40 AM, Nitin Rangari wrote: hi all, i want to draw grid for that i am using osg::HeightField but it is drawing only in xy Plane. is it possible to draw in another plane?.. osgWorks has a makeWirePlane() convenience function for this (See

Re: [osg-users] adding a grid to another plane

2010-09-29 Thread Paul Martz
On 9/29/2010 8:37 AM, Paul Martz wrote: i want to draw grid for that i am using osg::HeightField but it is drawing only in xy Plane. is it possible to draw in another plane?.. osgWorks has a makeWirePlane() convenience function for this (See osgworks.googlecode.com). Addendum: But

Re: [osg-users] [osgPlugins] ffmpeg plugin : big delay

2010-09-29 Thread Malek Baklouti
Hi Mikhail, Here is my log file with some log informations. Please let me know if you need more tests. (3) : [OSGFFMPEG DEBUG]205 m_stream-start_time 48774 (3) : [OSGFFMPEG DEBUG]207 pts 0 (3) : [OSGFFMPEG DEBUG]205 m_stream-start_time 48774 (3) : [OSGFFMPEG DEBUG]207 pts 0 (3) :

Re: [osg-users] adding a grid to another plane

2010-09-29 Thread Robert Osfield
H Nitin, Try using the HeightField::setRotation(Quat) method. Robert. On Wed, Sep 29, 2010 at 11:40 AM, Nitin Rangari nit...@cctech.co.in wrote: hi all,     i want to draw grid  for that i am using osg::HeightField but it is drawing only in xy Plane.     is it possible to draw in another

[osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Sajjad
Hello forum, I am using the adapter widget to run OSG viewer with Qt. When i try to port the osgsimplifier example in the OSG Qt viewer then the program crashes with the following message: terminate called after throwing an

Re: [osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Jean-Sébastien Guay
Hello Sajjad, Any hint ? With only this information, the only hint we can give you is to use the debugger. Running in debug, and enabling exception reporting, the debugger should break exactly where the crash occurs, and you should be able to go up the stack to see the source of the

Re: [osg-users] Creating a Visible Pivoting Vector/Cylinder

2010-09-29 Thread Richard Redding
Hi Tom, Thanks a lot for your input. I will be coding that out today so hopefully I can get that all set up! Thanks again, more info on the situation as it develops! ... Cheers, Richard -- Read this topic online here:

Re: [osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Sajjad
Hello Jean, Just ran the debugger. and crashes in the following line * viewer.frame(); ***' Any way to get around that ? Each frame is shown after the mesh is simplified(). In qt adapter the viewer class has two parents

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Lucie, This is how you would place your model... osg::Matrixd position; ellipsoid-computeLocalToWorldTransformFromLatLongHeight(osg::DegreesToRadia ns(lat), osg::DegreesToRadians(lon), altitude, position); transform-setMatrix(position); where transform is an

Re: [osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Jean-Sébastien Guay
Hello Sajjad, Just ran the debugger. and crashes in the following line * viewer.frame(); Are you running a debug build in the debugger? Do you have the debugging symbols for OSG? That specific line is not the site of the crash, it's something that

[osg-users] osgParticle restart...

2010-09-29 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
All, I have a simple question regarding osgParticle effects. Is there a simple way to restart the effects once they expire? For example, I have a burning object emitting a smoke effect that I want to restart after the smoke disappears. Is there a clean way to restart the smoke effect?

Re: [osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Rob Radtke
The only suggestion I can think of is to make sure you are using the single threaded threading model: setThreadingModel(osgViewer::Viewer::SingleThreaded); AFAIK, QT viewers will not work with any of OSG's multi-threaded models. Rob On 9/29/2010 9:35 AM, Sajjad wrote: Hello forum, I am

Re: [osg-users] Add a new child

2010-09-29 Thread Cosimo Luigi Manes
Ulrich Hertlein wrote: I'd recommend you read the OSG QuickStartGuide, it covers this and many other aspects of OSG. Basically what you need to do it modify the camera matrix to obtain rotation/translation and modify the field-of-view to zoom. thanks for the reply. I have already

[osg-users] VBO Memory Usage

2010-09-29 Thread Jason Beverage
Hi Robert, I've noticed some issues with memory usage when using VBOs. The attached example generates between 50K and 200K points per frame and creates a new geometry for them with VBO's enabled. If you run the example, it appears as if the VBOs aren't properly being deleted and my graphics

[osg-users] Extract ModelView Projection Matrix for GLSL Program version 150 and higher

2010-09-29 Thread Peter Wrobrl
Hi, gl_ModelViewProjectionMatrix and ftransform() are deprecated since GLSL Version 120 ( but still working ), in Version 150 not working at all. Is there a straight forward way to extract the current ModelView and Projection Matrices ( e.g. from StateSet ? ), without having to pass around the

Re: [osg-users] Extract ModelView Projection Matrix for GLSL Programversion 150 and higher

2010-09-29 Thread Wojciech Lewandowski
Hi Peter, Can't you use compatibility profile ? All stuff you mention is still available in compatibility profile. eg place it at the begining of GLSL Shader: #version 150 compatibility [shader code] Wojtek -- From: Peter Wrobrl