Re: [Opensg-users] Deleting a Mutex or CondVar

2009-03-05 Thread Gerrit Voß
Hi, On Thu, 2009-03-05 at 17:51 -0600, Aron Bierbaum wrote: I believe that the de-constructors for Locks and CondVars are protected though. As Carsten said they are Memory Objects, either use a RefCountPtr, e.g. LockRefPtr or call addRef/subRef manually. On Thu, Mar 5, 2009 at 4:49 PM,

Re: [Opensg-users] Cannot build doxygen for trunk

2009-03-10 Thread Gerrit Voß
Hi, On Tue, 2009-03-10 at 09:48 +0100, Mathias Gaunard wrote: I am unable to build doxygen docs for the trunk. I'm doing cmake -DOSG_ENABLE_DOXY_DOC=ON .. in a build subdirectory, which generates several doxygen warnings, including things like

Re: [Opensg-users] Cannot build doxygen for trunk

2009-03-10 Thread Gerrit Voß
Hi, On Tue, 2009-03-10 at 12:29 +0100, Mathias Gaunard wrote: Gerrit Voß wrote: Hi, On Tue, 2009-03-10 at 09:48 +0100, Mathias Gaunard wrote: I am unable to build doxygen docs for the trunk. I'm doing cmake -DOSG_ENABLE_DOXY_DOC=ON .. in a build subdirectory, which generates

Re: [Opensg-users] cmake build questions

2009-03-10 Thread Gerrit Voß
Hi, On Tue, 2009-03-10 at 18:26 -0500, Carsten Neumann wrote: Hello Allen, Allen Bierbaum wrote: - Is it possible to build release and debug at the same time? no. this depends a little on your build system, for makefiles it is a limited no (not in the scons way, see below), for

Re: [Opensg-users] OpenSG and ray tracing

2009-03-12 Thread Gerrit Voß
Hi, On Wed, 2009-03-11 at 16:19 +0100, Thomas Schiffer wrote: hi, i'm new to OpenSG and i want to provide an CUDA-based ray tracing backend to OpenSG. Have there been some efforts to do so and where can I find information about these attempts? I wrote a basic ray tracer for OpenSG 2

Re: [Opensg-users] RecPtr vs MTRecPtr

2009-03-12 Thread Gerrit Voß
Hi, On Thu, 2009-03-12 at 12:08 -0500, Allen Bierbaum wrote: A bit of both. It sounds like from a user perspective MTRecPtrs are the way to go because you can use them and forget about memory issues. Internally to OpenSG things get more complex because of performance optimizations with

Re: [Opensg-users] RecPtr vs MTRecPtr

2009-03-13 Thread Gerrit Voß
Hi, On Thu, 2009-03-12 at 16:48 -0500, Dirk Reiners wrote: Allen Bierbaum wrote: Any comments on the idea of making XxxRefPtr alias the MTRecPtr types instead of RecPtr? I would be ok with it. Give people who don't know or don't care belts and suspenders, and those that know or care

Re: [Opensg-users] PrimeMaterial?

2009-03-13 Thread Gerrit Voß
Hi, On Thu, 2009-03-12 at 15:03 -0500, Patrick Hartling wrote: Allen Bierbaum wrote: What is PrimeMaterial? I have some old code that is not compiling now because I try to do: OSG::ChuckMaterialMTRecPtr material = OSG::getDefaultMaterial(); Evidently getDefaultMaterial now

Re: [Opensg-users] PrimeMaterial?

2009-03-13 Thread Gerrit Voß
Hi, On Fri, 2009-03-13 at 08:38 -0500, Allen Bierbaum wrote: On Fri, Mar 13, 2009 at 2:50 AM, Gerrit Voß vo...@camtech.ntu.edu.sg wrote: Hi, On Thu, 2009-03-12 at 15:03 -0500, Patrick Hartling wrote: Allen Bierbaum wrote: What is PrimeMaterial? I have some old code

Re: [Opensg-users] Segfault in State::addChunks

