Re: [osg-users] compile error latest SVN version

2007-07-06 Thread Thibault Genessay
Adrian, As suggested by Paul, simply adding #include does the trick. I think the std::find function does exactly what you inlined as a workaround :) Thibault On 7/6/07, Adrian Egli <[EMAIL PROTECTED]> wrote: i did a work around fix 2007/7/6, Serge Lages <[EMAIL PROTECTED]>: > > Same prob

Re: [osg-users] Setting the viewer camera. Newbie.

2007-06-26 Thread Thibault Genessay
Hi Himar Just to comment your legal stuff: On 6/26/07, Himar Carmona <[EMAIL PROTECTED]> wrote: That's why i did a comment about it. There is no problem to publish the modifications under OSGPL. If i understood the license terms correctly (i'm a programmer, not a lawyer and never woriki

Re: [osg-users] How to animate an object?

2007-06-26 Thread Thibault Genessay
Hi Fernando On 6/26/07, Fernando Giovanini <[EMAIL PROTECTED]> wrote: Hello all, I would like to know how can I animate (what class I have to use, how I use those classes) an object like a Sphere ou a Cube. I just need to make those objects rotate, translate and chage de fps rate. You'll

[osg-users] How to deal with hidden windows ?

2007-06-20 Thread Thibault Genessay
Hi everybody, I've just been hit by a nasty problem with OSG and wxWidgets. I have several gl windows on different panes of a notebook, thus some of them are shown while some of them are hidden. Those panes are shown/hidden on an unpredictable basis because the user himself can select a tab, or d

Re: [osg-users] (long) Writing

2007-06-19 Thread Thibault Genessay
Hi Jansen, osg-users I have finally figured out how to upload zips to the wiki, so I thought it would be better to make my application available to everyone. You can download it at : http://www.openscenegraph.com/osgwiki/pmwiki.php/Community/WindowingToolkits. It supports osg 2.0, wxWidgets 2.8.

Re: [osg-users] small build problems in two examples

2007-06-19 Thread Thibault Genessay
Hi Luigi, Robert On 6/19/07, Robert Osfield <[EMAIL PROTECTED]> wrote: Hi Luigi, > 2)My WXwidgets installation does not define GetUnicodeKey method for > wxKeyEvent, so , in order to compile, I have to change > -->#if 1<--to -->#if 0<-- in lines 164 and 177 to make it compile. > I

Re: [osg-users] switching nodes on and off on models that are instanced

2007-06-08 Thread Thibault Genessay
Hi Mark On 6/8/07, Mark Hurry <[EMAIL PROTECTED]> wrote: Hi, I need some advice on whether it is possible to switch nodes on and off within an instanced model on the fly 1) The model is loaded only once but is instanced a number of times 2) Each instance of the model may req

Re: [osg-users] Bug in converting png to bmp???

2007-06-04 Thread Thibault Genessay
On 6/4/07, hhh_hao <[EMAIL PROTECTED]> wrote: Hi, Following is my code: osg::Image *image =osgDB::readImageFile("test.png"); osgDB::writeImageFile(*image,std::string("test.bmp")); then I find test.bmp is uncorrectly displayed, is this the bug? Attached document is the two files. The BMP file

Re: [osg-users] (long) Writing "wxMultipleView" proof of concept - need advice

2007-06-03 Thread Thibault Genessay
On 6/1/07, Robert Osfield <[EMAIL PROTECTED]> wrote: On 6/1/07, Charles Cosse <[EMAIL PROTECTED]> wrote: > Regarding the independent window updates, couldn't you just short-circuit > the node traversals of the windows you don't want updated via some flag at > the toplevel NodeCallback of the cor

Re: [osg-users] I need data compile first after scene load before visualisation.

