[osg-users] osgText crash - latest nVidia FX drivers

2008-10-23 Thread sherman wilcox
Hello everyone - I'm experiencing a crash using the latest nVidia driver when I bring up the stats window and am wondering if anyone else is experiencing the same problem. My hardware is a Dell Workstation using a nVidia FX4600 card. I'm convinced the issue is related to the driver upgrade. I was r

Re: [osg-users] Sequence and Problems with the osgsequence Example

2008-10-23 Thread Alan Ott
I don't have access to the configuration I was using last week, so I tried to reproduce the problem on a different computer (running the same OS) but to no avail. I tried the Debug, Release, and even the configurtion in between (where you don't specify either, and get no debug symbols and no

[osg-users] animtk release 0.0.9

2008-10-23 Thread Cedric Pinson
Hi all, I am happy to release a new version of animtk, Animtk is an animation toolkit for OpenSceneGraph. Have a look it could interest some of you. Thanks a lot to Jeremy (author of osgPango and osgWidget) who contribe often on this project. The 0.0.9 release drastically simplifies usage f

[osg-users] Optimization and lots of objects

2008-10-23 Thread Mike Greene
I guess I need to be a little more detailed in my project: I am simulating a vehicle driving down a test range with a sensor looking for targets. As a target is found, I add a geode->shapeDrawable(sphere) for each discovered target. As more hits are made by the sensor, the orientation, positio

[osg-users] osg::ApplicationUsage::setDescription() causes exception 0xC0000005 on Vista

