Re: [osg-users] OpenSceneGraph-2.8.2 release candidate three tagged

2009-07-17 Thread Jean-Sébastien Guay
Hi Paul, Interesting, VS9's cl.exe reports that /Z7 option as "enable old-style debug info". I guess progress isn't everything if you want integrated debug information :) Well the name "old-style" might also mean that there are drawbacks to using that option... I wouldn't know if the only ef

Re: [osg-users] HUD not resizing

2009-07-17 Thread Jean-Sébastien Guay
Hi Vincent, This sounds like a great idea, but the problem remain the same : the HUD will be resized automatically... just because it is a HUD... the callback is the same thing like a RESIZE event on a handler I have, it gave me the event, but do not forbid the HUD to resize with the window,

Re: [osg-users] Camera Move example

2009-07-20 Thread Jean-Sébastien Guay
Hello Danny, I'm trying to move my camera forward and backward as the event of up/down key. You're on the right track with your subclass of osgGA::GUIEventHandler. This class's handle() can set the camera's view matrix using camera->setViewMatrix() (or the convenience setViewMatrixAsLookAt()

Re: [osg-users] Geometry Culling

2009-07-20 Thread Jean-Sébastien Guay
Hi CG, I've uploaded a video http://www.youtube.com/watch?v=X4xgFzaBBWs to show the problem I'm facing when rendering a geometry. Any advices? Yes, that's most definitely z-fighting. Try moving the geometry higher above the terrain, or setting the near and far planes as close to each other

Re: [osg-users] How to decode .ive file?

2009-07-20 Thread Jean-Sébastien Guay
Hi Akilan, My terrain DB contains lots of .ive files(binary files). I want to decode the file in program to know about its children's details. This I want to do before running my viewer. Is OSG provides interface for such activities? You can convert .ive to .osg with osgconv: osgconv in.

Re: [osg-users] ATI and RTT with FBO

2009-07-20 Thread Jean-Sébastien Guay
Hello Martin, I try to render in a texture with osg. And it works. I thougth that is no problem. I have a NVIDIA GeForce 8800 GT. Now I try to start my program on another computer and it doesn't work. This computer use a ATI FireGL V5600 graphic card. It seems that the problem is a driver pro

Re: [osg-users] GPU Monitoring for OSG

2009-07-21 Thread Jean-Sébastien Guay
Hi Nadia, What software can I use to monitor how much of the graphics card is used when I run a certain application, that uses OSF? I want to see how much my application uses the GPU In OSG you can use the stats handler (add osgViewer::StatsHandler to your viewer and press the 's' key at ru

Re: [osg-users] Frame rates vary dramatically across runs

2009-07-21 Thread Jean-Sébastien Guay
Hi Michele, It seems the issue was caused by using shadow maps that were too large. I switched back to 4096 x 4096 and all is well. 4096^2 is already large... Some of our cards here (9800GT) don't support them (rendering slows down to ~3fps when at 4096^2, when it's at 60fps steady at 2048^2

Re: [osg-users] Frame rates vary dramatically across runs

2009-07-21 Thread Jean-Sébastien Guay
Hi Wojtek, As I was summoned by "shadow" spell Haha! :-) Last time I checked OSG was also creating accompanying color buffer for the depth shadow map. Which usually multiplies GPU memory alocation by two (assuming RGBA is 32 bit and Z is 32 bit). Wow, isn't that a bug? It surprises me th

Re: [osg-users] Setting up window with GraphicsWindowWin32

2009-07-21 Thread Jean-Sébastien Guay
Hi Vic, How do you use GraphicsWindowWin32? I haven't found any tutorials or samples using it and I can't figure it out by looking at the documentation. You don't generally need use GraphicsWindowWin32 directly. If you're on a Windows system, creating any viewer (osgViewer::Viewer, osgViewe

Re: [osg-users] Frame rates vary dramatically across runs

2009-07-21 Thread Jean-Sébastien Guay
Hi Wojtek, I am not sure... I believe that it was impossible to use depth only FBO when they were initially introduced into OpenGL . But now it seems possible at least on NVidia's because I made such modificattion and it works ( in fact it gave me shadowing speedup improvements). But I did no

Re: [osg-users] rectangle behind osgText

2009-07-21 Thread Jean-Sébastien Guay
Hi Terry, Does OSG have any sort of convenience routine for drawing a semi-transparent rectangle behind a block of osgText? This would make text a little easier to read against distracting background imagery. Not that I know of, but you're right, it's something that I have often needed to do

Re: [osg-users] Setting up window with GraphicsWindowWin32

2009-07-22 Thread Jean-Sébastien Guay
Hi Vic, I'm making a game/simulation-engine as a learning project and I want it to be able to display windows of different sizes. For example when it starts you get a menu in a small window and when you click "start" in the menu another window open up in full screen in which you can navigate

Re: [osg-users] OpenSceneGraph-2.8.2 release candidate three tagged

2009-07-22 Thread Jean-Sébastien Guay
Hi Paul, Right, that is what I originally suspected. So is there any point to the debug packages *in their current form*? Yes, they allow you to compile your own project in debug mode. They don't allow you to debug into the OSG itself, but otherwise they're required to get your own apps to

Re: [osg-users] Frame rates vary dramatically across runs

2009-07-22 Thread Jean-Sébastien Guay
Hi Wojtek, I think if it gives a verifiable gain (less video memory used for depth component RTT) then you can submit it. I saw direct improvement on GF 7800. On newer boards its smaller unless the OSG application is GPU memory bound. Which happens quite often in our practice. But even if

Re: [osg-users] Handling other image file extensions when original one is missing

2009-07-22 Thread Jean-Sébastien Guay
Hi Alexandre, Let's say I have a openflight model with .rgb texture, when converting this one to an ive file, if the rgb texture file is missing (say temp.rgb in this case) there will be no texture and that makes perfectly sense. But a cool feature would be that if there is not associated rg

Re: [osg-users] Frame rates vary dramatically across runs

2009-07-22 Thread Jean-Sébastien Guay
Hi Wojtek, GL_EXT_framebuffer_object spec allows FBOs without color attachments. http://www.opengl.org/registry/specs/EXT/framebuffer_object.txt see issue (45) ). Its only an intutition but I suspect there were times that despite the specs both attachments were required by the drivers and FBO

Re: [osg-users] rectangle behind osgText

2009-07-22 Thread Jean-Sébastien Guay
Hi Terry, After some more searching I found that there is already a BOUNDINGBOX draw mode in osgText::Text. It draws an outline around the block of text. It looks unfinished, though, because it can only draw with colorMultiplier as the color and it has no extra margin. It's easy to adapt this

Re: [osg-users] Setting up window with GraphicsWindowWin32

2009-07-22 Thread Jean-Sébastien Guay
Hi Vic, Thank you! That appears to work! It allows me to open several windows at once, though the program (and the windows that open) are not responsive for some reason. Could be my fault, not sure. How do I associate a osgViewer::Viewer with a osg::GraphicsContext so that it renders inside o

Re: [osg-users] Setting up window with GraphicsWindowWin32

2009-07-22 Thread Jean-Sébastien Guay
Hi Vic, osg::ref_ptr view; should be osg::ref_ptr view = new osgViewer::View; or else view is default-constructed, and ref_ptr sets its pointer's value to 0 (NULL) in its default constructor (as the debugger correctly told you). Hope this helps, J-S -- __

Re: [osg-users] Setting up window with GraphicsWindowWin32

2009-07-23 Thread Jean-Sébastien Guay
Hi Vic, Oh and one thing, the program is still not responsive. The background in the window that opens is plain white and in the task manager it sais "not responding". I'm guessing this could have something to do with event handling, no? Hard to say without seeing code. I suggest you start w

Re: [osg-users] OpenSceneGraph-2.8.2 release candidate three tagged

2009-07-23 Thread Jean-Sébastien Guay
Hi Paul, Yes, they allow you to compile your own project in debug mode. They don't allow you to debug into the OSG itself, but otherwise they're required to get your own apps to compile and run in debug mode at all. Don't you just ha^H^H love windows... Well, to be fair, that's not Windows's

Re: [osg-users] Collision Response

2009-07-23 Thread Jean-Sébastien Guay
Hi Brett, I found intersection of a line segment with a triangle mesh using intersection visitor in osg.But I dont want the line segment to penetrate into the triangle mesh.Can someone help me in doing this using osg please. OSG is not a collision detection library, it's a graphics library.

Re: [osg-users] OpenSceneGraph-2.8.2 release candidate three tagged

2009-07-23 Thread Jean-Sébastien Guay
Hi all, I would recommend that Jose Luis simply install CDash somewhere on openscenegraph.org if possible. The install is fairly simple for a PHP/MySQL webapp and I would be happy to lend assistance with setup or ongoing maintenance if needed. Yes, I'll see with

[osg-users] CDash site now under openscenegraph.org

2009-07-23 Thread Jean-Sébastien Guay
Hi all, Some of you may have noticed that nightly builds have not been showing up on the public CDash dashboard recently. http://www.cdash.org/CDashPublic/index.php?project=OpenSceneGraph That's because the public CDash build dashboard has a build limit which we exceeded recently. See this t

Re: [osg-users] [3rdparty] OSGOcean reflection is not mirrored

2009-07-23 Thread Jean-Sébastien Guay
Hi Martin, That reminds me, is there a way to set the height of the ocean? Not yet, but I'll be needing that soon too, it was on my ToDo list. You can always implement it and submit it here, if you get to it before I do... :-) Theoretically it should just amount to inserting a transform be

Re: [osg-users] [3rdparty] OSGOcean reflection is not mirrored

2009-07-23 Thread Jean-Sébastien Guay
Hi Kim, Adding in a transform between OceanScene and OceanTechnique would be ok, aslong as it's just a translation on the z axis. Any other transformations (scaling x/y trans, rotations) would cause problems with the mipmap level calculations and the tracking of the sea relative to the camera po

Re: [osg-users] Frame rates vary dramatically across runs

2009-07-24 Thread Jean-Sébastien Guay
Hi Robert, Wojtek, Robert Osfield wrote: The code in RenderStage is mainly there as fallback to avoid limits applied by the first FBO supporting drivers. Removing this requirement should now be possible - we can do this and then do a call for testing. That's what I thought. I think that woul

Re: [osg-users] Frame rates vary dramatically across runs

2009-07-24 Thread Jean-Sébastien Guay
Hi Wojtek, We all agree. Lets make atachment selection explicit. My proposal was just an rhetoric response (if I may say so;-) to rhetoric question Robert asked. OK, so who does it? :-) If you have the time, I'd be more comfortable if you made the change, as I haven't touched that code (on

Re: [osg-users] [build] Help building OSG 2.8.1 with CMAKE

2009-07-24 Thread Jean-Sébastien Guay
Hi David, My Path Variable looks like this: C:\Praktikum\OpenSceneGraph-2.8.1\bin;C:\Praktikum\OpenSceneGraph-2.8.1\Data When you say "my path variable" do you mean PATH? The data files will be looked for in OSG_FILE_PATH, not PATH. That one is for executables and DLLs... So set OSG_FIL

Re: [osg-users] [build] Help building OSG 2.8.1 with CMAKE

2009-07-24 Thread Jean-Sébastien Guay
Hi David, Ah ok, so I created a new Variable named it OSG_FILE_PATH and gave it the value "C:\Praktikum\OpenSceneGraph-2.8.1\Data" is that what you meant? If yes it is still not working, it still says "osgviewerd: No Data loaded" If you added the variable in your System Properties, then you n

Re: [osg-users] [build] Help building OSG 2.8.1 with CMAKE

2009-07-24 Thread Jean-Sébastien Guay
Hi David, I had one more quick question, I can load in osg files, but what about the lua files? lua is a scripting language, not a 3D model file format... OSG wouldn't know what to do with it. There is an osgLua project that allows you to use OSG from lua scripts, though I don't know if it'

Re: [osg-users] Frame rates vary dramatically across runs

2009-07-24 Thread Jean-Sébastien Guay
Hi Wojtek, Smart move. I can do this. But only if you take the "evangelization" part ;-) I don't know what evangelism means in this context... It seems to me that it just allows users to make better use of the resources they have. But yeah, if you equate evangelism with being opinionated, I

Re: [osg-users] [build] Help building OSG 2.8.1 with CMAKE

2009-07-24 Thread Jean-Sébastien Guay
Hi David, Hey, Thanks a lot for those tips, they were really helpfull... I got it set up now! Now I have to play arround a bit ;) My pleasure. I know how hard it can be when you're starting out and trying to get used to your tools. It takes a while to get comfortable with all that. Happy