2007-05-24 Thread Thibault Genessay
Hi On 5/24/07, GMD GammerMaxyandex.ru <[EMAIL PROTECTED]> wrote: I need data compile first after scene load before visualisation. Otherwise FPS drops down a lot at first visualisation. After that everything is all wright. How can I correct(fix) it? There are not such problems in the version osg

Re: [osg-users] RE:a node from the scenegraph

2007-05-23 Thread Thibault Genessay
Hi Mark On 5/23/07, Mark Hurry <[EMAIL PROTECTED]> wrote: Hi Ulrich, Thanks for the advice, but I am still unclear. If I root->removeChild(TransformMatrix1), and root->removeChild(TransformMatrix2). Won't that mean that Node is also deleted? Which is not what I want. Yes, unless Node is

Re: [osg-users] osgViewer and OSG-1.9.4

2007-05-16 Thread Thibault Genessay
Hi On 5/16/07, belthil <[EMAIL PROTECTED]> wrote: I don't understand why osg wouldn't support the jpeg i have because it is exactly the same jpeg and the same code that worked with osg-1.2. And i forgot to say that when i display the stats with "s", osg cannot find the plugin for .ttf either.

Re: [osg-users] how to use the new osg.1.9.4

2007-05-14 Thread Thibault Genessay
Hi Marcus The samples in the OpenSceneGraph solution do not contain additional dependencies because they use the built-in dependency mechanism. If you want to build your own project based on the OSG in a separate solution, you have to add the libraries osg[d].lib, osgDB[d].lib, and so on to the A

Re: [osg-users] How to do a render to texture?

2007-05-02 Thread Thibault Genessay
Hi Ben On 5/2/07, Benoît Poulard <[EMAIL PROTECTED]> wrote: hi all, I need to make a render in 2 times, but I dont know how to do this. first, I want to do a render a part of my scene to texture. And I want to use the texture in a shader during the final render. Can somebody explain me how t

Re: [osg-users] OpenThread library name

2007-04-24 Thread Thibault Genessay
Hi On 4/24/07, Anders Backman <[EMAIL PROTECTED]> wrote: Windows XP, VisualStudio 8. You are not alone, buddy, I'm on the same boat :) I just checked out svn osg and OT and got some problems during build. I'm using a separate checked out version of OT, so I'm using the OPENTHREADS_DIR env

Re: [osg-users] Prebuilt binaries for msvc 8.0?

2007-04-18 Thread Thibault Genessay
Hi Andreas On 4/18/07, Andreas Goebel <[EMAIL PROTECTED]> wrote: Hi, are there prebuilt 3rd party binaries for MS Visual c++ express (or other 8.0) version? In the 3rdparty-zip (by Mike?) it says that they are built with the 2003 version. We had this discussion on the list a few weeks ago i

Re: [osg-users] Strange problem with osgUtil::LineSegmentIntersector

2007-04-17 Thread Thibault Genessay
On 4/17/07, Andreas Goebel <[EMAIL PROTECTED]> wrote: > > It's wrong > The OSG links against the DLL version of the CRT which is msvcrt.lib > (and needs msvcrt.dll at runtime). Libcmt is the static version of the > multi-threaded runtime (libc.lib the static single-threaded) and > should not be

Re: [osg-users] Drawing splines or other curves using points

2007-04-17 Thread Thibault Genessay
Hi On 4/16/07, Stou Sandalski <[EMAIL PROTECTED]> wrote: Hi, I want to render splines based on a bunch of points. What is the best way to do this with openscenegraph? Do you mean that your points are the handles of bezier curves ? Or that you want point-based rendering of curves ? If it is

Re: [osg-users] Strange problem with osgUtil::LineSegmentIntersector

2007-04-17 Thread Thibault Genessay
Hi Andreas On 4/16/07, Andreas Goebel <[EMAIL PROTECTED]> wrote: Hi, the problem was the std::vector copy-constructor. I am probably still having problems with different c-runtimes somewhere, though I carefully tried to avoid this. [...] Though the reference is better code at this place anyw

