Re: [osg-users] OsgShadow shadow volume strange bug

2007-07-12 Thread amalric alexandre
tracking matrix updates. Robert. On 7/11/07, amalric alexandre [EMAIL PROTECTED] wrote: Hi osg-users, I've noticed a strange behavior on Example osgshadow with command --sv (to have shadow volume). When shadow overlap each other they cancel them, if I'm not very clear see the sceen capture

Re: [osg-users] osgViewer + Fox Toolkit example

2007-07-12 Thread amalric alexandre
Here is the code with the fix, maybe there is a lot of other fix to bring but I haven't much time to spend on it for the moment ;-( Note : I've build this example with Fox 1.6.26 but only on Window. 2007/7/11, Markus Hein [EMAIL PROTECTED]: you have to replace

Re: [osg-users] osgViewer + Fox Toolkit example

2007-07-11 Thread amalric alexandre
: GraphicsWindowFOX::onLeftBtnPress(FXObject *sender, FXSelector sel, void* ptr) you have to replace getEventQueue()-mouseButtonPress(event-click_x, event-click_x, 1); by getEventQueue()-mouseButtonPress(event-click_x, event-click_y, 1); 2007/7/10, Markus Hein [EMAIL PROTECTED]: Hi Alexandre, amalric

[osg-users] osgViewer + Fox Toolkit example

2007-07-10 Thread amalric alexandre
Hi osg-users, I have made a little exemple wich is based on the WXWidget osgViewer for Fox Toolkit GUI. I had to do this for my own application. In example's directory of osgViewer integration there is no example for FOX. It's quite simple but I hope it will help some people who wants to

Re: [osg-users] Few things

2007-07-05 Thread amalric alexandre
Hi osg user, I would like to know if there is a way to use the functionnality of .logo reader with osg 2.0, because it doesn't work anymore. It was a really important tool for my application. Have someone an idea or a answer to this problem ? Thanks, 2007/6/14, Anders Backman [EMAIL

Re: [osg-users] Fix for Win32Thread.cpp

2007-06-26 Thread amalric alexandre
Hi, I have a crash with Win32Thread too, when I close my application but only in Release mode, I don't know why, so I build OpenThread with your version of file, but it crashes also in getenv.c at line 153. I am under XP with Visual 2005. If you have any idea how to fix it. Thanks 2007/6/26,

[osg-users] .logo on multiple camera

2007-06-14 Thread amalric alexandre
Hi osg-users, I tried to open a .logo file on mulitple cameras, for example osgcamera.exe, but the logo is displayed only on the first one, is it normal ? Is there a way to get the same display on the 3 cameras for logo files like other model files (ive, osg ...) ? Tanks

Re: [osg-users] Multiple Textures

2007-06-07 Thread amalric alexandre
Thank you for those answer, I'll try to implement multi-texture in my project, maybe I'll ask you other question later ;-) 2007/6/6, Robert Osfield [EMAIL PROTECTED]: On 6/6/07, amalric alexandre [EMAIL PROTECTED] wrote: Hi Robert and Cory, Thanks to this post I'm going to make multi

Re: [osg-users] Multiple Textures

2007-06-06 Thread amalric alexandre
Hi Robert and Cory, Thanks to this post I'm going to make multi-texturing too for my project, but I have one question : 1) How much unit of multi-texture can be set at maximum, 4, 8, 16 ... ?? Does it depends on Graphic Card or OpenGL ?? Thank you. 2007/1/24, Robert Osfield [EMAIL

Re: [osg-users] MFC + GraphicsWindowWin32 - Question or possible bug and if it is a bug having a solution :-)

2007-05-10 Thread amalric alexandre
Hi André and Björn, I have exactly the same problem under a Fox toolkit window, I tried to integrate exactly the same code as Björn (except GetSafeHwnd for MFC :-) ), and I have the same result with a message Unable to create OpenGL rendering context :Bad Pixel format. I'm going to try the tips

Re: [osg-users] missing file 'CameraConfig' in osgProducer in osg 1.9

2007-05-07 Thread amalric alexandre
viewer, so maybe I will soon remove the Producer option. For now I test my application with the 1.9.2, and if everything is okay I will move to 1.9.3. I think you had a good idea to get all application under only one core. 2007/5/7, Robert Osfield [EMAIL PROTECTED]: Hi Alex, On 5/7/07, amalric

Re: [osg-users] examples cmake

2007-05-03 Thread amalric alexandre
Hi Robert, Thank you for the tips. 2007/5/3, Robert Osfield [EMAIL PROTECTED]: On 5/3/07, amalric alexandre [EMAIL PROTECTED] wrote: Hi Frans, Today I have downloaded the version 1.9 from OpenSceneGraph and I have the same problem (same error), I don't know how to build example too, I am

[osg-users] osg::Text setText w ith accentuated char (é, è, à...)