Re: [osg-users] Frame rates vary dramatically across runs

2009-07-24 Thread Jean-Sébastien Guay
Hi Robert, Ahh so we're all just evangelists round here then :-) I'm not the one who said it :-) J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/

Re: [osg-users] osgscreencapture offscreen rendering - clamping floats

2009-07-24 Thread Jean-Sébastien Guay
Hi Brian, I've been working with the osgscreencapature example to use pbuffers for offscreen rendering. I'm having a problem with floating point values being clamped [0.0 - 1.0]. Any ideas on how to turn the clamping off? There's been discussion about this in the past, check the archives. I

Re: [osg-users] shader newbie question

2009-07-24 Thread Jean-Sébastien Guay
Hi Bob, Even if there’s only one stateset object created, do I still have to set it for the geometry nodes, or will they inherit from the parent path? You intuition is correct, nodes and drawables under the one where you set the shaders/uniforms will inherit them. You can even change a shade

Re: [osg-users] osgscreencapture offscreen rendering - clamping floats

2009-07-24 Thread Jean-Sébastien Guay
Hi Brian, Sorry about replying to an eajavascript:BOQ('javascript:abPreSubmit ("h_ShimmerSend")')rlier message. I thought changing the subject and removing the message text would be OK. I'm curious how your client knew that I used an old osgOcean message. Rookie mistake :-) There are headers