Re: [osg-users] [slightly ot]: Which dlls to provide for users of an osg application?

2007-04-10 Thread Thibault Genessay
Hi Michael On 4/10/07, Michael Henheffer <[EMAIL PROTECTED]> wrote: Hi Andreas, It appears that redistributing applications built with Visual Studio 2005 Express is difficult to do. Take a look at the 'Visual C++ 2005 Express Edition' section of http://en.wikipedia.org/wiki/Microsoft_Visua

Re: [osg-users] Problems of osg0.9.9 to osg1.2

2007-04-10 Thread Thibault Genessay
Hi On 4/10/07, xyc508 <[EMAIL PROTECTED]> wrote: When I update my App (osg0.9.9 to osg1.2),there is a Error "could not be located in the dynamic link library osg.dll" always appears.I recompile osg1.2 core code,move .dll and .lib files to the fold,there is still.Could anyone give some suggest o

Re: [osg-users] Problems with getting correct size information (computeBound) from osgText

2007-04-04 Thread Thibault Genessay
Hi Eric On 4/5/07, E. Wing <[EMAIL PROTECTED]> wrote: This is kind of a follow up to a problem I had many months back which I can't remember the topic name. My basic problem is that I'm trying to render something on screen that has text labels. I need to make sure to adjust the view so that all

Re: [osg-users] Fwd: Error deleting Win32MutexPrivateData in OpenThreadsWin32d.lib

2007-04-04 Thread Thibault Genessay
Hi Emmanuel Without more details on the error, I'll try to make a guess: The destructor of HandleHolder calls HandleHolder::close() which in turn calls ::CloseHandle() Quoting MSDN: " If the function fails, the return value is zero. To get extended error information, call GetLastError. If th

Re: [osg-users] moving to VS8

2007-03-28 Thread Thibault Genessay
Hi there On 3/28/07, Mike Weiblen <[EMAIL PROTECTED]> wrote: Hi Paul, Ok, no prob. (folks _are_ using VS8, right? What are yall using for 3rd party libs??) AFAIK VC binary compatibility issues only arise when using C++ shared libraries, not good old C libs. The 3rd party dependencies are

Re: [osg-users] Advice requested for Linux to Windows Port.

2007-03-19 Thread Thibault Genessay
Hi Christopher, On 3/19/07, Andreas Goebel <[EMAIL PROTECTED]> wrote: Dorosky, Christopher G schrieb: > Wow, I'm glad I asked. > > In my previous experience, wxWindows was a buggy, difficult to use, > not-readable MACRO filled mess. > It would literally take me longer to get a menu working than

Re: [osg-users] Advice requested for Linux to Windows Port.

2007-03-19 Thread Thibault Genessay
Hi Christopher On 3/19/07, Dorosky, Christopher G <[EMAIL PROTECTED]> wrote: Hi all, I'm going to try to port an OSG application that has been happily running under Linux to Windows. For conversation purposes, lets say it is a slightly more complicated version of osgviewer with a menu. The me

Re: [osg-users] Terrain scene graph creation

2007-03-08 Thread Thibault Genessay
Hi Licu if I am to represent the terrain > thru normal geometry how do I encode multiple layers > of textures (using multi-textures and multi-pass if > necessary)? How can I use the same osg::Geometry but > with different render states and textures? Just my 2 cents about multi-pass: if you ne

Re: [osg-users] Moving 2D graphics on the HUD

2007-03-06 Thread Thibault Genessay
Hi Calin On 3/7/07, Calin Negru <[EMAIL PROTECTED]> wrote: How can I get 2D images moving on the screen? I managed to display a static HUD however I can't figure out how to get the cursor graphics moving on screen. I took glance at osgcatch but the code is too complicated (and I'm looking for

Re: [osg-users] osgsimpleviewerWx