2009-03-14 Thread Gerrit Voß
Hi, On Sat, 2009-03-14 at 10:09 -0500, Allen Bierbaum wrote: I am seeing a segfault because of a NULL pointer in State::addChunks. -- bool State::addChunk(StateChunk *chunk, Int32 index) { if(index 0 index chunk-getClass()-getNumSlots()) {

Re: [Opensg-users] Segfault in State::addChunks

2009-03-15 Thread Gerrit Voß
Hi, On Sun, 2009-03-15 at 01:32 +0800, Gerrit Voß wrote: Hi, On Sat, 2009-03-14 at 10:09 -0500, Allen Bierbaum wrote: I am seeing a segfault because of a NULL pointer in State::addChunks. -- bool State::addChunk(StateChunk *chunk, Int32 index

Re: [Opensg-users] Trunk 'install' target broken as of r1813

2009-03-16 Thread Gerrit Voß
Hi, On Mon, 2009-03-16 at 09:57 -0500, Patrick Hartling wrote: Then it works fine, but that most likely has a negative impact on the rest of r1813. 1819 should work. 1813 screwed up the cmake pass settings which in turn screwed up the install. kind regards, gerrit

Re: [Opensg-users] OpenSG and ray tracing

2009-03-17 Thread Gerrit Voß
Hi, On Tue, 2009-03-17 at 19:18 +0100, Thomas Schiffer wrote: Hi, Dear mr. Voß you say that you have a basic ray tracer version in your tree could be possible to get it? sure, my tree refers to http://www.cgmt.org/user/gerrit/OpenSG.git out have to checkout the gerrit branch and

Re: [Opensg-users] OpenSG and ray tracing

2009-03-17 Thread Gerrit Voß
Hi, On Tue, 2009-03-17 at 21:30 +0100, Thomas Schiffer wrote: On Tue, 2009-03-17 at 19:18 +0100, Thomas Schiffer wrote: Hi, Dear mr. Voß you say that you have a basic ray tracer version in your tree could be possible to get it? sure, my tree refers to

Re: [Opensg-users] build problem with CMake MSVC2005

2009-03-18 Thread Gerrit Voß
Hi, On Wed, 2009-03-18 at 13:08 +0100, Thomas Schiffer wrote: hi, i updated my working copy to r1826 and executed cmake. afterwards i tried to build OpenSG using MSVC2005 but i got linker problems 1-- Build started: Project: OSGSystem, Configuration: Debug Win32 -- 1Linking...

Re: [Opensg-users] A binary image format?

2009-03-18 Thread Gerrit Voß
Hi, On Wed, 2009-03-18 at 18:34 -0600, Allen Bierbaum wrote: This code looks interesting: (cc'ing here for those watching in). I will try something like this out tomorrow. did you try MTDImage ? From looking at it it just dumps the OSG image information to disk. If it does not work for

Re: [Opensg-users] A binary image format?

2009-03-19 Thread Gerrit Voß
Hi, On Thu, 2009-03-19 at 08:34 -0500, Allen Bierbaum wrote: What does MTD stand for? /*! \brief MTD File Handler. Used to read/write MTD files. MTD is the OpenSG native image format (Multi (frame/layer) Texture Data) See \ref PageSystemImage for a detailed description. */ kind

Re: [Opensg-users] commitChanges in 2.0

2009-03-20 Thread Gerrit Voß
Hi, On Fri, 2009-03-20 at 20:21 -0500, Carsten Neumann wrote: Hello Allen, Allen Bierbaum wrote: I know this has come up before but I can't find a current list. What changes necessitate a call to commitChanges()? The only one I know is bounding box updates. you need to

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-23 Thread Gerrit Voß
Hi, On Mon, 2009-03-23 at 21:34 -0600, Allen Bierbaum wrote: See below... On Mon, Mar 23, 2009 at 8:16 PM, Gerrit Voß vo...@camtech.ntu.edu.sg wrote: Hi, short comment, 2) XxxPtr creation is not thread safe We think this one is killing us. To put it more concretely, imagine

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-23 Thread Gerrit Voß
Hi, On Mon, 2009-03-23 at 21:43 -0600, Allen Bierbaum wrote: On Mon, Mar 23, 2009 at 8:27 PM, Carsten Neumann carsten_neum...@gmx.net wrote: Hello Allen, Allen Bierbaum wrote: 1) The first question is, what issues do the experts on the list see with this type of arrangement.

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-23 Thread Gerrit Voß
Hi, On Mon, 2009-03-23 at 21:43 -0600, Allen Bierbaum wrote: On Mon, Mar 23, 2009 at 8:27 PM, Carsten Neumann carsten_neum...@gmx.net wrote: Hello Allen, * Change lists: As discussed in another posting, we think that the change list should be thread safe and that as long

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-23 Thread Gerrit Voß
Hi, On Tue, 2009-03-24 at 01:33 -0300, Thiago Bastos wrote: Hi Gerrit, I'm looking at it and are about to change the refcounting to atomic operations. It's just compiling right now so I will know more soon ;) Hopefully you'll have a stable ref counter as

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-24 Thread Gerrit Voß
Hi, relatively, the problem is that the only consistent thing they export is the blob (sp_counted_base), not the atomic operations we need, so we might take some inspiration from there but I guess we have to do the two required functions (atomicInc, atomicExAndAdd) by ourselves. But we can

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-24 Thread Gerrit Voß
Hi, On Tue, 2009-03-24 at 09:15 +0100, Marcus Lindblom wrote: I don't know what Gerrit went with in his first implementation, but it's easy to optimize. basically boost::detail::atomic_exchange_and_add and boost::detail::atomic_increment on non windows platforms and

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-24 Thread Gerrit Voß
Hi, On Tue, 2009-03-24 at 09:04 -0500, Allen Bierbaum wrote: On Tue, Mar 24, 2009 at 12:05 AM, Gerrit Voß vo...@camtech.ntu.edu.sg wrote: Hi, On Mon, 2009-03-23 at 21:43 -0600, Allen Bierbaum wrote: On Mon, Mar 23, 2009 at 8:27 PM, Carsten Neumann carsten_neum...@gmx.net wrote

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-24 Thread Gerrit Voß
Hi, On Tue, 2009-03-24 at 16:10 -0500, Carsten Neumann wrote: Hello Aron, Aron Bierbaum wrote: Most recently I have run into a situation where I get the following assert. Any ideas how this is possible? Assertion failed: 0 != pEntry, file

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-24 Thread Gerrit Voß
Hi, On Tue, 2009-03-24 at 12:18 -0500, Aron Bierbaum wrote: While looking through the clear code I had a question about how ReflexiveContainer::clearChangeEntry is called from ChangeList::doClear. It appears that the per thread change list is clearing the change entry that is per aspect. Is

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-24 Thread Gerrit Voß
Hi, On Tue, 2009-03-24 at 22:47 -0500, Aron Bierbaum wrote: On Tue, Mar 24, 2009 at 10:23 PM, Gerrit Voß vo...@camtech.ntu.edu.sg wrote: Hi, On Tue, 2009-03-24 at 16:10 -0500, Carsten Neumann wrote: Hello Aron, Aron Bierbaum wrote: Most recently I have run

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-24 Thread Gerrit Voß
Hi, On Tue, 2009-03-24 at 10:19 -0500, Dirk Reiners wrote: Hi Gerrit, Gerrit Voß wrote: hmm, I would not expect problems with the aspect store as they are only written on two occasions, during the initial creation and during sync. There should be no interference during both

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-25 Thread Gerrit Voß
Hi, On Wed, 2009-03-25 at 12:53 +0800, Gerrit Voß wrote: Hi, I'll see if I can squeeze in a cheap spinlock, some atomic modification for the volume state and an early out for the up-tree traversal when invalidating volumes. For the window side I have to think about the details, but I

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-26 Thread Gerrit Voß
Hi, On Thu, 2009-03-26 at 17:21 -0500, Carsten Neumann wrote: Hi Gerrit, all, Gerrit Voß wrote: relatively, the problem is that the only consistent thing they export is the blob (sp_counted_base), not the atomic operations we need, so we might take some inspiration from

[Opensg-users] IRIX ?

2009-03-26 Thread Gerrit Voß
Hi, as we are toying around with some of the the low level stuff, do we still need to maintain the IRIX variant ? kind regards, gerrit -- ___ Opensg-users mailing list

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-26 Thread Gerrit Voß
Hi, On Thu, 2009-03-26 at 22:41 -0500, Dirk Reiners wrote: Hi Gerrit, Gerrit Voß wrote: Ah ok, I change the order back so that that one works again. We thought about doing that but couldn't find a way with the atomic operations that did not need an additional lock to avoid

Re: [Opensg-users] Ptrs, threading, and crashes

2009-03-29 Thread Gerrit Voß
Hi, On Sun, 2009-03-29 at 15:10 -0500, Dirk Reiners wrote: Hi Gerrit, Gerrit Voß wrote: Hi, ok, after thinking a little and fixing my initial rather brain dead tries ;), coming back to the initial problem set ;) Sometimes it actually does make sense to stop and think