Re: [osg-users] order of update callbacks

2009-07-27 Thread Jean-Sébastien Guay
Hi Bob, Hi All, is there a defined order for update callbacks? I see examples of interest to me about Uniform updatecallbacks for shaders (osgparametric), and I have Group node updatecallbacks, and I’m trying to understand the ordering of them in case I have to worry about dependencies betwe

Re: [osg-users] [3rdparty] osgOcean 1.0 (LGPL) Released

2009-07-28 Thread Jean-Sébastien Guay
Hello Peter, I'm getting this error when I try to compile the 1.0 source with Cmake using the vs08 option CMake Error at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): The "debug" argument must be followed by a library. Could someone please give me any ideas on why it is saying this? s

Re: [osg-users] problems with svn repository

2009-07-28 Thread Jean-Sébastien Guay
Hi Paul, Hi Robert, Jose -- For the past five days I have been trying to update (or checkout) the current svn trunk and have been unable to do so. After updating (or adding) several files, I get the following message: Error: REPORT of '/svn/osg/!svn/vcc/default': Could not read response body:

Re: [osg-users] problems with svn repository

2009-07-28 Thread Jean-Sébastien Guay
Hi Jose Luis, (sorry, my reply originally went to you directly, I had intended it to go to the list) I'm after this issue, but still working on it. It is not clear where the bug is, subversion, apache, apr... or even a networking problem. Thanks for reporting, I will ping the list once we