2007-03-03 Thread Thibault Genessay
Hi Gian On 3/2/07, Gian Lorenzetto <[EMAIL PROTECTED]> wrote: Hi Thibault, I've refactored the sample to use the GraphicsWindow base class. I've followed the design of the FLTK and Qt simpleviewer examples, so OsgGLCanvas has become GraphicsWindowWX and there is now SimpleViewerWX. This has a

Re: [osg-users] openscenegraph.org/index.php now redirects to openscenegraph.com

2007-02-26 Thread Thibault Genessay
Hi Robert On 2/26/07, Robert Osfield <[EMAIL PROTECTED]> wrote: Hi All, As part of the server migration I have turned up the heat on the new server by adding a index.php to old site to redirect people from the old website on openscenegraph.org to the new one at openscenegraph.com. Please keep

Re: [osg-users] osg::Image : apparent double-free?

2007-02-26 Thread Thibault Genessay
Hi JS On 2/26/07, Jean-Sebastien Guay <[EMAIL PROTECTED]> wrote: Hello Jason, > I've seen that type of error before when mixing C++ runtimes with OSG. > If you're running in release mode, make sure your program and the OSG > dlls are both compiled using the same C++ runtime (Multi-threaded DL

Re: [osg-users] compil svn source (undefined reference to `OpenThreads::SetProcessorAffinityOfCurrentThread)

2007-02-26 Thread Thibault Genessay
Hi On 2/26/07, elekis <[EMAIL PROTECTED]> wrote: sniff that's change nothing, [EMAIL PROTECTED]:~/SVN_OSG/trunk$ cat /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf /usr/local/lib [EMAIL PROTECTED]:~/SVN_OSG/trunk$ I made sudo ldconfig (and even re svn co sources) but nothing change. Tha

Re: [osg-users] compil svn source (undefined reference to `OpenThreads::SetProcessorAffinityOfCurrentThread)

2007-02-26 Thread Thibault Genessay
Hi On 2/25/07, elekis <[EMAIL PROTECTED]> wrote: hi [...] [EMAIL PROTECTED]:~/OSGSVN/trunk$ cat /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf /usr/local/include/OpenThreads Your /etc/ld.so.conf looks weird, you must not have C/C++ include paths in it! My OpenThreads libraries were inst

Re: [osg-users] wxWidgets - OSG sample

2007-02-19 Thread Thibault Genessay
Hi Gian On 2/19/07, Gian Lorenzetto <[EMAIL PROTECTED]> wrote: Hi Thibault, >Great ! I like the simplicity of this viewer as there is no longer this >complex event handling stuff. Better: I don't have the manipulator's weird >behaviour anymore. Almost (see below) everything runs smoothly. Yea

Re: [osg-users] wxWidgets - OSG sample

2007-02-19 Thread Thibault Genessay
Hi Gian On 2/18/07, Gian Lorenzetto <[EMAIL PROTECTED]> wrote: Hi all, Attached is a minimalist sample integrating OSG and wxWidgets. It's far from complete, but I've reduced the original example (on the wiki) down to a much simpler example. Great ! I like the simplicity of this viewer as

Re: [osg-users] Advice about using OSG and wxWidgets

2007-02-15 Thread Thibault Genessay
Hi Gian On 2/15/07, Gian Lorenzetto <[EMAIL PROTECTED]> wrote: Hi Thibault, Robert, [...] My current goal is to get it compiling this weekend and then onto the Wiki for others to help fix as I simply don't have the time to debug this myself. I'll be happy to test your code on monday then

[osg-users] Advice about using OSG and wxWidgets

2007-02-15 Thread Thibault Genessay
Hi list I have a few problems with a proof of concept I am writing, derived from the wxOsgCanvas (I am using OSG 1.2 and wxWidgets 2.8.0 on Linux) 1) I have used wxWidgets "old way" of instantiating OpenGL contexts; that is, 2.8 introduced an explicit context creation and usage with SetCurrent(c

Re: [osg-users] how to explicitly delete objects protected by osg::ref_ptr?

2006-12-13 Thread Thibault Genessay
Hi On 12/13/06, xiaoshuxing <[EMAIL PROTECTED]> wrote: Hello, everyone: Osg::ref_ptr is used automatically manage the memory allocation, but it only release the memory when the point is out of scope What should I do if I want to release the memory the pointer is pointing to explicitly? Ju

Re: [osg-users] Mailing lists

2006-11-08 Thread Thibault Genessay
Hi Robert, and OSGersOn 11/8/06, Robert Osfield < [EMAIL PROTECTED]> wrote:Proposal of an osg-build mailing list: If they keep the "one click" (one 'make') concept to build the whole OSG, yes !Not having those configure scripts or this scons hell is so great :) Proposal of a osg- volunteer m