Re: [Opensg-users] [Opensg-commits] r1858 - in trunk: Examples/Simple Source/Base/Base Source/Contrib/BackgroundLoader Source/Contrib/Manipulators Source/Contrib/VTK Source/System/Cluster/Base Source/

2009-04-06 Thread Gerrit Voß
Hi, On Mon, 2009-04-06 at 21:59 -0500, Dirk Reiners wrote: Gerrit Voß wrote: Hi, On Mon, 2009-04-06 at 08:31 -0500, Dirk Reiners wrote: Hi Gerrit, trac-not...@vrsource.org wrote: Log: removed: OSG_USING_NAMESPACE from test/examples, to many OS X naming conflicts can you

Re: [Opensg-users] [Opensg-commits] r1858 - in trunk: Examples/Simple Source/Base/Base Source/Contrib/BackgroundLoader Source/Contrib/Manipulators Source/Contrib/VTK Source/System/Cluster/Base Source/

2009-04-07 Thread Gerrit Voß
Hi, On Tue, 2009-04-07 at 07:25 -0500, Dirk Reiners wrote: Hi Gerrit, Gerrit Voß wrote: using a namespace is troublesome anyway so I'm not unhappy about scrapping it. For std for example we got away from it a long time ago. Included files inside OpenSG should not use

Re: [Opensg-users] VC9 x64 debug build builds against non-debug runtime

2009-04-08 Thread Gerrit Voß
Hi, On Wed, 2009-04-08 at 11:53 +0200, li...@thomasbeer.net wrote: Hi, I just encountered a problem when building OpenSG 2 with cmake generated VC9 projects for x64: CMAKE_C[XX]_FLAGS_DEBUG[RT] are set to /MD which builds against the non-debug runtime...should be /MDd at this point. hmm

Re: [Opensg-users] VC9 x64 debug build builds against non-debug runtime