Re: [osg-users] MDI application with osgViewer::Viewer on dual monitors

2009-07-29 Thread Jean-Sébastien Guay
Hi Jeff, I can't help you with your C++/CLI MDI issues, but this one I can answer. On another topic, I recently downloaded some OSG2.8.1 dlls and the dll names are all prefixed with "osg55-". What's that all about? This was done around OSG 2.2-time, in order to avoid DLL hell. It effectivel

Re: [osg-users] [3rdparty] osgOcean 1.0 (LGPL) Released

2009-07-29 Thread Jean-Sébastien Guay
Hi Peter, as far as the dependencies goes, it doesn't even get me that far to ask for that Don't show the advanced options, that's just noise and doesn't relate to your current problem. If you just check what values it gives for the OSG libraries, and if they're not right fix them man

Re: [osg-users] create a image

2009-07-29 Thread Jean-Sébastien Guay
Hello Martin, This is totally unrelated to your question: Please don't reply to an existing message when you want to start a new thread of discussion. Please start a new message instead. If you don't want to type the mailing list address (as I suspect that's the main reason people keep doing

Re: [osg-users] Deadlock when loading osg.dll, singletons are evil

2009-07-29 Thread Jean-Sébastien Guay
Hi Tanguy, We've encountered several times a random deadlock that would happen when starting our application. After some playing around, we've identified the problem to be quite a subtle one. What you're describing makes sense in some way, but I have two questions: 1. Why have there not been

Re: [osg-users] Draw time vs. GPU time Stats question

2009-07-30 Thread Jean-Sébastien Guay
Hello Alex, Is it fair to say that the Draw time in the OSG stats measures the time needed to sort and call the display lists of the Geometry nodes obtained by the Cull stage and make the other frame rendering related OpenGL calls? And GPU time is the time that the GPU spends rendering the ge

Re: [osg-users] Combining particles with different textures

2009-08-01 Thread Jean-Sébastien Guay
Hi Martin, I'm trying to work out how to combine particles with different textures. I want to create a fire particle system where I can dynamically change the amount of fire-, smoke- and spark-particles. I haven't found a good way to do this yet. I have no specific answers to offer, but have

Re: [osg-users] [3rdparty] osgOcean 1.0 (LGPL) Released

2009-08-07 Thread Jean-Sébastien Guay
Hello Peter, that got cmake to build it, but now when trying to compile, it gives tons of errors and fails compiler is vs08 sp1 32 bit Are you sure about that? This: C:\Program Files\Microsoft Visual Studio 9.0\VC\ in your log suggests you're using VC9. Perhaps you have mixed-up inclu

Re: [osg-users] glMultiTexCoord4f , OSG with OGL code

2009-08-07 Thread Jean-Sébastien Guay
Hi Pau, Thanks Ulrich, but I think this set one parameter for each vertex, and I really need 32 values for each vertex (that's what I'm using multitexcoord) Finally I think I have this problem solved, I had some problems with the glew initialization. Now I'm having other problems uploading a

Re: [osg-users] Hello from New Orleans

2009-08-07 Thread Jean-Sébastien Guay
Hi all, It was great meeting all of you at the BOF. Great presentations all around, and very encouraging to see such an active community in China. I've started a page on the wiki: http://www.openscenegraph.org/projects/osg/wiki/Support/SIGGRAPH2009 Perhaps people can post their presentations

Re: [osg-users] ShaderGen and GL3

2009-08-09 Thread Jean-Sébastien Guay
Hi Paul, Hi all -- I've finally had a chance to review the ShaderGen code. If I understand correctly, this was added as a step towards eventual support for OpenGL 3. However, I'm surprised by the OpenGL 2 / GLSL 1.20 nature of the shader code, specifically the extensive dependency on built-in

Re: [osg-users] [3rdparty] osgOcean 1.0 (LGPL) Released

2009-08-09 Thread Jean-Sébastien Guay
Hi Peter, VS 05 is VS 8.0, and VS 08 is VS 9.0 or at least thats what it installs as The use of 08 instead of 2008 is what confused me. Using the 4-digit year would be clearer, you have to admit. vs08 vs8 vs80... Please be clear when you write. So now that that's cleared up, I have to

Re: [osg-users] Hello from New Orleans

2009-08-09 Thread Jean-Sébastien Guay
Hi Paul, Added one photo. I can never recall all the wiki inline commands, so if someone else could pretty that up for me, I'd appreciate it. Done :-) Thanks, J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com

Re: [osg-users] [3rdparty] osgOcean 1.0 (LGPL) Released

2009-08-09 Thread Jean-Sébastien Guay
Hi Peter, I have a gut feeling the issues are caused by the changes in syntax in vs 2008. There should be no changes in syntax, it's all standard C++. But as I said, I won't be able to investigate this right now, I don't have access to VS 2008 now. J-S -- __

Re: [osg-users] ShaderGen and GL3

2009-08-09 Thread Jean-Sébastien Guay
Hi Paul, Hi J-S -- ShaderGen could have avoided the use of deprecated built-in uniforms and deprecated predefined vertex attributes by using custom uniforms and generic vertex attributes. These features are already available in GL2, so testing would not have been an issue, had the author chos

Re: [osg-users] ShaderGen and GL3

2009-08-10 Thread Jean-Sébastien Guay
Hi Paul, Hi J-S -- Good discussion. Thanks for responding to my OSG BOF pleas to start discussing GL3 in osg-users. :-) Heh, I think this kind of discussion is long overdue... OpenGL 3.0 has been out for a year after all. :-) I have the start of a NodeVisitor that will change all Geometry c