2008-10-23 Thread Matt McPheeters
Greetings, Hopefully someone else has already experienced this and has a fix: We have a command-line viewer program that runs perfectly fine on XP but crashes almost immediately in main() on a Vista build. Here is the offending code: int main( int argc, char **argv ) { osg::set

Re: [osg-users] The best way to make some object in a scene render after and infront everything else.

2008-10-23 Thread Chris Denham
Robert, Just read you message again realizing that you were suggesting putting the extra camera in the scene immediately above the Dragger node? Yes? I will try it. thanks again. Chris. - Original Message - From: "Chris Denham" <[EMAIL PROTECTED]> To: "Robert Osfield" <[EMAIL PROTECTE

[osg-users] Shaders and Switches

2008-10-23 Thread Brian R Hill
Folks, I'm trying to setup my scene so that every "thing" can be rendered using fixed function, simple shaders, complex shaders. I've created a switch with 3 children (fixed, simple, complex) and each child has the "thing" as it's child. switch fixed group without shaders thing simple

[osg-users] Problem with simultaneous use of DepthPartitonNode, AutoTransform, and Multiple Views

2008-10-23 Thread Chris Glasnapp
Hello, I have a single scene that is being rendered multiple times on the same screen. The entire scene is contained within a DepthPartitionNode. I am rendering a velocity vector arrow originating from my object using an AutoTransform node so the arrows maintain their size regardless of their di

Re: [osg-users] Advice on interacting with osgShadow

2008-10-23 Thread Wojciech Lewandowski
David, All classes belonging to ViewDependentShadow group derive shaders from StandardShadowMap. If you look at these shaders you will notice that they are split into main vertex and fragment shader and shadow vertex and fragment shader. Main shaders do nothing extraordinary they simply emulate

[osg-users] osgmultitexturecontrol example data base?

2008-10-23 Thread Alejandro Aguilar Sierra
Hi, Where can I find a osgmultitexturecontrol ready example data base to run the example? Thanks in advance. -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osgmultitexturecontrol example data base?

2008-10-23 Thread Robert Osfield
HI Alejandro, On Thu, Oct 23, 2008 at 4:10 PM, Alejandro Aguilar Sierra <[EMAIL PROTECTED]> wrote: > Where can I find a osgmultitexturecontrol ready example data base to > run the example? You'll need to build your own I'm afraid, this particular example has been written primarily to test OSG fun

Re: [osg-users] The best way to make some object in a scene render after and infront everything else.

2008-10-23 Thread Alberto Luaces
Hi Chris, If you are using several cameras to create the HUD, you don't need the renderbins anymore for this case. Every camera will only render the scene it has attached (addChild). You can control the ordering as seen in the osghud example, with osg::Camera::setRenderOrder(). Alberto El Jue

Re: [osg-users] Osg Motion Blur

2008-10-23 Thread Robert Osfield
Hi Claudio, See osgmotionblur example, it uses the accumulation buffer to implement motion blur. Robert. On Thu, Oct 23, 2008 at 4:04 PM, Claudio Arduino <[EMAIL PROTECTED]> wrote: > Hi ! > I need to realize a real time motion blur for high speed moving objects, > i need to set what Node must be

[osg-users] Osg Motion Blur

2008-10-23 Thread Claudio Arduino
Hi ! I need to realize a real time motion blur for high speed moving objects, i need to set what Node must be included in motion blur and what node do not be included. OSG has some technology in this regard? thanks!! ___ osg-users mailing list osg-users

Re: [osg-users] The best way to make some object in a scene render after and infront everything else.

2008-10-23 Thread Chris Denham
Hi Robert, Hmmm, now I seem to have come full circle back to the start of this thread. lol. If I use a hud camera, don't I then have the messy problem of making it only render the Dragger in the scene? Or perhaps there is a way to get main camera to render renderbins 0-10 and the other camera t

Re: [osg-users] Examples for OSG+OpenGL+HLSL

2008-10-23 Thread Thrall, Bryan
Gordon Tomlinson wrote on Thursday, October 23, 2008 7:39 AM: > If you want to use shaders then you will have to use GLSL Or the ARB shader assembly language (see osg::VertexProgram and osg::FragmentProgram), if you aren't interested in a high level shader language :) -- Bryan Thrall FlightSafety

Re: [osg-users] Optimization

2008-10-23 Thread Can T. Oguz
Yes that's what I call "visible only faces"; the outside walls. The only difference is that I have one geometry object for each face now. But it meets the requirements now. Once again, thanks for the amazingly fast and helpful messages today, Can 2008/10/23 Robert Osfield <[EMAIL PROTECTED]> >

Re: [osg-users] Optimization

2008-10-23 Thread Robert Osfield
HI Can, If you can live with a fixed geometry, then recreate a new one when required, then I'd recommend creating your own geometry for the boxes and placing them into small number of large geometries. Given a static datasets you could even potentially just create the outside walls of the boxes a

Re: [osg-users] The best way to make some object in a scene render after and infront everything else.

2008-10-23 Thread Robert Osfield
Hi Chris, If you want to clear the depth buffer then you need to use a separate RenderStage rather than just a RenderBin. A RenderStage is a special RenderBin that adds the frame buffer clear prior to its traversal, and any copy to image/texture operations after traversal. By default the OSG ha

Re: [osg-users] Optimization

2008-10-23 Thread Can T. Oguz
For my case, once a box is piled, there's no need to move the object, I can even regenerate the whole entity if a change is necessary (this is a CAD app. not a game). But I'm sure if someone needs both optimization and manipulation, there will be a little bit pain, he/she'll have to traverse to the

Re: [osg-users] The best way to make some object in a scene render after and infront everything else.

2008-10-23 Thread Chris Denham
Hi David, Thanks for the suggestion... and the poetry! However, I think forcing the z-depth will suffer from the same rendering problems as switching off the depth test. i.e. the stuff in the overlay will not render correctly without depth value tests. With Roberts suggestion, if I can also work

Re: [osg-users] Sequence and Problems with the osgsequence Example

2008-10-23 Thread Alan Ott
Robert, To reproduce the problem, I simply ran the osgsequence example from OSG 2.6.0 in Linux. The sequence example just sticks at the first frame on both sequences. The 2.4.0 version of this example executes the sequences as would be expected. I'll try the 2.6.1 version today and let you k

Re: [osg-users] Optimization

2008-10-23 Thread Mike Greene
What happens if you need to periodically update size, position, orientation of objects? Without using a PAT and putting everything in a single geometry is this possible? Mike Greene ___ osg-users mailing list osg-users@lists.openscenegraph.org http://

Re: [osg-users] Advice on interacting with osgShadow

2008-10-23 Thread Jean-Sébastien Guay
Hi David, Good to know you've got some progress. Regarding shader management, I think that it *would *be appropriate for OSG to provide something here. ( Obviously I realise that this is a large amount of code - I'm arguing about the appropriateness, not actually demanding that someone provid

Re: [osg-users] The best way to make some object in a scene render after and infront everything else.

2008-10-23 Thread Chris Denham
Hi Robert, Excellent! That was too easy ;-) so I have a secondary question. Is there a way to get it clear the depth buffer between renderbins so I can render with depth test on? The manipulator geometry does not render correctly over itself with the depth test switched off. Cheers. Chris. Da

Re: [osg-users] Localization problem

2008-10-23 Thread Roman Grigoriev
Thanx Robert! Problem solved by using wchar wchar_t str[]=L"Привет мир!!!"; text->setText(str); All works. Thanx again P.S.but this statement doesn't work osgText::String textstr; textstr.set("азимут",osgText::String::ENCODING_UTF8); text->setText(str); -Original Message- From: [EMAIL

Re: [osg-users] Having trouble grasping OSG concepts

2008-10-23 Thread Jean-Sébastien Guay
Hello Frank, [SNIP long, very helpful text] Heh, speed-read that as "SNIP very long, helpful text" :-) Yes, I can be long-winded sometimes. :-) J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.c