Re: [osg-users] Hidden Line Removal

2006-11-03 Thread Thibault Genessay
HiOn 11/3/06, Madhavan <[EMAIL PROTECTED] > wrote: Hi,   Is there option to get "Hidden Line Removal" from the Wireframe Model.   Reference for the feature please see the link below, http://en.wikipedia.org/wiki/Hidden_line_removal The OSG does not have such a built-in feature afaikMaybe

Re: [osg-users] Displaying a high number of cylinders

2006-10-26 Thread Thibault Genessay
HiOn 10/26/06, Ignacio García < [EMAIL PROTECTED] > wrote:>   >   >   > > Hi OSGers,   > > > > I have to display a high number (>500) of similar cylinders:   > > - Same size (both radius and height)   > > - Same texture coordinates (but different texture)   > > -

Re: [osg-users] Transformations

2006-10-23 Thread Thibault Genessay
HiOn 10/23/06, Fernando Giovanini <[EMAIL PROTECTED]> wrote: Hello all!I'm trying to translate an Geode (a Box). This is my function:osg::Node* createModel(){osg::Group* grupo = new osg::Group();osg::Matrixf* matTrans = new osg::Matrixf();matTrans->makeTranslate( 2.0,0.0,0.0);osg::M

Re: [osg-users] regarding adding text to scene graph

2006-10-12 Thread Thibault Genessay
HiOn 10/12/06, TIRUMALESH CHINTAMANI < [EMAIL PROTECTED]> wrote: hi,   I was wondering how can u add text to scene on click event. Is it possible?Of course :) I mean i don't want to update text but wanted to add text on each click of a button. Could anyone help in this matterHave a look at the exa

Re: [osg-users] OSG crash when calling getEnv() caused by OpenThreads bug in Win32 implementation?

2006-10-10 Thread Thibault Genessay
HiOn 10/10/06, Kallfass, Daniel, SDGE1 <[EMAIL PROTECTED]> wrote: Hello,due to crashes that occur in OSG calling the getEnv() c-function inour multithreaded application, I tried to figure out what could bewrong.I noticed that the OpenThreads implementation for Win32 is using the Windows API functio

Re: [osg-users] Screen resolution

2006-10-09 Thread Thibault Genessay
HiOn 10/9/06, Serge Lages <[EMAIL PROTECTED]> wrote: Hi all,Sorry for this basic question, but I can't manage to get the screenresolution of my app during run-time. I tried to use the displaysettings but the values returned don't seem correct (something like 0.6 where I need 1024 for example).Have

Re: [osg-users] Plumbing problems...

2006-10-09 Thread Thibault Genessay
HiOn 10/9/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Hi All,I'm having problems with memory leaks, and was hoping that someone might be able to assist. [chop] Can anyone suggest what might be going wrong please I don't know for your specific problem, but:Memory leaks are a pain, but thanks t

Re: [osg-users] regarding osgText example in osg

2006-10-03 Thread Thibault Genessay
HiOn 10/3/06, TIRUMALESH CHINTAMANI <[EMAIL PROTECTED]> wrote:   Hi all,   I am new osg and I was working on to add some text to a simple scene. I tried looking at the osgText example from examples. The executable are working properly. When i try copying and run the source code, I was not able to r