Re: [osg-users] [HELP] Cull time in stats?

2009-08-10 Thread Jean-Sébastien Guay
Hi Jimmy, I would like to know what is the Cull time in the osg stats (the blue bar) means. I notice it changes together with draw time when I zoom in/out of my scene. Cull time is both the time to do the actual culling, and the time it takes to traverse the scene graph and build the draw li

Re: [osg-users] [HELP] Cull time in stats?

2009-08-10 Thread Jean-Sébastien Guay
Hi Jimmy, Regarding of having a flat scene graph. Does it matter if the whole scene will always be seen? Would it still improve the performance if I balance the scene graph more? In the case where the whole scene will always be seen (think about it carefully, though, because I think these c

Re: [osg-users] ShaderGen and GL3

2009-08-10 Thread Jean-Sébastien Guay
Hi Paul, I think we want to allow for apps that don't specify vertices from host code, and forcing the app to call Geometry::setVertexPointer in such a case would obfuscate the code. If an app wants to use only generic vertex attributes, OSG needs to change to allow this. Sure, but it can a

Re: [osg-users] [HELP] Cull time in stats?

2009-08-10 Thread Jean-Sébastien Guay
Hi Jimmy, What will be a good-sized chunks? The bigger the better? You need to experiment on the video cards you will be using, but in general, as I said before in this thread, thousands per vertex array (perhaps tens of thousands). My scene are contains numbers of models which consist of

Re: [osg-users] viewer invisible?

2009-08-11 Thread Jean-Sébastien Guay
Hi Rabbi, How can I set a viewer invisible for RTT? This is an FAQ. Create a pbuffer graphics context. Please search the archives for more details. J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com

Re: [osg-users] line intersection performance

2009-08-11 Thread Jean-Sébastien Guay
Hello Andrew, I am trying to implement something like this, in order to compute hit tests on a line. I don't need to know which objects intersected the line, or get a list of objects/intersections out, just need to know "Is there an intersection or not". The original posts are included below

Re: [osg-users] Get the top coordonates from screen of an object

2009-08-11 Thread Jean-Sébastien Guay
Hi Adrien, I'm trying to put a text on the top of a node, a sort of caption. This caption can be added for mutliple objects without being stacked with other captions. My idea is to add those caption to the global scene by getting the coordinates of the top of the followed node and project the

Re: [osg-users] transparent object sorting and back face culling

2009-08-13 Thread Jean-Sébastien Guay
Hi Rabbi, The transparent blending works fine now. How ever the sorting does seem currect. Sometime the transparent object disappears or not drawn at all. , It view dependent Is there anyway it can be fixed? This is an FAQ. Since OSG does only coarse sorting when rendering things in the trans

Re: [osg-users] transparent object sorting and back face culling

2009-08-13 Thread Jean-Sébastien Guay
Hi Rabbi, Is there anyway that I can enforce drawing the objects inside first before drawing the outside membrane? Thank you! In OSG SVN there is a SceneGraphOrderRenderBin which will render objects in the order they're in the parent's child vector, so if you add the inside object first and

Re: [osg-users] transparent object sorting and back face culling

2009-08-13 Thread Jean-Sébastien Guay
Hi Rabbi, I see there is a osgUtil::RenderBin, is that what you are refering to? If not, is the class you mentioned going to be released soon? Check if the RenderBin header in the version of OSG you use has SortMode TRAVERSAL_ORDER as one possible sort mode. If so, then that's it. If not,

Re: [osg-users] Problem with lighting when scaled

2009-08-14 Thread Jean-Sébastien Guay
Hi David, I scale the PositionAttitudeTransform by (5,5,5) for example, because my model is too small, but then the lighting isnt sufficient. Is there a way to scale the lighting as well ? Or how can I keep the light constant with scaling the model ? This is an FAQ. Set GL_RESCALE_NORMAL or

Re: [osg-users] [build] Need help including COLLADA support

2009-08-14 Thread Jean-Sébastien Guay
Hi Wally, After a bunch of tweaks I got the CMake config to bring in the Collada (DAE) plugin project and then got things compiled in both Debug and Release. I can now successfully use the osgconv program to convert models over to DAE!!! There were instructions here, but they're obviously ou

Re: [osg-users] ShaderGen and GL3

2009-08-14 Thread Jean-Sébastien Guay
Hi Paul, Hi again, Robert. If you really must use the "gl_" name for matrix uniforms, then perhaps OSG's path forward for GL3 is to use the compatibility profile, which preserves all that old GL1/2 stuff. But it won't be "real" GL3 if you take this approach. I don't think that's a good solut

Re: [osg-users] Visual Studio 2005

2009-08-16 Thread Jean-Sébastien Guay
Hi Andrew, Michael, Here, follow this guide: http://www.macs.hw.ac.uk/modules/F24VS2/Labs/OpenSceneGraphTutorial.pdf No, please don't. It's horribly out of date. Please use the documentation on the OSG web site, which has gotten much better, in particular: http://www.openscenegraph.org/pr

Re: [osg-users] Reference count catcher?

2009-08-19 Thread Jean-Sébastien Guay
Hi Ufuk, thank you for your attention.. :) actually i didn't know that it is deleted on "suitable time". i always expected it to be deleted when i set to NULL. Perhaps it's as simple as: the render back-end had a ref_ptr to your geometry because it was busy rendering it. So when you set your