2007-02-27 Thread amalric alexandre
Hi osg-users, I have a little problem with osg::Text::setText function. I don't succeed to draw a sentence with accentuated char (a french one ;-) ). I've tried to convert my sentence (std::string) in UTF-8 and then pass it to setText like : std::string convertMultiByte2utf8(const std::string

Re: [osg-users] osg::Text setText with accentuated char (é, è, à...)

2007-02-27 Thread amalric alexandre
. Robert. On 2/27/07, amalric alexandre [EMAIL PROTECTED] wrote: Hi osg-users, I have a little problem with osg::Text::setText function. I don't succeed to draw a sentence with accentuated char (a french one ;-) ). I've tried to convert my sentence (std::string) in UTF-8 and then pass

[osg-users] osg::Drawable::getBound, for some nodes only

2006-12-11 Thread amalric alexandre
Hi, I was wondering how to compute bounds of an osg::group whitout some nodes (wich are marked with a specific description). Is there a way to apply a filter on the getBound function to avoid some nodes in the computing ? I thought about making a temporary osg::group not containing those nodes,

Re: [osg-users] osg::Drawable::getBound, for some nodes only

2006-12-11 Thread amalric alexandre
Hi Robert, I've seen these method on the documentation but I don't know how to define my callback, I'm a newbie and I want to know if there are some example of callback definition. Thank you. 2006/12/11, Robert Osfield [EMAIL PROTECTED]: Hi Alex, On 12/11/06, amalric alexandre [EMAIL

Re: [osg-users] Delaunay triangulator of concav geometry

2006-12-07 Thread amalric alexandre
cases! Geoff - Original Message - From: amalric alexandre To: osg users Sent: Friday, December 01, 2006 8:58 AM Subject: Re: [osg-users] Delaunay triangulator of concav geometry Hi Geoff, I'm agree with you on the fact that this first coordinate is far from others

Re: [osg-users] Intersectvisitor

2006-12-05 Thread amalric alexandre
: [EMAIL PROTECTED] *On Behalf Of *amalric alexandre *Sent:* Monday, December 04, 2006 11:50 *To:* osg users *Subject:* Re: [osg-users] Intersectvisitor the problem is that I don't want to make 2 subsgraph, except if there is no other way, I just want to not intersect some node by the pickvisitor

Re: [osg-users] Intersectvisitor

2006-12-05 Thread amalric alexandre
In fact you're right I made the combination of node mask one for the node 0x2 and the other for the traversal 0x1 and it works. Sorry it was a mistake in my code. Tanks. 2006/12/4, Robert Osfield [EMAIL PROTECTED]: On 12/4/06, amalric alexandre [EMAIL PROTECTED] wrote: the problem is that I

Re: [osg-users] Delaunay triangulator of concav geometry

2006-12-04 Thread amalric alexandre
overrun viruses?). Anyone else who has seen this problem please attack it with your test cases! Geoff - Original Message - From: amalric alexandre To: osg users Sent: Friday, December 01, 2006 8:58 AM Subject: Re: [osg-users] Delaunay triangulator of concav geometry Hi Geoff

[osg-users] Intersectvisitor

2006-12-04 Thread amalric alexandre
Hi, I'm a newbie in osg and I was wondering how to make an object to not be picked by a osgUtil::PickVisitor, my goal is to display (HUD 2D) some information when i move the mouse on a 3D model but I don't want to intersect the HUD itself. Is it possible to add a setting to a node to make this

Re: [osg-users] Intersectvisitor

2006-12-04 Thread amalric alexandre
, amalric alexandre [EMAIL PROTECTED]: Hi, I'm a newbie in osg and I was wondering how to make an object to not be picked by a osgUtil::PickVisitor, my goal is to display (HUD 2D) some information when i move the mouse on a 3D model but I don't want to intersect the HUD itself. Is it possible

Re: [osg-users] Intersectvisitor

2006-12-04 Thread amalric alexandre
. Alternatively just do the traversal on the main section of the scene graph, but not HUD section. Robert. On 12/4/06, amalric alexandre [EMAIL PROTECTED] wrote: Hi, I'm a newbie in osg and I was wondering how to make an object to not be picked by a osgUtil::PickVisitor, my goal is to display

Re: [osg-users] Intersectvisitor

2006-12-04 Thread amalric alexandre
, one with th HUD and another with the object that you want to intersect. Youn just apply PickVisitor only on the second subgraph Ben 2006/12/4, amalric alexandre [EMAIL PROTECTED] : Hi Ben, I've take a look at osgPick but it seems to be the contrary, this example is provided to pick Head Up

Re: [osg-users] Delaunay triangulator of concav geometry

2006-12-01 Thread amalric alexandre
of floating point precision for such a long thin constraint. (other cases of this error are sought). Geoff - Original Message - *From:* amalric alexandre [EMAIL PROTECTED] *To:* osg users osg-users@openscenegraph.net *Sent:* Thursday, November 30, 2006 2:03 PM *Subject:* Re: [osg-users] Delaunay

[osg-users] Delaunay triangulator of concav geometry

2006-11-30 Thread amalric alexandre
Hi, I want to triangulate with DelaunayTriangulator a geometry wich is concav. I give to the DelaunayTriangulator a set of point sorted and to the DelaunayConstraint the same set of point (edges of the geometry). But when i call the triangulate() function it crashes in lineBisects() function