Re: [osg-users] Localization problem

2008-10-23 Thread Robert Osfield
Hi Roman, Have you actually looked at the available options in osg::Text::String? Go have a look at the header and you'll see: /** * Types of string encodings supported */ enum Encoding { ENCODING_UNDEFINED, /// not using Unic

Re: [osg-users] [Flightgear-devel] OT, real life: my first turboprop

2008-10-23 Thread Csaba Halász
On Thu, Oct 23, 2008 at 12:25 PM, Torsten Dreyer <[EMAIL PROTECTED]> wrote: > > Sorry for the long posting Apology accepted :) Nice report, thanks for sharing. Have you figured out what was wrong with the autopilot? -- Csaba/Jester ___ osg-users maili

Re: [osg-users] Examples for OSG+OpenGL+HLSL

2008-10-23 Thread Gordon Tomlinson
HLSL is not supported by OpenGL and thus not supported by OSG If you want to use shaders then you will have to use GLSL HLSL is DirectX only __ Gordon Tomlinson [EMAIL PROTECTED] IM:

Re: [osg-users] Localization problem

2008-10-23 Thread Roman Grigoriev
I tried this way but it doest work osgText::String textstr; textstr.set("азимут"); text->setText(textstr); Thanx in advance Bye Roman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roman Grigoriev Sent: Thursday, October 23, 2008 4:06 PM To: 'OpenSceneG

Re: [osg-users] Optimization

2008-10-23 Thread Can T. Oguz
Same model after removal of PATs : Event .06 Update .01 Cull 5.36 Draw 8.15 GPU 4.95 FPS = ~60 Thank you very much Robert, Can 2008/10/23 Can T. Oguz <[EMAIL PROTECTED]> > And the results are : > > Event .05 > Update .01 > > Cull *15.26* > Draw 7.21 > GPU 7.05 > > That's just what you saw. N

Re: [osg-users] Localization problem

2008-10-23 Thread Roman Grigoriev
Hi Robert! Could you please give me example how to use your method Thanx in advance Bye -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Thursday, October 23, 2008 3:51 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Localization

Re: [osg-users] Advice on interacting with osgShadow