Re: [osg-users] Compress image

2009-08-20 Thread Jean-Sébastien Guay
Hi Ufuk, yes, i need mipmapping but i want to store these mipmapped textures on disk. i dont want so many calculations on rendering... so i wanted to store these images on disk. You could just use a tool that converts your images to .dds with embedded mipmaps, I think in recent versions of O

Re: [osg-users] Shdows Problem o vista

2009-08-23 Thread Jean-Sébastien Guay
Hi Danny, does anybody has any idea on that issiue? We've used both osgShadow::ShadowMap and the newer osgShadow::LightSpacePerspectiveShadowMap (and variants) on XP, Vista and Linux without any problems such as what you describe. The only thing I can think of is if you don't have recent vi

Re: [osg-users] osgOcean application

2009-08-23 Thread Jean-Sébastien Guay
Hi ??? (please sign with a real name so we can address you correctly, this makes the list more personal) In the ocean example attached osgOcean,i loaded a 3d model which is named spaceship.osg from osg offical data, but i did not find the transparent colorful flame trail of spaceship,which e

Re: [osg-users] re :Kim and Jean-Sebastien Guay in osgOcean application(render transparent objects)

2009-08-23 Thread Jean-Sébastien Guay
Hi houxl, Please keep the subject line intact when you reply to a message, so the threading follows. 1)as kim said,add another transparency processing pass,and make osgocean render transparent objects well. I hope that kim will add transparency processing functionality soon. If added,pleas