Re: [osg-users] LNK2019

2006-09-14 Thread Thibault Genessay
HiWhat's the parameters i have to use tocreate a new project/solution? You need to open the project properties, open the linker options and:- in the General tab, in Additional Library Directories, type the path to the path where OSG puts the .lib files Mustafa mentioned earlier ( e.g. z:\path\t

Re: [osg-users] Dev-Cpp

2006-07-27 Thread Thibault Genessay
On 7/27/06, Radu Mihai <[EMAIL PROTECTED]> wrote: I don't have the answer to that, but you might try using the(experimental) cmake build system from the wiki & set the generatorfor mingw makefiles.[...] On 25-Jul-06, at 7:51 PM, <[EMAIL PROTECTED]>< [EMAIL PROTECTED]> wrote:> Hi,>> Before I suic

Re: [osg-users] Matrix rotation question: what's up

2006-07-13 Thread Thibault Genessay
Hi On 7/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello. [chop] Now, when i turn my head 90 degrees to the left, i see the scene (slightly downwards also). When i pitch the helmet, the view pitches. When i roll the helmet, the view yaws. And when i yaw the helmet, the view rolls. I s

Re: [osg-users] Threading Performance trouble...

2006-07-07 Thread Thibault Genessay
Hi On 7/7/06, Robert Osfield <[EMAIL PROTECTED]> wrote: Hi Adrain, Looking at the Win32 OpenThreads::Thread::YieldCurrentThread() implemention - its just a Sleep(10) which looks a bit a hack, under pthreads there is s proper sched_yield() call. Is there a Win32 properly thread call for yieldin

Re: [osg-users] What is the function of "traverse()"

2006-07-06 Thread Thibault Genessay
Hi The article http://en.wikipedia.org/wiki/Scene_graph#Traversals might help you understanding the traversal mechanism Regards ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.open

Re: [osg-users] Semi-OT: "Best" linux?

2006-06-29 Thread Thibault Genessay
Hi osg-users I'm sorry for the personnal mail that I've just sent to the whole list. I meant to send it to Jan only ... I just forgot to change the To: field. Well, you know me better now :) Milles excuses Thibault ___ osg-users mailing list osg-user

Re: [osg-users] Semi-OT: "Best" linux?

2006-06-29 Thread Thibault Genessay
Hi Jan Thibault Genessay wrote: >> What do you folks like for OSG development, and why? > Windows, VS.NET + Debian => cross-compilation => always good code :) Thibault, are you kidding? :) Why the heck would you want to do that? Being Microsoft Gold Certified Partner, I'

Re: [osg-users] Performance Issue : SceneView / FoxToolkit / OpenThreads / cURL

2006-06-23 Thread Thibault Genessay
Hi > Sounds like your processing and jumping cores and thashing cache. You > need to lock the processes to cores. Don't know if Windows is capable > of this. It is: SetProcessAffinityMask() and related functions are here just for that purpose Thibault _

Re: [osg-users] Semi-OT: "Best" linux?

2006-06-22 Thread Thibault Genessay
Hi On 6/22/06, Thom DeCarlo <[EMAIL PROTECTED]> wrote: Ok, I'm going to take the plunge and replace the OS on my home computer. My first question is, which Linux should I install? It has been 10 years since I've had much to do with any of the Unixes (IRIX and Solaris). Removing Windows ? Oh my

Re: [osg-users] CVS 6.0 version : link error please help

2006-06-16 Thread Thibault Genessay
Thanks for the answers. The compilation and liking are now ok. But when we run the application, the system can't find the dynamic library OpenThreadsWin32d.dll. Once you have compiled OpenThreads and Producer (in both Debug and Release), copy the DLLs named OpenThreadsWin32[d].dll and Producer[d