2009-04-08 Thread Gerrit Voß
Hi, On Wed, 2009-04-08 at 09:11 -0500, Carsten Neumann wrote: Hi Gerrit, Gerrit Voß wrote: On Wed, 2009-04-08 at 11:53 +0200, li...@thomasbeer.net wrote: Hi, I just encountered a problem when building OpenSG 2 with cmake generated VC9 projects for x64: CMAKE_C[XX]_FLAGS_DEBUG

Re: [Opensg-users] std::bad_alloc in ShaderProgram::handleGL()

2009-04-30 Thread Gerrit Voß
Hi, On Thu, 2009-04-30 at 16:01 -0500, Allen Bierbaum wrote: What version of OpenSG are you running? 2.x kind regards, gerrit -- Register Now Save for Velocity, the Web Performance Operations Conference from

Re: [Opensg-users] std::bad_alloc in ShaderProgram::handleGL()

2009-04-30 Thread Gerrit Voß
Hi, On Thu, 2009-04-30 at 15:12 +0200, Marcus Lindblom wrote: Hi, After re-loading a scene, we get a std::bad_alloc (with 3 gigs) from the following place (line 601 in OSGShaderProgram.cpp): if(iStatus == 0) { Char8 *szDebug;

Re: [Opensg-users] Debug assertion using VS 2008 on Vista x64

2009-05-05 Thread Gerrit Voß
Hi, On Tue, 2009-05-05 at 07:28 +0200, Christoph Schäfer wrote: Hi, recently I ran into a problem after compiling OpenSG2 for the x64 plattform. I get a debug assertion in OSGDrawable_d.dll!OSG::exactinit() line 730 when I try to run any example drawing anything. The examples not

Re: [Opensg-users] cmake 2.6.4 problem

2009-05-07 Thread Gerrit Voß
Hi, On Thu, 2009-05-07 at 12:04 -0500, Carsten Neumann wrote: Hello, Carsten Neumann wrote: Carsten Neumann wrote: just wanted to let everybody know that I've seen a build problem with cmake 2.6.4. It seems that ADD_SUBDIRECTORY can not be called with the same argument more

Re: [Opensg-users] cmake 2.6.4 problem

2009-05-08 Thread Gerrit Voß
Hi, On Thu, 2009-05-07 at 12:04 -0500, Carsten Neumann wrote: Hello, Carsten Neumann wrote: Carsten Neumann wrote: just wanted to let everybody know that I've seen a build problem with cmake 2.6.4. It seems that ADD_SUBDIRECTORY can not be called with the same argument more

Re: [Opensg-users] cmake 2.6.4 problem

2009-05-08 Thread Gerrit Voß
Hi, On Fri, 2009-05-08 at 18:11 -0500, Carsten Neumann wrote: Hello Gerrit, Carsten Neumann wrote: Gerrit Voß wrote: It also forces far to big rebuilds as instead of just rebuilding tests now a lot more libs will be rebuild because the test dependencies are taken into account

Re: [Opensg-users] DCC Toolchain with OpenSG 2.0? Animations?

2009-05-11 Thread Gerrit Voß
Hi, On Mon, 2009-05-11 at 12:07 -0500, Aashish Chaudhary wrote: We have been using collada for some time. Its serving our purpose so far and being stable. As Carsten said it does not load shaders but our engine does that for us. We are interested in animations as well and looking forward

Re: [Opensg-users] OpenGL texture port to OpenSG

2009-05-22 Thread Gerrit Voß
Hi, On Fri, 2009-05-22 at 14:56 +0200, Marcus Lindblom wrote: Vincenzo Marafioti wrote: Carsten Neumann ha scritto: Keep the texture on the gfx card, without ever downloading it to main memory. You can access the texture represented by a TextureChunk from OpenGL if you know the id it

Re: [Opensg-users] Help: How To Implement a Cluster Framework

2009-05-27 Thread Gerrit Voß
Hi, On Wed, 2009-05-27 at 14:33 +0800, Jie Liu wrote: Hi all, I have implemented the example cluster framwork, and deploy the server/client application on two machines ( one for client, the other the rendering server ); However, I think there are more details I want to know. For

Re: [Opensg-users] OpenSG2: trouble with file formats on WinXP

2009-06-02 Thread Gerrit Voß
Hi, On Tue, 2009-06-02 at 15:36 +0200, Andreas Zieringer wrote: Hi Volker, Volker Settgast wrote: Gerrit Voß wrote: from: http://opensg.vrsource.org/trac/wiki/Building #After building If it looks like elements are missing as you run your programs, especially

Re: [Opensg-users] OpenSG2: trouble with file formats on WinXP

2009-06-02 Thread Gerrit Voß
Hi, On Tue, 2009-06-02 at 15:33 +0200, Marcus Lindblom wrote: Marcus Lindblom wrote: Volker Settgast wrote: Gerrit Voß wrote: from: http://opensg.vrsource.org/trac/wiki/Building #After building If it looks like elements are missing as you run your programs, especially

Re: [Opensg-users] OpenSG crashed while compute the Normals

2009-06-04 Thread Gerrit Voß
Hi, ok, some additionally background information. my application is a deformation simulator. i calculate the deformation and update the geometry. GeoPositions3fPtr pos = GeoPositions3fPtr::dcast(geo-getPositions()); GeoPositions3f::StoredFieldType *posfield = pos-getFieldPtr(); ...

Re: [Opensg-users] OFF file in OpenSG 2.0

2009-06-09 Thread Gerrit Voß
Hi, On Tue, 2009-06-09 at 13:44 +0530, alex wrote: Hi Gerrit does it complain that this file type is not handled or does it load wrongly (which is my current guess) an thus display nothing. It complain about type is not handled. This format is not in list to load, hmm, interesting,

Re: [Opensg-users] [Opensg-cores] Can PassiveWindow and MultiDisplayWIndow be combined together?

2009-06-15 Thread Gerrit Voß
Hi, On Mon, 2009-06-15 at 22:28 +0800, Jie Liu wrote: Hi, Carsten, yeah, we have a large codebase; Maybe we have to reconstruct our code... Thanks anyway. don't give up that easily ;) For your scenario the most straight forward solution might be something like chromium which works

Re: [Opensg-users] [Opensg-commits] r1942 - trunk/Examples/Tutorial

2009-06-16 Thread Gerrit Voß
Hi, On Tue, 2009-06-16 at 14:50 +0800, Gerrit Voß wrote: Hi, On Mon, 2009-06-15 at 18:03 -0500, Dirk Reiners wrote: Hi Gerrit, Dirk Reiners wrote: Hi Gerrit, trac-not...@vrsource.org wrote: Log: fixed: removed OSG_USING_NAMESPACE (does not work on OS X

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-17 Thread Gerrit Voß
Hi, On Wed, 2009-06-17 at 14:06 +0200, Andreas Halm wrote: Hi, I was first missing documentation about how to write your own node (or core) class when using opensg 1.8, and now I am missing it again while converting from 1.8 to 2.0. So this post should encourage anybody capable of

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-17 Thread Gerrit Voß
Hi, On Wed, 2009-06-17 at 22:28 +0800, Gerrit Voß wrote: Hi, o static ClassTransitPtr createDependent(BitVector bFlags); hmm, have to check I'm sure I had a reason to add it though. ah ok, that one is needed if an inner container needs to use the same flags as the outer inside

Re: [Opensg-users] [Opensg-cores] Can PassiveWindow and MultiDisplayWIndow be combined together?

2009-06-18 Thread Gerrit Voß
Hi, On Tue, 2009-06-16 at 10:28 +0800, Gerrit Voß wrote: Hi, But with OpenSG 2 you should be able to get a reasonably smooth transition towards OpenSG using stages. The first step would be to wrap your OpenGL codebase into an Algorithm Stage and make it aware of the OpenSG camera

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-18 Thread Gerrit Voß
Hi, On Thu, 2009-06-18 at 13:20 +0200, Andreas Halm wrote: Hi again, I understand that, however i am under tight time constrains and I felt it might be easier to first go the copy-and-paste-way, ok, where did you copy from (e.g. from which OpenSG class) ? Iirc I copied from

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-18 Thread Gerrit Voß
Hi, On Thu, 2009-06-18 at 20:04 +0800, Gerrit Voß wrote: Hi, On Thu, 2009-06-18 at 13:20 +0200, Andreas Halm wrote: Hi again, ok. Short question, how do you compile OpenSG ?. Weird crashes can easily be a mismatch of compile time parameters, especially crashes

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-18 Thread Gerrit Voß
Hi, On Thu, 2009-06-18 at 23:24 -0500, Dirk Reiners wrote: Hi Carsten, Carsten Neumann wrote: I've just added the beginnings of this (it is not complete yet, more over the next days) in Examples/CustomIntegration/NewContainerType. Currently there is a directory CubesLib that

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-19 Thread Gerrit Voß
Hi, On Thu, 2009-06-18 at 15:16 +0200, Andreas Halm wrote: Hi, ok for a debug (/0d /MD) project the cmake generated solutions compiles with the following settings: cl /Od some include paths here /D WIN32 /D _WINDOWS /D _WIN32_WINNT=0x0400 /D WINVER=0x0400 /D OSG_DEBUG /D

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-19 Thread Gerrit Voß
Hi, On Fri, 2009-06-19 at 13:15 +0200, Andreas Halm wrote: Hi, So does you app still crash or did the change to /MDd for OpenSG help ? Yes and no. It does not crash anymore on startup but now it seems to hang in some kind of infinite loop while handling the redraw called from the

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-19 Thread Gerrit Voß
Hi, On Fri, 2009-06-19 at 14:11 +0200, Andreas Halm wrote: Hi, So does you app still crash or did the change to /MDd for OpenSG help ? Yes and no. It does not crash anymore on startup but now it seems to hang in some kind of infinite loop while handling the redraw called

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-20 Thread Gerrit Voß
Hi, just to keep it a little on track. This is mainly about windows especially with multi target (2) visual studio (mtvs) solutions. You have to forget the simplicity of the unix makefile variants. On Fri, 2009-06-19 at 09:42 -0500, Carsten Neumann wrote: Hi Gerrit, Gerrit Voß wrote

Re: [Opensg-users] Multithreading and Reference counting

2009-06-20 Thread Gerrit Voß
Hi, a general comment. On Thu, 2009-06-18 at 08:32 +0200, Marc Hofmann wrote: Hello Carsten, Carsten Neumann carsten_neum...@gmx.net schrieb am 17.06.2009 20:40:17: sorry, I was a bit vague there, what I meant is: have you tried to simplify the above loop to only contain

Re: [Opensg-users] Crash on OSG2 startup (was: Documentation: How to write your own node class)

2009-06-22 Thread Gerrit Voß
Hi, On Mon, 2009-06-22 at 14:29 +0200, Andreas Halm wrote: Hi, I found the problem. hmm interesting it's stuck while logging. But nothing really indicates why, it does not look like a loop, more like a lock or barrier. And it is outside any OpenSG loop and also does not seem to hit

Re: [Opensg-users] Crash on OSG2 startup (was: Documentation: How to write your own node class)

2009-06-22 Thread Gerrit Voß
Hi, On Mon, 2009-06-22 at 17:04 +0200, Andreas Halm wrote: Hi, Using CS_OWNDC for OpenGL windows is strongly recommended as as far as I remember from general OpenGL discussions, some drivers might not work without it. I'll see if we can find a way to query for that so we can warn if

Re: [Opensg-users] Documentation: How to write your own node class

2009-06-23 Thread Gerrit Voß
Hi, On Tue, 2009-06-23 at 17:12 +0200, Andreas Halm wrote: Hi Carsten, hm, getActNode() gives you the current Node, not the NodeCore. If your render action callback is a member function the current node core is simply this and the same as getActNode()-getCore(). Can you post the

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-06-25 Thread Gerrit Voß
Hi, On Thu, 2009-06-25 at 08:37 +0200, Johannes Brunen wrote: May I take the opportunity to ask for the state of affairs with respect the build target naming scheme. There happend to be some discussion on the lists about changing the current scheme. Any conclusion reached? not yet, but it

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-06-25 Thread Gerrit Voß
Hi, On Thu, 2009-06-25 at 09:58 +0200, Johannes Brunen wrote: Hello Gerrit, Gerrit Vo vo...@vossg.org schrieb im Newsbeitrag On Thu, 2009-06-25 at 08:37 +0200, Johannes Brunen wrote: Debug - /MDd /Od as usually found on windows: suffix 'D' DebugOpt - /MDd /O2 /Ob2 this

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-06-25 Thread Gerrit Voß
Hi, On Thu, 2009-06-25 at 16:48 +0200, Marcus Lindblom wrote: Debug - (short for DebugDbg) debug runtime + debug compiler DebugRel - debug runtime + release compiler (was DebugOpt) ReleaseDbg - release runtime + debug compiler Release- (short for ReleaseRel) release

Re: [Opensg-users] Compiling OpenSG with CMake

2009-06-26 Thread Gerrit Voß
Hi, On Fri, 2009-06-26 at 09:55 +0200, Johannes Brunen wrote: Hello Carsten, Carsten Neumann carsten_neum...@gmx.net schrieb im Newsbeitrag news:49e74194.3000...@gmx.net... Here are some of my questions: 1. How can I adapt the build process with respect to the following parts: -

Re: [Opensg-users] Compiling OpenSG with CMake

2009-06-26 Thread Gerrit Voß
Hi, On Fri, 2009-06-26 at 10:41 +0200, Johannes Brunen wrote: Hello Gerrit, Gerrit Vo vo...@vossg.org schrieb im Newsbeitrag news:1246004014.13150.14.ca...@feynman.camtech.ntu.edu.sg... hmm, on windows cmake comes with a user interface to change the settings directly at least for me

Re: [Opensg-users] Problems with Multithreading in OpenSG 2.0

2009-06-26 Thread Gerrit Voß
Hi, On Fri, 2009-06-26 at 15:55 -0500, Carsten Neumann wrote: Hello Marc, Marc Hofmann wrote: as advised here I tried to use OpenSG 2.0. After some time I was able to compile OpenSG 2.0 under Windows (cmake generated project files contains missing additionally libraries).

Re: [Opensg-users] Problems with Multithreading in OpenSG 2.0

2009-06-26 Thread Gerrit Voß
Hi, On Fri, 2009-06-26 at 20:17 -0500, Carsten Neumann wrote: Hi Gerrit, Gerrit Voß wrote: On Fri, 2009-06-26 at 15:55 -0500, Carsten Neumann wrote: no, something broke badly inside OpenSG :( I'm looking into it ATM. This example used to work fine (after all it is close to being

Re: [Opensg-users] Problems with Multithreading in OpenSG 2.0

2009-06-26 Thread Gerrit Voß
Hi, On Sat, 2009-06-27 at 09:36 +0800, Gerrit Voß wrote: Hi, Why it crashes on Windows might be a separate issue. debugging on windows shows strange things: When printing the scene graph in rotate() and display() (using SceneGraphPrinter from System/FieldContainer/Misc

Re: [Opensg-users] Multithreading and Reference counting

2009-06-26 Thread Gerrit Voß
Hi, sorry for the delay, was dragged into the admin zone ;( On Mon, 2009-06-22 at 17:56 -0500, Carsten Neumann wrote: Hello Marc, Marc Hofmann wrote: hmm, is there anything particular holding you back to use OpenSG 2, more in a technical sense than the time/effort it will

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-06-30 Thread Gerrit Voß
Hi, On Tue, 2009-06-30 at 09:19 +0200, Johannes Brunen wrote: Hello Gerrit, Gerrit Vo vo...@vossg.org schrieb im Newsbeitrag news:1246336792.3319.14.ca...@feynman.camtech.ntu.edu.sg... short question. what are the correct windows debug define settings or if this is not well defined,

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-01 Thread Gerrit Voß
Hi, On Wed, 2009-07-01 at 09:37 +0200, Johannes Brunen wrote: Hello Gerrit, Gerrit Vo vo...@vossg.org schrieb im Newsbeitrag news:1246422106.3445.21.ca...@feynman.camtech.ntu.edu.sg... Another small warning I stumbled across, the std cmake boost find mechanism only react to these

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-01 Thread Gerrit Voß
Hi, On Wed, 2009-07-01 at 17:01 +0800, Gerrit Voß wrote: Hi, On Wed, 2009-07-01 at 09:37 +0200, Johannes Brunen wrote: Hello Gerrit, Gerrit Vo vo...@vossg.org schrieb im Newsbeitrag news:1246422106.3445.21.ca...@feynman.camtech.ntu.edu.sg... Below is a list

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-01 Thread Gerrit Voß
Hi Johannes, On Wed, 2009-07-01 at 23:22 +0200, Johannes Brunen wrote: Hello Lars, Lars Bilke lars.bi...@ufz.de schrieb im Newsbeitrag news:4a4b198b.1060...@ufz.de... Johannes, it would be really cool to provide all these libraries for everyone. Is it possible to upload them to the

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Thu, 2009-07-02 at 07:52 +0800, Gerrit Voß wrote: Hi Johannes, On Wed, 2009-07-01 at 23:22 +0200, Johannes Brunen wrote: Hello Lars, Lars Bilke lars.bi...@ufz.de schrieb im Newsbeitrag news:4a4b198b.1060...@ufz.de... Johannes, it would be really cool to provide all

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Thu, 2009-07-02 at 09:55 +0200, Marcus Lindblom wrote: Gerrit Voß wrote: ok, I did the changes, could you check if they make sense for you. Small warning of which you most likely are aware, you have to start with a blank/empty cache to get these changes pulled in correctly

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Thu, 2009-07-02 at 11:34 +0200, Johannes Brunen wrote: Hi Gerrit, I did send a message with an attachment. I got the following answer: Your message to Opensg-users awaits moderator approval Will the message be approved or should I resend it (maybe privately)? you can resent it

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Thu, 2009-07-02 at 09:53 +0200, Marcus Lindblom wrote: Johannes Brunen wrote: Hello Gerrit, Gerrit Voß vo...@vossg.org schrieb im Newsbeitrag news:1246336792.3319.14.ca...@feynman.camtech.ntu.edu.sg... short question. what are the correct windows debug define settings

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Thu, 2009-07-02 at 17:52 +0800, Gerrit Voß wrote: Hi, On Thu, 2009-07-02 at 09:53 +0200, Marcus Lindblom wrote: Johannes Brunen wrote: Hello Gerrit, Gerrit Voß vo...@vossg.org schrieb im Newsbeitrag news:1246336792.3319.14.ca...@feynman.camtech.ntu.edu.sg... short

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Thu, 2009-07-02 at 17:52 +0800, Gerrit Voß wrote: Hi, On Thu, 2009-07-02 at 09:53 +0200, Marcus Lindblom wrote: Johannes Brunen wrote: Hello Gerrit, Gerrit Voß vo...@vossg.org schrieb im Newsbeitrag news:1246336792.3319.14.ca...@feynman.camtech.ntu.edu.sg... short

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Thu, 2009-07-02 at 18:45 +0800, Gerrit Voß wrote: Hi, Relase NoOpt looks good (/Od and /MD). not quite ;(. If you set _DEBUG and /MD you have to play with the _SECURE settings otherwise you get unresolved symbols, currently trying to figure which one's you need

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Wed, 2009-07-01 at 11:26 +0200, Johannes Brunen wrote: Hello Gerrit, I'm still thinking of how to do that most efficiently on windows. Unfortunately it is such an empty system, and I don't like to make cygwin a prerequisite. One way is to go the VTK way and include all the

Re: [Opensg-users] Fw: OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Thu, 2009-07-02 at 12:04 +0200, Johannes Brunen wrote: Hello Gerrit, Gerrit Voß vossg-pKHMZwtRCR/ytjvyw6y...@public.gmane.org schrieb im Newsbeitrag news:1246492365.3212.53.ca...@feynman.camtech.ntu.edu.sg... I guess it will be very similar. One possible difference I can see

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-02 Thread Gerrit Voß
Hi, On Thu, 2009-07-02 at 16:55 +0200, Marcus Lindblom wrote: Gerrit Voß wrote: Hi, On Thu, 2009-07-02 at 09:55 +0200, Marcus Lindblom wrote: Gerrit Voß wrote: If you have anything else let me know. One open issue is custom compiler flags. I'm also not sure all the 3rd

Re: [Opensg-users] OpenSG 2.0 cmake problem

2009-07-03 Thread Gerrit Voß
Hi, On Fri, 2009-07-03 at 10:24 +0800, Gerrit Voß wrote: Hi, On Thu, 2009-07-02 at 16:55 +0200, Marcus Lindblom wrote: Gerrit Voß wrote: Hi, On Thu, 2009-07-02 at 09:55 +0200, Marcus Lindblom wrote: Gerrit Voß wrote: We/I need to reduce the #include-hogging

Re: [Opensg-users] Fw: OpenSG 2.0 cmake problem

2009-07-03 Thread Gerrit Voß
Hi, On Fri, 2009-07-03 at 09:13 +0200, Johannes Brunen wrote: Hi Gerrit, Gerrit Voß vossg-pKHMZwtRCR/ytjvyw6y...@public.gmane.org schrieb im Newsbeitrag news:1246587685.3442.13.ca...@feynman.camtech.ntu.edu.sg... I'm not there yet ;) So lets wait and see if I succeed or fail before

Re: [Opensg-users] Fw: OpenSG 2.0 cmake problem

2009-07-03 Thread Gerrit Voß
Hi, On Fri, 2009-07-03 at 10:35 +0200, Johannes Brunen wrote: Hello Gerrit, Gerrit Vo vo...@vossg.org schrieb im Newsbeitrag news:1246609102.3442.40.ca...@feynman.camtech.ntu.edu.sg... hmm, fascinating I'll have a look. I thought I tested it but it might be that I screwed something

Re: [Opensg-users] Different locale in release and debug version forscenefilehandler::write()

2009-07-03 Thread Gerrit Voß
Hi, On Fri, 2009-07-03 at 14:41 +0200, Johannes Brunen wrote: Hello Georg, OpenSG 1.8 does set the locale in osgInit(). I did solve problems with respect to the locale settings by resetting them 'correctly' after osgInit(). IMHO OpenSG should not set locale at all. It is the business of

Re: [Opensg-users] Build performance on windows

2009-07-03 Thread Gerrit Voß
Hi, On Fri, 2009-07-03 at 10:03 -0500, Carsten Neumann wrote: Hello Gerrit, quick question since there was some discussion about the build speed on win: do you pass /MP (http://msdn.microsoft.com/en-us/library/bb385193.aspx) as a compiler option? no, but I'm maxing out the one

Re: [Opensg-users] Build performance on windows

2009-07-03 Thread Gerrit Voß
Hi, On Fri, 2009-07-03 at 10:31 -0500, Carsten Neumann wrote: Hello Gerrit, Gerrit Voß wrote: On Fri, 2009-07-03 at 10:03 -0500, Carsten Neumann wrote: quick question since there was some discussion about the build speed on win: do you pass /MP (http://msdn.microsoft.com/en

Re: [Opensg-users] patch

2009-07-08 Thread Gerrit Voß
Hi, On Wed, 2009-07-08 at 12:47 +0200, Andreas Halm wrote: Hello, How are patches submitted usually? Through this usegroup? Or is there a bug tracker I should use? either the group or you can send it to me or Carsten directly. The trac ticketing works only if you are logged in.

[Opensg-users] OSX OpenGL debugger

2009-07-08 Thread Gerrit Voß
Hi, does anybody know any usefull OpenGL debugger for OS X. Ideally something like bugle. thanks kind regards, gerrit -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in

Re: [Opensg-users] BlendChunk and Rectangular Texture

2009-07-09 Thread Gerrit Voß
Hi, On Wed, 2009-07-08 at 23:16 +0200, Vincenzo Marafioti wrote: Hello, i'm a little confused, do you want the values in the texture to not be clamped, or do you mean addressing the texture by integers (i.e. pixels) instead of the usual coordinates in [0 - 1]? Sorry about, I need

Re: [Opensg-users] OSX OpenGL debugger

2009-07-09 Thread Gerrit Voß
Hi, On Thu, 2009-07-09 at 12:18 +0200, Marcus Lindblom wrote: Gerrit Voß wrote: Hi, does anybody know any usefull OpenGL debugger for OS X. Ideally something like bugle. gDebugger? http://www.gremedy.com/gDEBuggerMac.php A bit pricey, but has 7 days free eval. more

  1   2   3   4   5   >