Re: [osg-users] dotosgwrapper

2009-08-24 Thread Jean-Sébastien Guay
Hi Eric, Where do you think it is the best place to post it for comments ? Directly to you and then putting it on the website ? Maybe I can start a topic on that to have viewpoints on subjects for HOWTOs... There's a reason why the main OSG web site is a wiki, it's exactly for this kind of e

Re: [osg-users] Rethinking 3rd party dependencies?

2009-08-29 Thread Jean-Sébastien Guay
Hi Philip, Sherman, I agree with the basic principle that building everything from source removes lots of uncertainty from the equation. The only problem I have with that is that whenever you want to bump the version number of one of the dependencies, you run the risk that some changes in the

Re: [osg-users] getParentalNodePaths() or getWorldMatrices() assert on deallocation in debug mode

2009-09-01 Thread Jean-Sébastien Guay
Hello Sebastien, But are you sure you are talking about an assert while deallocating memory of an osg matrix list (my case) ?? What Robert is talking about is that when you link libraries and executables that use a different runtime (for example, linking release libraries into a debug execu

Re: [osg-users] [forum] Old archive

2009-09-02 Thread Jean-Sébastien Guay
Hi Kim, This looks really useful, I'm surprised I missed the original post. Anyone know where I can get the attachment from? It's at the bottom of the post here: http://thread.gmane.org/gmane.comp.graphics.openscenegraph.cvs/6026 or I've attached it too, for your convenience. :-) J-S -- __

Re: [osg-users] Cryptic png plugin loading error resolved

2009-09-02 Thread Jean-Sébastien Guay
Hello Dženan, While debugging a project today, I came to realize that 3rd party bin folder has to be in the path. If it is not, png plugin does not load, and within osg-using project you have no warning of this. Actually, if you set OSG_NOTIFY_LEVEL=DEBUG, you will see that osg loads osgdb_

Re: [osg-users] [3rdparty] change ocean height

2009-09-03 Thread Jean-Sébastien Guay
Hello Sebastien, I would like to know if there is a way to change the ocean surface height. All the objects of my scene are located at a 100 altitude on the Z axis while the ocean is a 0. I have some local modifications to osgOcean to allow this, but I am on vacation right now so I will not

Re: [osg-users] [3rdparty] osgOcean : Integration into existing Database / Application

2009-09-03 Thread Jean-Sébastien Guay
Hello Sebastien, I would like to update this post to know if there is a way to integrate osgOcean material (and shader) to an existing surface like it was mentioned ? I don't know what you're referring to exactly, the post you're replying to contains discussions about making lakes and rivers

Re: [osg-users] [3rdparty] osgOcean : Integration into existing Database / Application

2009-09-03 Thread Jean-Sébastien Guay
Hi Sebastien, I was talking about rivers and lakes, and I had my answer. Well, if you just want the surface appearance, then you can surely examine the osgOcean source to see how reflection/refraction is done, what the shaders do, etc. and do the same for your river/lake surface. Doing vert

Re: [osg-users] Quictime Plugin on Windows

2009-09-03 Thread Jean-Sébastien Guay
Hi Serge, I would like to know if anyone is using with success the Quicktime plugin on Windows ? I had compiled it a while back, and wrote a note about it on this page: http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio/VisualStudioPlugins but it's pretty

Re: [osg-users] Structs in GLSL shaders with OSG

2009-09-03 Thread Jean-Sébastien Guay
Hi Wyatt, I posted this via the mailing list, but it seems to never have gone through. Err, yeah, it came through fine (all three times) http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg31649.html J-S -- __ Jean-Sebastien G

Re: [osg-users] [osgPlugins] can't compile VRML plugin

2009-09-07 Thread Jean-Sébastien Guay
Hi Maurizio, I was following the tutorial here (http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio/VisualStudioPlugins) I wrote that tutorial, but note that it's been a very long while since I've compiled the OpenVRML plugin (or OpenVRML itself, for that

Re: [osg-users] Problem with a program in osg qsg

2009-09-07 Thread Jean-Sébastien Guay
Hi Brett, Kim, I am actually trying the program of callback in osg quick start guide which rotates the cow using a node callback. when I change code viewer.run() to while(!viewer.done()) { viewer.frame(); } I am unable to see the models on the screen.What is the diffrence between

Re: [osg-users] VertexArray with Pointer??

2009-09-09 Thread Jean-Sébastien Guay
Hi Martin, Now I change the values of _x and _y during the runtime, but the geometry isn't changing. I would like pass a pointer to the osg::Vec3 and use the function "dirtyDisplayList". Well, maybe I don't understand something, but you can always get the vertices from the array and modify t

Re: [osg-users] Temporal Averaging

2009-09-10 Thread Jean-Sébastien Guay
Hi Paul P. and JP, SHORT FORM of my original question: If I can have a shared scene graph attached to multiple camera, how do I update my scene graph (i.e. change a MatrixTransform) such that different scenes are drawn for each camera? I don't think you can easily do this in a single OSG frame

Re: [osg-users] Render FBOs with main camera disabled - possible?

2009-09-10 Thread Jean-Sébastien Guay
Hi JP, is it possible to let OSG render a bunch of FBO cameras without the main camera rendering and calling swapbuffers? If so, how do I disable the main camera for a few OSG frame() calls? You can have a whole bunch of prerender RTT cameras in you scene graph, and they will all render befo

Re: [osg-users] [osgPlugins] Problems creating MSVC project files for png plugin using CMake

2009-09-10 Thread Jean-Sébastien Guay
Hi Jason, Right now I am experiencing some troubles generating the project for the png plugin -- I downloaded the 3rdparty package which seems to contain all necessary libraries, also I set the variables ACTUAL_3RDPARTY_DIR, PNG_INCLUDE_DIR, PNG_LIBRARY and PNG_LIBRARY_DIR, but CMake just quietly

Re: [osg-users] 3D model database

2009-09-11 Thread Jean-Sébastien Guay
Hi Jason, Bruce, You should be able to get these numbers by iterating over the primitive sets in each drawable. You'll have to count differently depending on primitive type and primitive set type, but it's not that difficult (there may already be a visitor in OSG that does this, I'm not sure)

[osg-users] Ann: osgBoostPython

2009-09-12 Thread Jean-Sébastien Guay
Hi all, I'd like to announce the initial availability of osgBoostPython, a very work-in-progress python wrapping of OSG. The project is on Google Code here: http://code.google.com/p/osgboostpython/ Seeing how osgSwig had its problems wrapping recent versions of OSG, and wanting to do somethi

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread Jean-Sébastien Guay
Hi Sebastien, Also please remember that NVidia have systems for logging bugs, and fixing them, so go chase them about it. Yes Robert is right, if you've found a possible driver bug (even if it's only specific to one series of cards) then you can report it and they will probably fix it. In th

Re: [osg-users] Ann: osgBoostPython

2009-09-16 Thread Jean-Sébastien Guay
Hi Martin, I'm glad someone is interested in this. :-) I like your approach. The python interface has a good pythonic feeling, subclassing NodeVisitor works fine and building up geometry does also work fine! I'm definitely going to contribute to this. Great! I'm still working out how to do

Re: [osg-users] Render FBOs with main camera disabled - possible?

2009-09-16 Thread Jean-Sébastien Guay
Hi JP, thanks, it seems to work. Attached a simple test app modified from osgscreencapture. If with vsync on (60Hz) I render one pbo and then 1 normal, the stats report 120fps, 2 pbo and 1 normal gives 180fps... Excellent, good to know it worked out. J-S -- __

Re: [osg-users] OSG Threading

2009-09-16 Thread Jean-Sébastien Guay
Hi Prasad, I do not have a loop but I will call display() when ever is required. When I wrote only viewer.frame() as soon as it come out of display() the osgwindow(scene) is closing. Well of course if your viewer instance goes out of scope at the end of display(), the viewer will close.

Re: [osg-users] Ann: osgBoostPython

2009-09-18 Thread Jean-Sébastien Guay
Hi Gerwin, Great effort! It will be interesting to look at the way the Boost wrappings behave, especially when compared to our osgswig stuff. Yes, I think so too. Glad to see you're not seeing this as a competition, I was a bit nervous as to how you'd react since you've been doing this for a

[osg-users] osgQtBrowser example

2009-09-18 Thread Jean-Sébastien Guay
Hi Robert, The new osgQtBrowser example gives this build error on my machine: 1>-- Build started: Project: Examples osgQtBrowser, Configuration: Release Win32 -- 1>Generating moc_QGraphicsViewAdapter.cxx 1>Compiling... 1>osgQtBrowser.cpp 1>QWebViewImage.cpp 1>QGraphicsViewAdapter.cpp 1

<    1   2   3   4   5   6   7   8   9   10   >