2008-10-23 Thread David Spilling
Hi J-S, Wojciech, Thanks for the help. I've got shadow maps working (I'm on 2.6.1) and when I get round to it, I'll migrate up to the 2.7 ViewDependant stuff and see if I can get the other techniques working as well. > Now, an add-on library could be written that would help unify the art > pipel

Re: [osg-users] Localization problem

2008-10-23 Thread Robert Osfield
HI Roman, The osgText library has an osgText::String class for handling full range of sybmol types so you use this to set the Text's value rather than the std::string based setText(..) method you are using right now. Robert. 2008/10/23 Roman Grigoriev <[EMAIL PROTECTED]>: > Hi guys! > > I try to

Re: [osg-users] The best way to make some object in a scene render after and infront everything else.

2008-10-23 Thread David Spilling
Chris, You can achieve this affect several ways... > (aside : http://www.netpoets.com/classic/poems/008003.htm ) Another way is to use osg::Depth to force the z value of your overlaid stuff to zero, hence ensuring it is always there. David ___ osg-us

[osg-users] Localization problem

2008-10-23 Thread Roman Grigoriev
Hi guys! I try to translate my osg text to my local language have wrong symbols I've done it using this way. Please help me if someone did it. Thanx in advance Bye std::string timesFont("arial.ttf"); osg::StateSet* stateset = geode->getOrCreateStateSet(); stateset-

Re: [osg-users] Playing movie on OSG for novice

2008-10-23 Thread Ümit Uzun
Gi Stephan, Hmm, I tried the current svn, and it plays quicktime-videos just fine. > > What graphics-card are you using? Perhaps it's a driver related problem, > the movie playback utilizes PixelBufferObjects. I am using ATI Mobility Radeon HD 2300 on 2GB Memory and Core2 Duo CPU and XP OS and O

Re: [osg-users] The best way to make some object in a scene render after and infront everything else.

2008-10-23 Thread Robert Osfield
Hi Chris, You can achieve this affect several ways but the simplicist would probably be to state the RenderBin number of the subgraph that you want o overlay to a high figures, something like 11 or more to draw after the default transparent bin, then disable the depth test so the all fragments of

Re: [osg-users] Examples for OSG+OpenGL+HLSL

2008-10-23 Thread Wang Rui
Hi, dmu_rhx HLSL is for Microsoft Direct3D only. I don't think it can work with OpenGL or OSG. osgteapot is a good example for realize how OSG and OpenGL work together. And there are many other examples, such like the Navy OSG tutorials, tell you how to use GLSL in OSG. Wang Rui 2008/10/23 dmu_rh

Re: [osg-users] Examples for OSG+OpenGL+HLSL

2008-10-23 Thread Rosario Leonardi
ehm... HLSL is the high level shading language for direct X, I don't know any porting of openscenegraph for directX. If you want to use some HLSL shader you can convert them to GLSL with the hlsl2glsl tool. http://sourceforge.net/projects/hlsl2glsl dmu_rhx ha scritto: Hi! Robert. Thank you. O

[osg-users] Examples for OSG+OpenGL+HLSL

2008-10-23 Thread dmu_rhx
Hi! Robert.Thank you. Osgteapot example is a pure opengl code. Can you tell me other examples for OSG+OpenGL+HLSL. Thanks. rhx?HI rhx? 20008/10/22 dmu_rhx : > Hi! > I have developed a program with opengl+cg. Now I want to use this program in > OSG, and I know tha

[osg-users] The best way to make some object in a scene render after and infront everything else.

2008-10-23 Thread Chris Denham
I am trying to acheive an effect whereby some geometry in a scene is rendered after and in front of everything else. What I want to be able to do is show an osgManipulator::Dragger node attached to an object in a scene, but show it infront of everything, I guess a bit like a HUD, but where only

Re: [osg-users] Playing movie on OSG for novice

2008-10-23 Thread Stephan Maximilian Huber
Hi, Ümit Uzun schrieb: Hi Stephan, Firstly thanks so much for your reply. I think anyone has no idea about problem of qt_plugin except you. I have tried your suggestion and the result is same. It opens the video's first frame on the viewer but video's sound frame is going on. I can't find wher

Re: [osg-users] Optimization

2008-10-23 Thread Can T. Oguz
And the results are : Event .05 Update .01 Cull *15.26* Draw 7.21 GPU 7.05 That's just what you saw. Now I'll get rid of PATs and position each box with its 'center' parameter. I'll keep you posted with the results. Thanks again, Can 2008/10/23 Robert Osfield <[EMAIL PROTECTED]> > Hi Can, >

Re: [osg-users] Coordinate Frame Problems when using LineSEgmentIntersector

2008-10-23 Thread Robert Osfield
Hi Paul, I'm afraid I can't easily follow your email, THE CAPTIALS DON'T MAGICALLY MAKE IT EASIER TO FOLLOW, rather the opposite. At a guess code it be simply that you aren't taking into account that fact the that Intersections store the intersection in local coordinates of the object intersect a

Re: [osg-users] Optimization

2008-10-23 Thread Robert Osfield
Hi Can, Your bottleneck is almost certainly CPU, in both your model cases. Using display lists is important. As for faces, if you are concerned about fill then enable OpenGL back face culling, and don't both with any scene graph representations of it. Please use the StatsHandler to profile what

Re: [osg-users] Simplifier algorithm

2008-10-23 Thread Robert Osfield
Hi Paul, On Wed, Oct 22, 2008 at 10:58 PM, Paul Martz <[EMAIL PROTECTED]> wrote: > My investigation into this shows that the Simplifier is great at what it > does -- collapsing edges and preserving exact boundaries -- and can't > (easily) be made to simplify models such as sbad.osg in my prior pos

Re: [osg-users] Sequence and Problems with the osgsequence Example

2008-10-23 Thread Robert Osfield
Hi Alan, osgsequence is working for me. Could you explain your exact steps in recreating the problem in osgsequence so that others can reproduce the problem. If we can get others to reproduce the problem then hopefully we'll be able to see a pattern emerge that can help use home in on what the

Re: [osg-users] Playing movie on OSG for novice

2008-10-23 Thread Ümit Uzun
Hi Stephan, Firstly thanks so much for your reply. I think anyone has no idea about problem of qt_plugin except you. I have tried your suggestion and the result is same. It opens the video's first frame on the viewer but video's sound frame is going on. I can't find where is my omission. Movie f

Re: [osg-users] Optimization

2008-10-23 Thread Can T. Oguz
Please note that PositionAttitudeTransform nodes are multiple, and the rest is single (Geode - Geometry ...) 2008/10/23 Can T. Oguz <[EMAIL PROTECTED]> > Hi Robert, > > I've attached a model description and a screen capture to make it clear. > What I understand is that : > > Model 1, with high nu

Re: [osg-users] choppiness on 2nd graphics card with 4 monitors

2008-10-23 Thread Robert Osfield
Hi Joe, This sounds like a driver issue. Could you please try enabling vsync, as then you will get a better picture of the load balancing in a usage model that end users should be using. Robert. On Wed, Oct 22, 2008 at 5:39 PM, Joe Lyga <[EMAIL PROTECTED]> wrote: > I'm having an issue with a pr

Re: [osg-users] Having trouble grasping OSG concepts

2008-10-23 Thread Frank van Meurs
Jean-Sébastien Guay wrote: Hello Frank, I think that it's probably due to the fact that I'm fairly new at this whole game. [SNIP long, very helpful text] Hope this helps, Yes, a great deal. Thanks a lot! I think I'll be paying a visit to some bookshops very soon. :) Frank

Re: [osg-users] Simplifier algorithm

2008-10-23 Thread Paul Melis
Paul Martz wrote: My investigation into this shows that the Simplifier is great at what it does -- collapsing edges and preserving exact boundaries -- and can't (easily) be made to simplify models such as sbad.osg in my prior posting. I think we should leave the Simplifier unchanged, as it pro