Re: [osg-users] Crash in nVidia driver : particles + dynamically adding/removing views

2009-11-27 Thread Jean-Sébastien Guay
that this issue is close to being put to rest... Thanks in advance, J-S Jean-Sébastien Guay wrote: Hi all, So I just wanted to post my latest code that can reproduce this issue, and see if I can get Robert's attention so he can check it out. It may be related to the crashes others

Re: [osg-users] Organising Geodes and Drawables

2009-11-27 Thread Jean-Sébastien Guay
Hi Martin, If I store them as drawables in the same Geode, I can create a surface mesh of just the top and bottom by having the same vertex array and different Geometry drawables. Actually, you can give any drawables the same vertex array if you want, even if the drawables are not part of t

Re: [osg-users] Simple Loading Tutorial

2009-11-30 Thread Jean-Sébastien Guay
Hello Sam, When I run the code to load a simple object (that you supplied above) with a direct path, I get no errors but osgviewer seems to load nothing, just the default blue background with no model. Ive tried different .osg and .obj files but no luck. If you're on Windows, make sure you

Re: [osg-users] How to compile osgOcean

2009-12-01 Thread Jean-Sébastien Guay
Hello Dominic, How do I have to use CMake for that, I'm sorry for this stupid question. It's not stupid. What platform are you using? On Windows, you run the CMake GUI. At the top you will have a field "Where is the source code ?", point that to the base osgOcean directory (the one that con

Re: [osg-users] Crash in nVidia driver : particles + dynamically adding/removing views

2009-12-01 Thread Jean-Sébastien Guay
Hi J.P., After press 3 I get the attached pic. Looks like the cow is being sucked into the matrix. I can still manipulate this view though, the particles seem stationary. I get the same thing as your screenshot here. On both Windows (Vista 32 bit) and Linux (Ubuntu 64 bit), OSG SVN trunk.

Re: [osg-users] video in osg

2009-12-01 Thread Jean-Sébastien Guay
Hi Nick, what kind of video is supported in osg? I am seeing directshow plugin, quicktime . What works on Linux? p.s. I am windows guy, but want to move to Linux shortly The ffmpeg plugin works on both Windows and Linux, and should support whatever your build of ffmpeg supports. Even s

Re: [osg-users] Windows 7 Aero Color Scheme issue

2009-12-01 Thread Jean-Sébastien Guay
Hi Mark, 1. When starting from the debugger, the image will appear for a moment, then vanish with "--screen 0" but not with "--screen 1". With "--screen 1" the image shows up and stays up, with "--screen 0" I have to use Alt tab to find the window to get it to redisplay. 2. When starting f

Re: [osg-users] Shadows on Windows XP

2009-12-02 Thread Jean-Sébastien Guay
Hi Mauricio, On linux everything works very well, but on Windows XP the shadows move with mr.makeRotate(latitud, osg::Y_AXIS); but don't move with mt.makeTranslate(x, 0.0, 0.0); Are you sure your light source is not just a directional light? Directional lights change lighting (and shad

Re: [osg-users] osgShadow - Application crash

2009-12-03 Thread Jean-Sébastien Guay
Hello Manish, After termination of the program , I got following message in the command window :- PixelBufferWin32::closeImplementation, wglReleasePbufferDCARB error: Invalid dev ice context (DC) handle. PixelBufferWin32::closeImplementation, wglDestroyPbufferARB error: Error code 32 216842

Re: [osg-users] osg::StateAttribute::PROTECTED usage for not effected from it's parental shaders.

2009-12-03 Thread Jean-Sébastien Guay
Hi Ümit, I have a shader and try implement to the ParentNode but I don't want to effect ChildNode with this shader. I want render ParentNode with Shader and render ChildNode with FixedFunction without any effect from it's parent's shader. I have tried to use osg::StateAttribute::PROTECTED but

Re: [osg-users] Shadows on Windows XP

2009-12-03 Thread Jean-Sébastien Guay
Hello Mauricio, please help me!!, i need that it works on windows i hope someone tests my code on windows and tell me if works or tell me if i have to change my code Here are screenshots on my machine (Windows Vista 32bit) running OSG SVN trunk (updated last night) compiled with VC++ 2005 (

Re: [osg-users] Shadows on Windows XP

2009-12-03 Thread Jean-Sébastien Guay
Hi Mauricio, Thank Jean No problem, be sure to come back and tell us if you find a fix to your problem... J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/

[osg-users] ScreenCaptureHandler and HUD cameras

2009-12-03 Thread Jean-Sébastien Guay
Hi Robert, I was using osgViewer::ScreenCaptureHandler today and noticed that it will add the capture callback to scenegraph cameras too (i.e. HUD cameras that are in the scene graph). I think this is a mistake. I think it should only add the callback to viewer cameras (either main or slave),

Re: [osg-users] osgShadow - Application crash

2009-12-04 Thread Jean-Sébastien Guay
Hi Manish, I have integrated Chipset and no additional 3d graphics card installed . Yes, I gathered as much from the error messages that you posted. Is Software rendering is possible ? For shadows, you really need Framebuffer Objects to get any acceptable performance. I have seen some int

Re: [osg-users] Setting fading property to node

2009-12-04 Thread Jean-Sébastien Guay
Hi Akilan, statSet->setMode(GL_LIGHTING, osg::stateAttribute::OFF); [...] osg::ref_ptr material=new osg::Material; material->setAlpha(osg::Material::face::FRONT_AND_BACK,0.5); statSet->setAttribute(material.get()); As Paul mentioned in a previous message in this thread, you need lighting

Re: [osg-users] ScreenCaptureHandler and HUD cameras

2009-12-04 Thread Jean-Sébastien Guay
Hi Robert, The ScreenCaptureHandler should just attach callbaks to the salves+master cameras that rendering to a graphics context, and aren't a RTT Camera. Camera's in the scene graph are nested within viewer cameras so won't need callbacks as well. I thought as much. OK, so I'll submit a fix

Re: [osg-users] Picking bug?

2009-12-04 Thread Jean-Sébastien Guay
Hi Fred, Simon, I turned all floats into doubles, 0.0f's into 0.0's, all osg::Vec3's into osg::Vec3d's... I still get the same behavior. Simon, why don't you submit your code changes (perhaps with a CMake switch to change the internal data type used between float and double at compile time,

Re: [osg-users] Picking bug?

2009-12-04 Thread Jean-Sébastien Guay
Hi Robert, This topic has arisen previously on osg-submissions, and my recommendation then was that support for double maths through the intersection code shouldn't be a compile option, but an runtime option, this way the ABI wouldn't change and you could enable it when you needed it. I still b

Re: [osg-users] Keep track of screen coordinates of an object

2009-12-05 Thread Jean-Sébastien Guay
Hello Martin, However, I still would like to be able to take a screen shot in the way I explained. I have recently implemented something similar, where if the screen-space bounding box of an object was smaller than 5 pixels in X or Y, an icon was displayed at the position of the object inst

Re: [osg-users] Shadows on Windows XP

2009-12-05 Thread Jean-Sébastien Guay
Hi Mauricio, I resolved my problem, i compiled OSG from SVN, and now on windows works very well :D Great, some weird problem with the binaries then? In another topic, i was watching your page and your professional life and saw that you studied Computer Graphics, and i want to ask you ,what s

Re: [osg-users] How does a osg::Drawable::UpdateCallback Work ?

2009-12-05 Thread Jean-Sébastien Guay
Hi Peter, I'm trying to set up an Update Callback in osg::Geometry to dynamically change the color of a vertex. I get no error, but my code is not evaluated ( cout in Callback is not printing ). I attached my Callback to osg::Geometry ( a simple Quad ) and setDataVariance( osg::Object::DYNAMI

Re: [osg-users] How does a osg::Drawable::UpdateCallback Work ?

2009-12-05 Thread Jean-Sébastien Guay
Hello Peter, Yes that was one problem, thx, but the expected is still not happening. At least the cout is printing now after I changed the method to update(). Any Ideas why its still not working ? Well, if the code is now being executed, you should be able to debug it by running it in a deb

Re: [osg-users] basic traversal problem

2009-12-07 Thread Jean-Sébastien Guay
Hello Trajce, I have osg file and I am doing traversal to get nodes with given name. In the osg file, I see the Geode with the name, however the visitor never gets there [...] virtual void apply(osg::Group& node) { for (unsigned int i=0; i Well first of all, you don'

Re: [osg-users] basic traversal problem

2009-12-07 Thread Jean-Sébastien Guay
Hi Nick, Thanks again for the support My pleasure. J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___

Re: [osg-users] Keep track of screen coordinates of an object

2009-12-09 Thread Jean-Sébastien Guay
Hello Martin, I tried what you explained and got it to work. Excellent, good to know I was of some help. J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/

Re: [osg-users] Trouble porting to vs2008, heap corruption

2009-12-10 Thread Jean-Sébastien Guay
Hi Chris, Usually the linker will yell and scream at you if you try to do this, so it usually doesn't happen accidentally and without the programmer knowing. I'm curious when you've seen the linker scream about mixing debug and release DLLs... I've seen plenty of users do it by mistake and

Re: [osg-users] Please test svn/trunk in prep for 2.9.6 dev release

2009-12-10 Thread Jean-Sébastien Guay
Hi Nick, - osgstereoimage (the image showed on the first frame and dissapeared) I assume you have two or more monitors? This is the multi-screen fullscreen bug that others have reported lately on the list when running on Windows. For some reason, recent versions of OSG when running fullscre

Re: [osg-users] Please test svn/trunk in prep for 2.9.6 dev release

2009-12-10 Thread Jean-Sébastien Guay
Hi Nick, set OSG_SCREEN=0 osgstereoimage This actually helped. Works now. And yes, I am on dual screen machine So that confirms that it's probably a widespread issue. As I said, I'll try to make some time to get to the bottom of it. Thanks for testing, J-S -- _

Re: [osg-users] OpenSceneGraph-2.9.6 developer release tagged

2009-12-10 Thread Jean-Sébastien Guay
Hi Robert, Excellent work to all who contributed, but especially to you since most of the grunt work on the big features (ports, texture pools) was done by you. I hope you're taking a bit of time to relax now before diving into something else... One quick question, given the amount of new fe

Re: [osg-users] Trouble porting to vs2008, heap corruption

2009-12-10 Thread Jean-Sébastien Guay
Hi Chris, I'll try to check, but since it's something I carefully avoid now, it may be a while. Well as Roger said, it's generally something like "conflicting default libraries". But when someone who doesn't really know they shouldn't do that runs their project and it seems to work until

Re: [osg-users] Develop a scalable binary file format for native OSG scenes?

2009-12-10 Thread Jean-Sébastien Guay
Hi Robert, I believe .osg would be the most appropriate extension, the header could declare which version of the format it is - whether it's binary, new ascii or old ascii. We could possible have a .osgb for binary. Stupid question, but if .osg is used for both binary and ascii how would we

Re: [osg-users] Clarification with regard to Dragger

2009-12-11 Thread Jean-Sébastien Guay
Hello Neil, When I click, sometimes the dragger is selected, sometimes not. If you want clicks to always select the dragger, then you can just use node masks. Use a given bit to indicate the dragger, then set the dragger to this node mask, and remove that bit from your other objects' node m

Re: [osg-users] Python users

2009-12-14 Thread Jean-Sébastien Guay
Hi Rizzen, What is the best OSG python library/wrapper to use? I see there are various versions: pyOSG, PyOSG and osgPython. Some project showed no activity since 2003. Some projects showed activity in the news yet files are a lot older. PyOSG does not seem to have a SVN on SourceForge, just old

Re: [osg-users] osgOcean synced thru multiple machines

2009-12-15 Thread Jean-Sébastien Guay
Hi Nick, I just got osgOcean compiled and running and it looks great !!! It does, doesn't it! Thanks to Kim Bale for all his hard work! One question. Is there a way to sync the waves on multiple machines ? Not in osgOcean itself, no. You'd have to come up with your own way. I guess you co

Re: [osg-users] Python users

2009-12-15 Thread Jean-Sébastien Guay
Hi Massimo, Sorry, my first reply went to you directly... I don't know why, sometimes "reply" replies straight to the sender, even though the mailing list should be changing the headers so that replies go back to the mailing list... i'm running osgboostpython

Re: [osg-users] Question regarding Culling issue in the SceneView

2009-12-15 Thread Jean-Sébastien Guay
Hi Robert, As Paul suggests CullVisitor::apply(osg::Camera&) handles in scene graph camera's, so will not handle the viewer level scene graph correctly so _camera->accept(*cullVisitor) won't behave correctly. Perhaps you could try replacing the for loop with _camera->traverse(*cullVisitor) as t

Re: [osg-users] Question regarding Culling issue in the SceneView

2009-12-16 Thread Jean-Sébastien Guay
Hi Colin, I tried adding an update callback to the top level camera and that did work. I checked the code and it does call accept: 346: _camera->accept(*_updateVisitor.get()); So it should work correctly (as of 2.8.2) Sorry, I was mistaken in saying that the cameras did not get the update vi

Re: [osg-users] Question regarding Culling issue in the SceneView

2009-12-16 Thread Jean-Sébastien Guay
Hi Robert, What these updateTraversal() methods do is switch of the traversal of the camera's subgraph when the camera subgraphs are traversed, so the children won't be traversed. This is done so that the scene graphs aren't traversed multiple times per frame, but... I believe in your case were

Re: [osg-users] Python users

2009-12-16 Thread Jean-Sébastien Guay
Hello Massimo, running the latest notes from the wiki main page all works fine. now i'm exploring the example code. Good to know you're getting better success now. have you never tried to add a python osgviewer inside a PyQt4 (or wx-python) gui ? No, sorry. If you try it let me know, I wo

Re: [osg-users] curl Plugun + OSG

2009-12-21 Thread Jean-Sébastien Guay
Hi Danny, Does it mean that I need to recompile OSG with this plugin or do I need to add reference to Visual Studio of these libs? How are you using OSG now? Are you using binary packages or did you compile it from source yourself? In the former case, you have two options, either continue

Re: [osg-users] Simple water effects

2009-12-22 Thread Jean-Sébastien Guay
Hi Dominic, I can't find the real worldz examples on the net, do you have the source? If that was part of the GLSL (orange) book, then check here: http://mew.cx/glsl/ Mike Weiblen (which is a member of this list) archived the 3DLabs GLSL stuff when it wasn't available from the 3DLabs site a

Re: [osg-users] Simple water effects

2009-12-22 Thread Jean-Sébastien Guay
Hi Kim, I have the code for all of this as a prototype, but I don't have the time to tidy it up and update library at the moment. If you are interested in making these modifications I would be more than happy to give you the code and walk you through it, otherwise it'll have to wait until I g

Re: [osg-users] curl Plugun + OSG

2009-12-22 Thread Jean-Sébastien Guay
Hi Danny, src lib include directory. As far as I understand, I need to add CURL_INCLUDE_DIR refers to libcurl\lib directory and CURL_LIBRAY refers to root of libcurl source directory? Seems to me CURL_INCLUDE_DIR should point to libcurl\include, and CURL_LIBRAY should be the filename of th

Re: [osg-users] Transforming nodes

2009-12-22 Thread Jean-Sébastien Guay
Hi Gordon, To me that seems a rather bad default to have for scaling on a DOF, I would have assumed the default would be 1,1,1 not 0,0,0 That's bitten me a few times too. Specifically when I create DOFs programmatically instead of reading an FLT file. Is there a reason why its 0,0,0, and

Re: [osg-users] Transforming nodes

2009-12-22 Thread Jean-Sébastien Guay
Hi Gordon, In Creator/OpenFlight, the defaults for all the DOF min's and max's are all 0's and the step values are all 0's and of course the scale current is set to 1,1,1 OK then the values that are now set should be correct (since the default ctor for Vec3 sets it to (0,0,0) ). J-S --

[osg-users] osgDB::XmlParser question

2010-01-06 Thread Jean-Sébastien Guay
Hi Robert, I need to read an XML file and thought of using osgDB::XmlParser to do it. Calling this: osgDB::readXmlFile(filename); results in "Could not open XML file: somefilename.xml". But the file is there and some simple code using an ifstream to read the file (using the same filename

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Jean-Sébastien Guay
Hi Tufan, Yes C:\Users\Tufan\Desktop\New Folder\OpenSceneGraph-2.8.2\bin is in my path. I don't get any error messages I can load bmp image but cannot png. I don't know why. The difference is that the BMP plugin does not need any additional DLLs (other than the plugin itself of course) but

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Jean-Sébastien Guay
Hi Tufan, I have tried all of your comments add the path of plugins bin but not worked also I have previously downloaded 3rdparty dependencies coppied libpng13.dll into my osg bin but still not working. Do you have any more comments I am really stucked Try setting OSG_NOTIFY_LEVEL=DEBUG bef

Re: [osg-users] osgDB::XmlParser question

2010-01-07 Thread Jean-Sébastien Guay
Hi Robert, Your reading of the code is correct... the code will fail every time, something I didn't catch as I haven't directly used this convenience function in the p3d plugin or elsewhere. Re-ordering the code so the input.readAllDataIntoBuffer() is done before the if (!input) looks it would

Re: [osg-users] osgDB::XmlParser question

2010-01-07 Thread Jean-Sébastien Guay
Hi Robert, Oo, too much speed reading on my behalf... I missed this part of your email. Hehe, no problem, I had hidden it in plain sight at the end of the message :-) As for the syntax, I hadn't coded for this as I wasn't familiar with it. I guess that what you get when you get a non XML

[osg-users] Conversion from 'GLsizeiptrARB' to 'const GLvoid *' of greater size

2010-01-07 Thread Jean-Sébastien Guay
Hi Robert, I've been getting this warning 7 times per compiled file for a little while: warning C4312: 'type cast' : conversion from 'GLsizeiptrARB' to 'const GLvoid *' of greater size It happens on lines like this: setVertexPointer(array->getDataSize(),array->getDataType(),0,(const GLvoid

Re: [osg-users] Conversion from 'GLsizeiptrARB' to 'const GLvoid *' of greater size

2010-01-08 Thread Jean-Sébastien Guay
Hi Robert, I'm surprised that you are seeing this warning as for a 32bit build the void* should be 32bits and GLsizeiptr should be 32bit. When under a 64bit build the GLsizeiptr should be 64bit. Even if GLsizeiptr was 32bit and void* was 64bit one should still be able to cast it safely, the co

Re: [osg-users] [osgPlugins] Can't export OSG to 3DS in 2.9.6 and can't build osgIntrospection Lib

2010-01-10 Thread Jean-Sébastien Guay
Hello Agostinho, I don’t know why, but CMake just doesn’t create the project file for the “osgIntrospection” library. So that lib is never created, and my program won’t even compile without it. If you need osgIntrospection, then you need to activate the CMake option called BUILD_OSG_WRAPPER

Re: [osg-users] Conversion from 'GLsizeiptrARB' to 'const GLvoid *' of greater size

2010-01-11 Thread Jean-Sébastien Guay
Hi Robert, Disabling the warning would not be idea as it could hide some genuine problems. Perhaps just disable it for the files that are causing problems? So would you accept a change that pushes the warning disable state at the start of include/osg/State, disables that warning for the file

Re: [osg-users] MinGW and OpenSceneGraph

2010-01-11 Thread Jean-Sébastien Guay
Hi Laurence, Thanks for your tutorial, it's always useful to document things so new users can get up and running as fast as possible. Thanks also for your explanations for changes to make. Perhaps some can be made to the baseline so MinGW users won't have to manually patch things... About

Re: [osg-users] Dragger no longer "sees" click

2010-01-12 Thread Jean-Sébastien Guay
Hi Neil, Could you try leaving the osgManipulator code alone and toggling the display mode of the polygons using a osg::PolygonMode state attribute attached to a StateSet above the manipulator subgraph. Have a look at the osgscribe example to see osg::PolygonMode in action. Another solution m

Re: [osg-users] Debug versus release libraries.

2010-01-12 Thread Jean-Sébastien Guay
Hello Nico, Is this setup possible at all? Is there something special I have to setup? Please read the archives, this has been discussed a lot in the past. On Visual Studio, you cannot mix debug and release (when the C++ runtime is concerned). All C++ libraries and the executable itself need

Re: [osg-users] Dummy node Creation

2010-01-12 Thread Jean-Sébastien Guay
Hi Manish, By dummy node I mean some node which is not visible however its child is visible. Actually I'm facing problem similar to osgmanipulator , in which I don't want to display selection in trackball mode [refer osgmanipulator] ,however i want to display selection in pick mode . This i w

Re: [osg-users] Siggraph 2010 OSG BOF best day/time for OSG community

2010-01-12 Thread Jean-Sébastien Guay
Hi John, Thanks for volunteering to organize the BOF this year. We'll probably be applying for one of the presentation slots as in the previous years, if you decide to follow the same model. Mike Weiblen mentioned that Wednesday morning slots are "coveted". I believe that last year the slot

Re: [osg-users] MinGW and OpenSceneGraph

2010-01-12 Thread Jean-Sébastien Guay
Hi Laurence, I investigated your issues a bit more. Here is what I found: (1) osgPlugin: jpeg Problem: boolean is not defined This comes from the fact that the version of the jpeg headers included in MinGW defines JPEG_boolean (and JPEG_FALSE/JPEG_TRUE) instead of boolean (and FALSE/TRUE).

Re: [osg-users] Transparent node cast shadow with ShadowMap?

2010-01-13 Thread Jean-Sébastien Guay
Hello Dominic, I would like to have my object cast a shadow to its environment with ShadowMap and ShadowedScene. This works, but - like ShadowMap defines - there are shadows on the object self. It is not possible to turn off these shadows, is it? The ShadowMap-based techniques only honor the

Re: [osg-users] [osgPlugins] Can't export OSG to 3DS in 2.9.6 and can't build osgIntrospection Lib

2010-01-13 Thread Jean-Sébastien Guay
Hello Agostinho, Regarding the compilation problem, it was solved, as you said. But I think that info should be in the documentation or in a readme file, because it's so important, or if it is there, it should be made more "visible" because I searched a lot and still couldn't find it. The CM

Re: [osg-users] osgText issue

2010-01-13 Thread Jean-Sébastien Guay
Hi Nick, I am trying to write some more sophisticated input control on top of osg. The one in osgWidget::Input is ok but I am to get it more feature rich. Now, I have all the code almost done, and I come accross one issue: I can't really help except to tell you that Jeremy Moles who wrote os

Re: [osg-users] osgText issue

2010-01-13 Thread Jean-Sébastien Guay
Hi Nick, one thing I dont like on osgWidget::Input is how inefficiently works with the text so I wrote my own Do you have the time to try and improve osgWidget::Input? If you find it inefficient chances are others will too (for example me :-) I will probably use it in the near future), but I

Re: [osg-users] osgText issue

2010-01-13 Thread Jean-Sébastien Guay
Hi Nick, I have some plans to work on osgWidget in the near future, once the funding gets going :) Excellent, I just wanted to make sure people like you and me who have the need and the will to improve it will continue to do so and not just develop things in isolation. :-) Thanks, J-S --

Re: [osg-users] [osgPlugins] Can't export OSG to 3DS in 2.9.6 and can't build osgIntrospection Lib

2010-01-13 Thread Jean-Sébastien Guay
Hi Agos, Ooops.. I didn't know there was the habit of making everybody compiling developer versions... but after all, aren't all of them for developers? Razz Yes but not all developers need to use developer releases... Some use stable releases exclusively. J-S -- ___

Re: [osg-users] Transparent node cast shadow with ShadowMap?

2010-01-13 Thread Jean-Sébastien Guay
Hi Paul, Shouldn't it be possible to discard pixels whose alpha falls below an app-specified threshold during creation of the depth map? That's not what Dominic wanted. He wanted the node to shadow other objects but not itself. J-S -- __ J

Re: [osg-users] 360 degree screen captures

2010-01-13 Thread Jean-Sébastien Guay
Hi Darin, Does there exist the capability utilizing the osg libraries to create the JPG/PNG without running the viewer, i.e. without displaying the viewer window. Is there an alternative to creating an image from the screen (and then writing it to the file), or is running the viewer a necessi

Re: [osg-users] osgOcean : GameDev have nice screenshot of ocean rendering.

2010-01-14 Thread Jean-Sébastien Guay
Hi Adrian, Just FYI http://www.gamedev.net/community/forums/topic.asp?topic_id=558794 Yep, I saw the paper, here are a few more links: The paper itself: http://hal.archives-ouvertes.fr/inria-00443630 The author's page: http://evasion.inrialpes.fr/~Eric.Bruneton/ Looks great, something like t

Re: [osg-users] MinGW and OpenSceneGraph

2010-01-14 Thread Jean-Sébastien Guay
Hi Laurence, @Jean-S (1) libjpeg That's strange, I don't know if mingw32 on ubuntu is using the same files as on windows. I'm currently not using the offical verison of MinGW (latest verison 5.1.6, http://sourceforge.net/projects/mingw/files/) because it is using a GCC compiler version 3.x.

Re: [osg-users] Disabling rendering

2010-01-14 Thread Jean-Sébastien Guay
Hi Guy, This might sound like an odd question, but is there a way to disable rendering (no culling and no draw) while still allowing intersections. The reason why I am asking is because I have a distributed system - i.e. some applications only performs intersections with the scene without re

Re: [osg-users] MinGW and OpenSceneGraph

2010-01-14 Thread Jean-Sébastien Guay
Hi Laurence, While creating this tutorial I found some minor issues (In the tutorial I explain how to patch it): I have just sent the fixes I could come up with to osg-submissions. You can look at the message here: http://thread.gmane.org/gmane.comp.graphics.openscenegraph.cvs/6738 You can

Re: [osg-users] osgWidget::input work

2010-01-15 Thread Jean-Sébastien Guay
Hi Nick, However, I started the osgwidgetinput example and for some reason it is not getting my input from the keyboard. This is the same problem I noticed in other osgWidget classes lately. Someone changed the signature of virtual methods in the EventInterface class (which Widget inherits

Re: [osg-users] Feedback sought on future of osgIntrospection

2010-01-15 Thread Jean-Sébastien Guay
Hi Robert, Ooo the torrent of posts on this topic is rather daunting... ;-) I personally don't have anything to say, I haven't used osgIntrospection at all... But I've been following the development of the new extensible plugin, and if you can do the same thing with less code and a more man

Re: [osg-users] getWorldMatrices of Node

2010-01-15 Thread Jean-Sébastien Guay
Hi MArtin, Danny, It isn't, worldmatrices is a list of all the individual matrices up the leg to the top. No - getWorldMatrices() returns the list of the localToWorld matrices for all paths from the node to the root. So if your node has only one path from itself to the root, then getWorldMa

Re: [osg-users] SVN 10968 freetype plugin broken on OS X / MacPorts

2010-01-19 Thread Jean-Sébastien Guay
Hi Robert, Could you have a look to see if you can get CMakeLists.txt configuration that adds in the path to where the headers are. If we can get it working then we may just have to revert the changes for Mingw and force Mingw users to fix there local install of Freetype. Another "solution" c

Re: [osg-users] Vista/Windows 7 visual problems on resize

2010-01-20 Thread Jean-Sébastien Guay
Hello Andrew, When running on Windows 7/Vista using accelerated graphics, and when resizing a window, an MFC OSG window flashes a lot and "phantom" bits of the window frame are left behind while resizing. The same is seen when using an MFC CRectTracker and TrackRubberBand on the OSG 3D windo

Re: [osg-users] dependancies with Visual2005 SP2

2010-01-21 Thread Jean-Sébastien Guay
Hello Sebastien, I am running on Visual 2008 SP2 with osg 2.8.2 2005 or 2008? Here you say 2008, and lower you say 2005... Since you said 2005 multiple times I'll assume 2005. I have seen no info on an SP2 for Visual Studio 2005 (or 2008 either for that matter). Are you sure? Searching for

Re: [osg-users] Vista/Windows 7 visual problems on resize

2010-01-21 Thread Jean-Sébastien Guay
Hi Gordon, But windows 7 and NVIDIA drivers fails and dies a lot for both Opengl and Direct X, and that causes issues even though Window 7 recovers and restarts the driver is sucks up resources leading slowdowns and crashes You see a lot of nvlddmkm.sys problems in the event logs ( there's a lot

Re: [osg-users] OSG_PLUGIN_EXTENSION not being set in Xcode for the Db, current svn

2010-01-22 Thread Jean-Sébastien Guay
Hi Robert, This problem will be fallout from a fix for Mingw's freetype header location. I've just reverted this change as it obviously cause more pain than gain. Totally agree. If I have some time I'll see if I can find another fix, and post it to osg-users first for others to test. But for

Re: [osg-users] MinGW and OpenSceneGraph

2010-01-22 Thread Jean-Sébastien Guay
Hello Laurence, Below an overview of my settings (just in case somebody wants to confirm the results) Thanks a lot for testing and for reporting your findings! I'll just comment on one thing: (5) Qt libraries 4.6.1 for Windows (minGW 4.4, 277 MB) Download: http://qt.nokia.com/downloads/wind

Re: [osg-users] osgocean and reflected scene

2010-01-22 Thread Jean-Sébastien Guay
Hi Nick, is there a way to have a node to be only reflected but not rendered? I have tryied to set up the node mask to just ocean->getOceanScene()->getReflectedSceneMask() but the node still gets rendered This has nothing to do with osgOcean... If you want your node to not be rendered you

Re: [osg-users] problem attaching a camera to a node

2010-01-23 Thread Jean-Sébastien Guay
Hi Charles, The only problem is: every time I attach the camera to the PositionAttitudeTransform node, I get a segmentation fault. Is it possible to attach a camera to a PositionAttitudeTransform node? In OSG, you can't put a camera as child of another node in the hopes of getting the came

Re: [osg-users] osgocean agressive memory leaks

2010-01-24 Thread Jean-Sébastien Guay
Hi Nick, I nailed this down to ocean->getOceanScene()->setSunDirection(sunpos); calling this each frame increases the mem usage I'll check this out on Monday at work. At first glance setSunDirection() shouldn't cause leaks but perhaps it's the dirty each frame that it causes that leaks. Pe

Re: [osg-users] osgocean agressive memory leaks

2010-01-24 Thread Jean-Sébastien Guay
Hi Nick, Great. Yeas, that is what I was thinking as well. the sun direction set dirties the scene so the init is called over and over again. I am not into the details of osgscene too much, but for me it looks like an overhead to recreate just about everything on sun position change. init()

Re: [osg-users] FBX plugin issues...

2010-01-25 Thread Jean-Sébastien Guay
Hello Bondy, I am trying to import a .fbx file(maya2010) into OSG2.9.6. I am facing some problems in installing the fbx plugin for OSG2.9.6. Here are the steps i followed. 1.I am using a Linux system and I downloaded the linux version of fbx sdk from autodesk website. 2. Unzipped the fbx20102

Re: [osg-users] osgocean agressive memory leaks

2010-01-25 Thread Jean-Sébastien Guay
Hi Nick, when I add ocean to my scene, the mem goes up very agressively. and its still increasing. Are you experiencing the same things ? I run the app for 15 seconds and it crashes with FBO setup failure I've modified the oceanExample so that it calls OceanScene::setSunDirection(...) each f

Re: [osg-users] osgocean agressive memory leaks

2010-01-25 Thread Jean-Sébastien Guay
Hi Nick, looks like I am out of date with osgOcean. from where can i get the latest? Same place as always... http://code.google.com/p/osgocean/ Get the trunk to get the latest code: svn checkout http://osgocean.googlecode.com/svn/trunk/ osgocean J-S -- __

[osg-users] Building VPB fails - new .osg plugin?

2010-01-25 Thread Jean-Sébastien Guay
Hi Robert, I'm building VPB from svn trunk to do a bit of terrain generation, and I got a suspicious compile warning and some linker errors: Warning: 1>..\..\..\src\vpb\BuildOptionsIO.cpp(202) : warning C4005: 'ADD_ENUM_VALUE' : macro redefinition 1> C:\Dev\OpenSceneGraph-SVN\OpenSceneGraph

Re: [osg-users] osgocean agressive memory leaks

2010-01-25 Thread Jean-Sébastien Guay
Hi Nick, on windows, it does eats the memory in large chunks after 5 minutes, It reach the limit I'm on Windows... Vista (at work) to be specific. Did you just compile osgOcean and the oceanExample? Which compiler? Which version of OSG? Sorry I'm kind of out of ideas, since it works f

Re: [osg-users] Building VPB fails - new .osg plugin?

2010-01-25 Thread Jean-Sébastien Guay
Hi Robert, Build fix for VPB now checked in. Which marks revision #1000 in the VPB repo, where do I send the champagne? ;-) J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.

Re: [osg-users] Building VPB fails - new .osg plugin?

2010-01-25 Thread Jean-Sébastien Guay
Hi Robert, Cool, I hadn't spotted that milestone go by. Keep the champage in reserve for when I tag 1.0 ;-) Heh, ok :-) BTW, your fixes didn't fix the linker errors I had also reported: 1>BuildOptionsIO.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thisc

Re: [osg-users] Building VPB fails - new .osg plugin?

2010-01-25 Thread Jean-Sébastien Guay
Hi Robert, It's got an OSGDB_EXPORT declaration, but it's a template so shouldn't have one... I've now removed this and checked it into svn/trunk. Could you please test? Yep, that did it. Thanks. J-S -- __ Jean-Sebastien Guayjean-sebast

Re: [osg-users] Confirmed system configuration for osgShadow to work?

2010-01-26 Thread Jean-Sébastien Guay
Hi Martin, I can afford buying a different graphics card and am flexible in regards to operating system, I would only like to have information on a confirmed working setup. So has anybody managed to get a good looking shadow, preferably PSSM, working? OSG's PSSM implementation has been finicky

Re: [osg-users] osgmovie with ffmpeg plugin on Windows 7: runs fine in debug mode, crashes in release mode?!?

2010-01-28 Thread Jean-Sébastien Guay
Hi Raymond, Did anyone succeed in this? I'm using VC2005SP1, and precompiled ffmpeg downloaded as "ffmpeg-r15261.zip" from somewhere (I can't remember where) and it works fine in both release and debug. There shouldn't be any problems about C++ runtime and using debug libs in release libs f

Re: [osg-users] osgmovie with ffmpeg plugin on Windows 7: runs fine in debug mode, crashes in release mode?!?

2010-01-28 Thread Jean-Sébastien Guay
Hi Raymond, I'm pretty sure that it crashes somewhere in the SDL Audio part... What version of SDL do you use? There's a difference between our use of osgmovie/ffmpeg plugin, I've never used it with audio. All I can say is try other versions, or compile SDL yourself? You might also be abl

Re: [osg-users] osgmovie with ffmpeg plugin on Windows 7: runs fine in debug mode, crashes in release mode?!?

2010-01-28 Thread Jean-Sébastien Guay
Hi Raymond, Hmm, that's interesting, never used that combination. Do you know how I enable Debug info for Release mode? When building OSG, after generating the project files with CMake, if you open the solution file you'll see "RelWithDebInfo" as one of the available configurations. For ot

Re: [osg-users] Nightly Windows builds?

2010-02-02 Thread Jean-Sébastien Guay
Hi Chris, Is anyone out there doing automated nightly builds on Windows? Yes, I am on both my home and work machines. You could see my work machine's submitted builds on this page if the openscenegraph.org site wasn't down/unbearably slow: http://cdash.openscenegraph.org/index.php?projec

Re: [osg-users] [osgPlugins] Quicktime plugin

2010-02-03 Thread Jean-Sébastien Guay
Hi Kian, I am trying to use OSG to play a video but it keeps indicating to me that it can't find the plugin. I am trying to load the quicktime plugin in but is having some diffculties, I have downloaded the quicktime sdk but is not sure how to use the cmake to configure and generate, can someone

Re: [osg-users] Nightly Windows builds?

2010-02-03 Thread Jean-Sébastien Guay
Hi Alberto, I found that the reports were likely bogus at least for me http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg34227.html so I stopped submitting my results for a while. I think that having bad information is worse that not having any at all. Yeah, you're right abou

  1   2   3   4   5   6   7   8   9   10   >