Re: [Opensg-users] OpenSG 1.x broken on win32/64

2011-01-25 Thread Carsten Neumann
Hello Timm, On 01/25/2011 06:24 AM, Timm Drevensek wrote: the commits from 20 jan 2011 (MAIN:neumannc:20110120172538 MAIN:neumannc:20110120172054) have killed our dailybuild of opensg 1.x :) OSGFBOViewport.obj : error LNK2019: unresolved external symbol bool __cdecl

Re: [Opensg-users] Strange compile error after Rev: 2520

2011-01-25 Thread Carsten Neumann
Hello David, On 01/25/2011 10:21 AM, David Kabala wrote: The rest of the build compiled successfully. Here is the patch. many thanks for the patch, applied as r2527. Cheers, Carsten

Re: [Opensg-users] OpenSG 2.0: GradientBackground interface

2011-01-24 Thread Carsten Neumann
Hello Johannes, On 01/24/2011 02:17 AM, Johannes Brunen wrote: might it be possible to allow public access to the color and position multi field accessor functions of the GradientBackground class. Currently these functions are declared in the protected section of the

Re: [Opensg-users] OpenSG 2.0: GradientBackground interface

2011-01-24 Thread Carsten Neumann
Hello Johannes, On 01/24/2011 11:04 AM, Johannes Brunen wrote: yes, that is to ensure the two fields remain consistent. You can use GradientBackground::addLine(Color3f c, Real32 p) to add a gradient line. I don't mind adding read only access to both fields, do you need access beyond

Re: [Opensg-users] Strange compile error after Rev: 2520

2011-01-24 Thread Carsten Neumann
Hello David, On 1/24/2011 8:28 PM, David Kabala wrote: I am getting a strange compile error(included at end of message) when compiling the latest head of the repository of OSGBase. These errors occur in any code that includes OSGSField.ins, OSGMField.ins, OSGPointerMField.inl

Re: [Opensg-users] OSG::SceneFileHandler::the()-read

2011-01-21 Thread Carsten Neumann
Hello Theodore, On 01/20/2011 04:41 PM, Carsten Neumann wrote: On 01/20/2011 01:42 PM, Hall, Theodore wrote: Is there something I should do, or not do, to avoid these warnings? the VRML loader stores the original VRML fields in an attachment (with dynamically added fields). The OSB

Re: [Opensg-users] OpenSG 2.0: Documentation

2011-01-21 Thread Carsten Neumann
On 01/20/2011 05:29 PM, Carsten Neumann wrote: On 01/20/2011 04:01 AM, Johannes Brunen wrote: I tried to generate documentation for the triple OpenSG rev 2512, doxygen 1.7.3 and CMake 2.8.3. This combination does not work on windows 7. After switching back to doxygen 1.7.2 all went smoothly

Re: [Opensg-users] openSG 1.8: glGetError() queries in release libraries

2011-01-20 Thread Carsten Neumann
Hello Enrico, On 01/20/2011 04:40 AM, Enrico Borrione wrote: Hello, OpenSG users, i am writing an application that uses several FBOViewports to calculate the ambient occlusion of a model. Since I am doing lots of renderings to retrieve the necessary informations, I am profiling

Re: [Opensg-users] OSG::SceneFileHandler::the()-read

2011-01-20 Thread Carsten Neumann
Hello Theodore, On 01/20/2011 01:42 PM, Hall, Theodore wrote: I read a .wrl file with: OSG::NodeRefPtr file_root = OSG::SceneFileHandler::the()-read ( filename[i]-c_str()); Everything is OK. I write an .osb file with: OSG::SceneFileHandler::the()-write (

Re: [Opensg-users] OpenSG 2.0: Documentation

2011-01-20 Thread Carsten Neumann
Hello Johannes, On 01/20/2011 04:01 AM, Johannes Brunen wrote: I tried to generate documentation for the triple OpenSG rev 2512, doxygen 1.7.3 and CMake 2.8.3. This combination does not work on windows 7. After switching back to doxygen 1.7.2 all went smoothly. Since it does take some

Re: [Opensg-users] problem with computing frustum for a stereo application

2011-01-18 Thread Carsten Neumann
Hello Benoît, On 01/18/2011 03:50 AM, Benoît Bossavit wrote: Naively, i set my camera at one position and one orientation (looking at the center of my screen) and i consider the user doesn't move the head during the application, but it doesn't work correctly. The scene is not mapped

Re: [Opensg-users] OpenSG1.8 - Vertex Colors

2011-01-11 Thread Carsten Neumann
Hello Michael, On 01/11/2011 03:27 AM, Michael Raab wrote: I'm trying to apply vertex colors to some of my geometries. In each case I have a ChunkMaterial above or assigned to the appropriate geometry nodes that get the vertex colors. Can anyone tell me what is the cleanest way to

Re: [Opensg-users] OpenSG1.8 - Vertex Colors

2011-01-11 Thread Carsten Neumann
Hello Michael, On 01/11/2011 01:49 PM, Michael Raab wrote: Ok seems to work for simple ChunkMaterials. There's a further problem when using MultipassMaterials for selection highlighting. Imagine we have a default ChunkMaterial with ColorMaterial set to GL_DIFFUSE in first place and a

Re: [Opensg-users] Apply Kinect Matrix to ComponentTransform

2011-01-06 Thread Carsten Neumann
Hello Daniel, On 01/06/2011 10:22 AM, Daniel Wickeroth wrote: I'm writing a simple program which uses Kinect to move a puppet made with OpenSG. From Kinect's API I get a Matrix for each Joint which looks like this: 0.9995270.0301296 0.00610329 -0.0286029 0.984236

Re: [Opensg-users] Building OpenSG with RelWithDebInfo

2011-01-06 Thread Carsten Neumann
Hello Aron, On 01/06/2011 10:36 AM, Aron Bierbaum wrote: If I build OpenSG with the build type of 'Release' everything seems to work correctly. If I switch the build type to 'RelWithDebInfo' I get a lot of the following errors: NMAKE : fatal error U1073: don't know how to make

Re: [Opensg-users] OpenSG1.8 - FBOViewport Reading Depth Buffer

2010-12-16 Thread Carsten Neumann
Hello Michael, On 12/16/2010 09:11 AM, Michael Raab wrote: I've added the following lines at line 1438 in FBOViewport.cpp. else if(getReadBuffer() depthTex) { ImagePtr texImg = depthTex-getImage();

Re: [Opensg-users] OpenSG1.8 - Cluster Synchronization

2010-12-14 Thread Carsten Neumann
Hello Michael, On 12/13/2010 01:22 PM, Michael Raab wrote: I'm trying to extend to cluster abilities of OpenSG1.8 to fit a bit better to our indivdual needs. At the moment I would like to enable the cluster server to pass some information to the client application. For example

Re: [Opensg-users] StatePtr in OSGMaterial.h

2010-12-14 Thread Carsten Neumann
Hello, On 12/13/2010 01:59 PM, Sebastian Till wrote: I finally found and understood the problem. The StatePtr, TextureChunkPtr, etc. of the material classes are definitely causing my memory leaks. The following explanation will just mention the StatePtr although other attributes of

Re: [Opensg-users] OpenSG1.8 - FBOViewport Reading Depth Buffer

2010-12-14 Thread Carsten Neumann
Hello Michael, On 12/14/2010 08:34 AM, Michael Raab wrote: was there a special reason why FBOViewport doesn't read back depth buffer values? don't think so, just nobody implemented it at the time. Looking at the code it seems to me that changing the code around line 1013 - 1049 in

Re: [Opensg-users] OpenSG 1.8 - Add-on library types

2010-12-13 Thread Carsten Neumann
Hello Michael, On 12/13/2010 04:02 AM, Michael Raab wrote: I was a little bit to optimistic about that issue. There's a problem when mixing calls to getenv() and SetEnviromentVariable() on windows platforms. I'm setting OSG_LOAD_LIBS at startup of my application but getenv() calls

Re: [Opensg-users] OpenSG 1.8 - Add-on library types

2010-12-13 Thread Carsten Neumann
Hello Michael, On 12/13/2010 09:29 AM, Michael Raab wrote: Sorry I did not recognize that option when reading Gerrit's mail. :-( Works like a charm. no worries, I was just wondering if you had tried it, but it did not work for some reason. Glad to hear it's working now.

Re: [Opensg-users] OpenSG 2.0: 3DS loader

2010-12-10 Thread Carsten Neumann
Hello Johannes, On 12/10/2010 03:28 AM, Johannes Brunen wrote: I thought that I would have full GL state infromation inside of a shader program. no, you can access all the lights properties (position, color, etc.) through the gl_LightSource[i] built in uniform, but the piece of

Re: [Opensg-users] Setting images to NullFC

2010-12-08 Thread Carsten Neumann
Hello, On 12/08/2010 07:03 AM, Sebastian Till wrote: hmm, that should happen once you destroy the image and the TextureChunk, but only after the next frameExit (part of Window-render) call as in order to destroy the OpenGL object one needs a valid context. I don't destroy the

Re: [Opensg-users] StatePtr in OSGMaterial.h

2010-12-07 Thread Carsten Neumann
Hello, On 12/07/2010 07:41 AM, Sebastian Till wrote: I am still using OpenSG 1.8, wrote a small multithreading application with osg::Threads and have some troubles with StatePtrs, TextureChunkPtrs and the like as member attributes of Material classes. My question is: Why is the

Re: [Opensg-users] OBJSceneFileType issues

2010-12-06 Thread Carsten Neumann
Hello Sebastian, On 12/06/2010 09:26 AM, Sebastian Till wrote: I am still using OpenSG 1.8, wrote a small application to test background loading of images and noticed some strange things in the OBJSceneFileType while loading *.obj files. Each *.obj file I am using refers to a

Re: [Opensg-users] OBJSceneFileType issues

2010-12-06 Thread Carsten Neumann
On 12/06/2010 10:48 AM, Sebastian Till wrote: from your description there are two things going on here: 1) all materials (even the unused ones) from a .mtl file are created. This is clearly wasteful and I'll be more than happy to accept patches that only create actually used materials. That

Re: [Opensg-users] OpenSG 2.0: 3DS loader

2010-11-29 Thread Carsten Neumann
Hello Johannes, On 11/29/2010 04:01 AM, Johannes Brunen wrote: As drop.io has been suspended I have tried another file sharing alternative. You can download my files from http://ge.tt/#5ljmAV (If you have another sharing method as convenient and reliable as drop.io let me know

Re: [Opensg-users] Influence between two PassiveWindows

2010-11-22 Thread Carsten Neumann
Hello Johannes, On 11/22/2010 07:48 AM, Schaefer Johannes wrote: i have wrote some code and record a video to demonstrate my problem. The Video http://dl.dropbox.com/u/9755257/IMG_0238.MOV In this video (sorry for the bad quality, i have no suitable screen recorder), you can see two

Re: [Opensg-users] Force volume update

2010-11-19 Thread Carsten Neumann
Hello all, On 11/19/2010 07:19 AM, David Kabala wrote: It is my understanding that when the volume of a NodeCore changes that core needs to tell all parent nodes that it's volume has changed using invalidateVolume. So when you want the parent Nodes of a NodeCore to update their

Re: [Opensg-users] Influence between two PassiveWindows

2010-11-18 Thread Carsten Neumann
Hello Johannes, On 11/18/2010 06:19 AM, Schaefer Johannes wrote: in my application i am using two Qt QGLWidget Widgets with a OpenSG PassiveWindows (similar to the example http://www.opensg.org/htdocs/doc-1.8/QT.html#TutorialQTPassiveWindow ). My problem is that there are some bad

Re: [Opensg-users] OpenSG1.8 - Crash in osg::createSharedIndex

2010-11-18 Thread Carsten Neumann
Hello Michael, On 11/16/2010 02:52 AM, Michael Raab wrote: I tried to execute osg::createSharedIndex() onto the geometry cores of the following osb file (http://www.mediafire.com/?m8nt2e397bdmim2). That caused an access violation exception that I cannot track down. Could someone

Re: [Opensg-users] fcdedit

2010-11-17 Thread Carsten Neumann
Hello Michael, On 11/17/2010 10:04 AM, Michael Raab wrote: which external dependencies do I need to compile fcdedit utility? Looks to me like QT is necessary... Anything else? Some special version? Qt is needed for the GUI, there is a command line version too. I've not built the GUI

Re: [Opensg-users] fcdedit

2010-11-17 Thread Carsten Neumann
Hello Michael, On 11/17/2010 12:51 PM, Michael Raab wrote: Thank you but I need the app compiled for windows. I'll do it on my own. Where in the 1.8 source tree can I find the console version of the fcd tool? its built from the same sources, but with -DFCD_TERM on the compiler command

Re: [Opensg-users] ID Buffer Selection

2010-11-16 Thread Carsten Neumann
Hello Michael, On 11/16/2010 08:53 AM, Michael Raab wrote: I followed your proposal and implemented the following to methods, which are called as expected... [SNIP] The problem is, my id material seems to be ignored (the result is a standard rendering). This seems to be caused by

Re: [Opensg-users] ID Buffer Selection

2010-11-16 Thread Carsten Neumann
Hello Michael, On 11/16/2010 09:14 AM, Michael Raab wrote: I tried it your way. I used MaterialGroup::renderEnter/Leave as draft for my implementation. Action::ResultE onEnterMaterialGroup( CNodePtr pNode, Action * action ) { RenderAction *ra = dynamic_castRenderAction

Re: [Opensg-users] ID Buffer Selection

2010-11-15 Thread Carsten Neumann
Hello Michael, On 11/15/2010 08:35 AM, Michael Raab wrote: I'm interested in doing scene selection using id buffer information as we have very large scenes. I had a look at the appropriate OpenSG1.8 tutorial. Adding a switch material to each materialgroup isn't solution for us. why?

Re: [Opensg-users] 3 questions about headtracking

2010-11-11 Thread Carsten Neumann
Hello Simon, On 11/11/2010 04:37 AM, ho...@uni-koeln.de wrote: 1. What type of coordinatesystem (lefthand/righthand) does OSG use for the trackingdata? OpenSG uses right handed coordinate systems throughout, just like OpenGL. 2. What are the trackingdata's units expected by OSG? We

Re: [Opensg-users] built linux version of openSG1.8

2010-11-11 Thread Carsten Neumann
Hello Michael, On 11/11/2010 09:47 AM, Michael Raab wrote: we need to test the cluster abilities of OpenSG1.8 in Linux, that means we have the need to run a windows client application coupled with N Linux render servers. Unfortunately I don't have neither a Linux build machine nor a

Re: [Opensg-users] Performance problems under windows 64 using Quadro 5800

2010-11-09 Thread Carsten Neumann
Hello Pablo, On 11/09/2010 12:20 PM, Pablo Carneiro Elias wrote: actually, we've used OpenSG statistics and GDebugger... When objects leave frustum the texture memory used decreases, and then it increases again when it return. When the total memory used changes (e.g from 20MB to

Re: [Opensg-users] OpenSG1.8 - Rendering Height Map using FBOViewport

2010-11-08 Thread Carsten Neumann
Hello Michael, On 11/08/2010 05:09 AM, Michael Raab wrote: I'm trying to render a height map of some of our 3D scenarios. So I'm rendering from the top center of the worlds bounding volume using a orthograhic camera. I thought I could try to use a FBOViewport for that purpose but

Re: [Opensg-users] Performance problems under windows 64 using Quadro 5800

2010-11-08 Thread Carsten Neumann
Hello Pablo, On 11/08/2010 10:12 AM, Pablo Carneiro Elias wrote: we've recently found an issue under win 64 using a NVIDIA Quadro FX 5800 and OpenSG 2.0. The problem is that for some reason, all OpenGL context data (textures, diplaylists, etc) are being removed from graphics cards

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-11-02 Thread Carsten Neumann
Hello Constantin, On 11/02/2010 08:19 AM, Constantin Müller wrote: I got some questions concerning the clearing of the stencil buffer. I found the StencilChunk function setClearBuffer and found a mailinglist thread for the purpose of the function, but I guess I didn't get how to use

Re: [Opensg-users] OpenSG 2.0: 3DS loader

2010-11-02 Thread Carsten Neumann
Hello Johannes, On 11/02/2010 02:58 AM, Johannes Brunen wrote: at the weekend I did look at lib3ds from http://code.google.com/p/lib3ds/ which is actually used by the OpenSceneGraph project and which is also of LGPL license. This raises the following question. Would it be an valid

Re: [Opensg-users] OpenSG 2.0: 3DS loader

2010-10-29 Thread Carsten Neumann
Hello Johannes, On 10/29/2010 04:49 PM, Johannes Brunen wrote: I have two 3DS files which I aren't correctly rendered. Is this a problem of the loader implementation of are the models faulty? hm, hard to say and I'm actually thinking it is a mixture of both. On the car there seem to

Re: [Opensg-users] Crash under Windows 7 64 bit in OSG::exactinit()

2010-10-25 Thread Carsten Neumann
Hello Gerrit, all, On 10/25/2010 03:49 AM, Gerrit Voß wrote: On Mon, 2010-10-25 at 10:23 +0200, Georg Wünsch wrote: we are having the same problem, it seems to have no impact neither in the debug nor the release version, but we are not sure, maybe in functionality we are not using.

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-10-18 Thread Carsten Neumann
Hello Constantin, Datum: Mon, 18 Oct 2010 11:34:35 +0200 Von: Constantin Müller constantinmuelle...@googlemail.com I guess that the packed depth-/stencilbuffer does not yet clear the depth and stencil buffer with their specific clear values seperated. Right now it might clear the entire

Re: [Opensg-users] Disable GLUT under Windows

2010-10-18 Thread Carsten Neumann
Hello Johannes, Datum: Mon, 18 Oct 2010 18:16:05 +0200 Von: Schaefer Johannes johannes.schae...@ipk.fraunhofer.de I'm trying to compile OpenSG 1.8 (most recent version from the cvs) under Windows 7 64Bit with scons. My commandoline is scons compiler=msvc90x64 type=dbg glut=no exr=no

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-10-15 Thread Carsten Neumann
Hello Constantin, Datum: Fri, 15 Oct 2010 10:42:05 +0200 Von: Constantin Müller constantinmuelle...@googlemail.com The readback seems to work, but if I render the scene multiple times and change the cameras nearplane, there is no change in the Image. If the nearplane is behind all

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-10-15 Thread Carsten Neumann
Hello Constantin, Datum: Fri, 15 Oct 2010 13:55:14 +0200 Von: Constantin Müller constantinmuelle...@googlemail.com hm, I'm afraid nothing comes to mind that would explain this. One possibility is that the Stage used to render into your FBO is itself being culled - can you set the

Re: [Opensg-users] OpenSG1.8 - Reading depth buffer

2010-10-13 Thread Carsten Neumann
Hello Michael, Von: Michael Raab michael-r...@gmx.de what is the appropriate way to access depth buffer values after rendering in OpenSG1.8? hm, I don't think we have a wrapper for that in 1.x (or 2.0 FWIW), at least I did not see anything obvious. The quick, one shot, way is to just

Re: [Opensg-users] OpenSG 2.0: printing on windows

2010-10-11 Thread Carsten Neumann
Hello Johannes, sorry for the delay, I'm travelling (staying in Germany until October 20th). On Wed, Oct 6, 2010 at 4:16 AM, Johannes Brunen jbru...@datasolid.de wrote: In my setup I have actually multiple viewports each with its own camera and scenemanager (not the OpenSG simple

Re: [Opensg-users] OpenSG 2.0: printing on windows

2010-10-05 Thread Carsten Neumann
Hello Johannes, On 10/05/2010 09:38 AM, Johannes Brunen wrote: I have just compiled the example from the last revision. But I got the following compiler error: hiresimage.cpp(557) : error C2065: 'GL_DEPTH24_STENCIL8' : undeclared identifier oops, that should be

Re: [Opensg-users] OpenSG 2.0: printing on windows

2010-10-04 Thread Carsten Neumann
Hello Johannes, On 10/04/2010 07:42 AM, Johannes Brunen wrote: 1. If I use a gradient background it is not properly tiled (fbo_image*.png). that is caused by the stage not passing on all tiling information to its DrawEnv - fixed in r2489. 2. If I use sizes (factors fw and fh)

Re: [Opensg-users] OpenSG 2.0: Callbacks

2010-10-04 Thread Carsten Neumann
Hello Johannes, On 10/03/2010 04:07 AM, Johannes Brunen wrote: I have written a little example showing the use of classes CallbackAlgorithm and AlgorithmStage for native OpenGL rendering. I have uploaded the file 'callback.cpp' to: http://drop.io/OpenSG_RenderEngine Is there

Re: [Opensg-users] Problems with FindOpenSG.cmake and osg2-config

2010-10-04 Thread Carsten Neumann
Hello Johannes, On 10/04/2010 11:15 AM, Johannes Zarl wrote: Build issues are always a bit tricky to get right for everyone, I'd appreciate it if you could give this a try and let us know if it works for you. Thank you for your help and patience. I tried this today on our project,

Re: [Opensg-users] OpenSG 1.8 - Getting FieldContainer ID

2010-09-24 Thread Carsten Neumann
Hello Michael, On 09/24/2010 08:03 AM, Michael Raab wrote: i have some warnings in materialchunk::activate() and materialchunk::changefrom() about some invalid GL value. it may be faster to find the problem if you run your program through a GL debugger (like bugle, glIntercept) -

Re: [Opensg-users] OpenSG 1.8 - Changelist sync

2010-09-21 Thread Carsten Neumann
Hello Michael, On 09/21/2010 05:02 AM, Michael Raab wrote: I'm using a second OpenSG thread (beside the main one) to generate some textures asynchronously (using aspect 1). Once a texture is generated I'm trying to sync the newly generated texture into our main thread:

Re: [Opensg-users] Problems with FindOpenSG.cmake and osg2-config

2010-09-21 Thread Carsten Neumann
Hello Johannes, On 09/07/2010 03:52 AM, Johannes Zarl wrote: I had no qualms adding this because the unit-tests also use the same includes (obviously, my heuristic may have been wrong).In my understanding boost isn't optional, if without it the OSGBase header files don't work at

Re: [Opensg-users] OpenSG 2.0: printing on windows

2010-09-21 Thread Carsten Neumann
Hello Johannes, On 09/21/2010 06:59 AM, Johannes Brunen wrote: I have managed the final example 'HiResImage.cpp' uploaded to http://drop.io/OpenSG_RenderEngine which does work for me. The performance is not at best, but the reason for that is found in the image stream assembling.

Re: [Opensg-users] OpenSG 2.0: printing on windows

2010-09-20 Thread Carsten Neumann
Hello Johannes, On 09/20/2010 03:12 AM, Johannes Brunen wrote: Carsten Neumanncarsten_neum...@gmx.net schrieb im Newsbeitrag news:4c96896a.2040...@gmx.net... there is a colBuf-setReadBack(true) missing, you already enable post processing on the fbo, but not the actual read back of

Re: [Opensg-users] OpenSG 2.0: printing on windows

2010-09-20 Thread Carsten Neumann
Hello Johannes, On 09/20/2010 02:50 PM, Johannes Brunen wrote: Carsten Neumanncarsten_neum...@gmx.net schrieb im With those changes (modified file is attached) the image is not all black any more, however there is something wrong with the tiling (I get 9 copies of the torus instead

Re: [Opensg-users] OpenSG 2.0: printing on windows

2010-09-19 Thread Carsten Neumann
Hello Johannes, On 19.09.2010 14:30, Johannes Brunen wrote: after some hiatus, I'm back to my high resolution image tests. I have tried to come up with a framebuffer based solution but I didn't get it quite right. I have written an example, (http://drop.io/OpenSG_RenderEngine

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-09-17 Thread Carsten Neumann
Hello Constantin, On 09/17/2010 04:44 AM, Constantin Müller wrote: I can't tell you if it works, because I've got some building issues now. The linking of the OSGBaseD.dll fails with the following error: Linking... Creating library

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-09-16 Thread Carsten Neumann
Hello Constantin, On 09/16/2010 07:37 AM, Constantin Müller wrote: I could apply the patch to the SVN repository and the github repository as well. Thanks for your instructions. I now just added the second patch, because otherwise it could not apply the second patch. Is this right, or

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-09-15 Thread Carsten Neumann
Hello Constantin, On 09/15/2010 06:59 AM, Constantin Müller wrote: I have some problem attaching the patches. I used the SVN repository-sources of OpenSG. I have never worked with patches before so I tried to apply the last patch. This did not work with svn (now I know it's because

Re: [Opensg-users] OpenSG 1.8 - Intersection Issues

2010-09-15 Thread Carsten Neumann
Hello Michael, On 09/15/2010 07:00 AM, Michael Raab wrote: I have a problem in our OpenSG1.8 application when trying to pick small objects. Attached you can find an object geometry which has a AABB size of (0.2, 0.2, 0.1). If I try to pick that geometry nothing happens.

Re: [Opensg-users] OpenSG 1.8 - Intersection Issues

2010-09-15 Thread Carsten Neumann
Hello Michael, On 09/15/2010 07:00 AM, Michael Raab wrote: I have a problem in our OpenSG1.8 application when trying to pick small objects. Attached you can find an object geometry which has a AABB size of (0.2, 0.2, 0.1). If I try to pick that geometry nothing happens.

Re: [Opensg-users] OpenSG and Bullet Physics Engine

2010-09-13 Thread Carsten Neumann
Hello David, On 09/13/2010 02:21 PM, David Antonio Castro Martínez wrote: I've been reading past lists and it looks like someone was able to use bullet physics with OpenSG. I've not done it yet - it is on my list for one of our projects... http://bulletphysics.org/wordpress/ I

Re: [Opensg-users] Problems with FindOpenSG.cmake and osg2-config

2010-09-02 Thread Carsten Neumann
Hello Johannes, On 09/01/10 10:07, Johannes Zarl wrote: I think I have a working solution: many thanks for the patches, I hope to be able to go over them in detail tomorrow and apply them. On what OS have you tried these? The reason I'm asking is that there is unfortunately still some

Re: [Opensg-users] Compiling under Mac OS X 10.6 Snow Leopard

2010-09-02 Thread Carsten Neumann
Hello Patric, On 09/02/10 11:19, Patric Schmitz wrote: why isn't it possible to use the freetype2 backend also on MacOS X? there is a platform specific text backend for Mac OS, but it is possible that it uses something that has become deprecated/removed in recent versions. Since the

Re: [Opensg-users] opensg1.8 - Multiple MultiDisplayWindows

2010-08-31 Thread Carsten Neumann
Hello Michael, On 08/31/10 08:46, Michael Raab wrote: I'm thinking about rendering 2 MultiDisplayWindows in parallel. Is there any technic prepared to sync their rendering in terms of changelist transmission. If I would use the brute force approach to simply call render() on both

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-08-31 Thread Carsten Neumann
Hello Constantin, On 08/26/10 10:07, Carsten Neumann wrote: On 08/26/10 04:10, Constantin Müller wrote: Unfortunately this did not help. I read the specification on this site (http://www.opengl.org/sdk/docs/man/xhtml/glReadBuffer.xml). There the Parameter 'mode' has to specify a COLOR

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-08-31 Thread Carsten Neumann
Hello Gerrit, On 08/31/10 11:16, Gerrit Voß wrote: On Tue, 2010-08-31 at 09:49 -0500, Carsten Neumann wrote: hm, apparently one does not pass anything to glReadBuffer (i.e. I suppose GL_NONE is the right value) - I have to admit that this makes little sense to me and I don't

Re: [Opensg-users] Collision detection CollDet and VRJuggler

2010-08-30 Thread Carsten Neumann
Hello David, On 08/30/10 13:41, David Antonio Castro Martínez wrote: But I have a problem, I run OpenSG 1.8 with VRJuggler on my app and I get Segmentation fault when CollDet is creating a new thread, its on pthread_mutex_lock() Thread [1] (Suspended: Signal 'SIGSEGV' received.

Re: [Opensg-users] Render into a texture using FrameBufferObject

2010-08-27 Thread Carsten Neumann
Hello Dan, On 08/27/10 04:27, Dan Koschier wrote: I try to render an image into a texture using a FrameBufferObject. I used the code of the /Examples/Simple/fbotexture.cpp example, but I don't understand how to render the created SimpleStage. Here is my code: OSG::ImageRefPtr

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-08-26 Thread Carsten Neumann
Hello Constantin, On 08/26/10 04:10, Constantin Müller wrote: Unfortunately this did not help. I read the specification on this site (http://www.opengl.org/sdk/docs/man/xhtml/glReadBuffer.xml). There the Parameter 'mode' has to specify a COLOR-buffer, but the depth/stencil-buffer

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-08-25 Thread Carsten Neumann
Hello Constantin, On 08/25/10 06:15, Constantin Müller wrote: hm, it appears readback was only implemented for color attachments :( The attached patch should change it to also handle depth and stencil attachments (including combined ones). Can you give it a try and see if it works for

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-08-24 Thread Carsten Neumann
Hello Constantin, On 08/24/10 04:10, Constantin Müller wrote: The depth/stencil-Image has no pixel data after the rendering. The colorimage works fine. Here is my code for the FBO setup: [SNIP - code] Do I miss something there? I thought everything is similar to the colorimage, so

Re: [Opensg-users] Problems with FindOpenSG.cmake and osg2-config

2010-08-24 Thread Carsten Neumann
Hello Johannes, On 08/24/10 10:09, Johannes Zarl wrote: I have some minor problems with the FindOpenSG.cmake script: When installing OpenSG2, the default library directory is PREFIX/lib64. However, the FindOpenSG script searches only for PREFIX/lib. This works fine here and I don't

Re: [Opensg-users] [OpenSG 2.0] Rendering multiple times into an FBO without SimpleSceneManager

2010-08-20 Thread Carsten Neumann
Hello Constantin, Constantin Müller wrote: I'm wondering if nobody ever did a readback of the Stencilbuffer, or it's quite possible, since the stencil is usually only needed when trying to achieve a specific effect and even then readback is often not required - for performance reason

Re: [Opensg-users] [OpenSG 2.0] Remove Chunk from Material

2010-08-20 Thread Carsten Neumann
Hello Mauro, Mauro wrote: I'm developing an application that let the user insert or remove texture chunks from the material. When I want to remove a chunk I use the code: chunkMaterial-subChunk(textureChunk_n, n); Problems come out when I add a shader. If a texture is linked as

Re: [Opensg-users] Reference counting

2010-08-11 Thread Carsten Neumann
Hello Theodore, Hall, Theodore wrote: Carsten Neumann wrote: some ideas to debug this further: - you can access the reference count of an object with FieldContainer::getRefCount() I've been having a similar issue with a MultiDisplayWindowRefPtr, so I followed your advice

Re: [Opensg-users] Reference counting

2010-08-10 Thread Carsten Neumann
Hello Theodore, Hall, Theodore wrote: Consider these lines from Examples/Simple/clusterserver.cpp: // Declared at file scope: OSG::GLUTWindowRefPtr window; OSG::ClusterServer*server; // in main: window = OSG::GLUTWindow::create(); server = new

Re: [Opensg-users] Contrib/Phisics is available?

2010-08-06 Thread Carsten Neumann
Hello, Kazuhiko Kido wrote: yes, for almost all OpenSG objects there is a *Base class, it is generated from a description in the .fcd files in the OpenSG source tree and contains all the boilerplate code. One thing that is ensured by this code is that when osgInit runs a prototype

Re: [Opensg-users] Contrib/Phisics is available?

2010-08-04 Thread Carsten Neumann
Hello, Kazuhiko Kido wrote: Adding a call to dInitODE() at the top of main in the two test programs makes them work for me. i have already added a dInitODE at the top of main. did you put it before the call to osgInit() ? For debug, i made contrib/physics and OSGBaseLib libraries

Re: [Opensg-users] Contrib/Phisics is available?

2010-08-03 Thread Carsten Neumann
Hello, 木戸 和彦 wrote: I am trying to use contrib physics library for collision detection by using OSGPhysicsx classes. I completed to compile ODE(ver0.11.1) library on VS2008 and contrib library by scon script. Next, i try to make a sample code(testSimplePhysics.cpp in

Re: [Opensg-users] Sphere creation

2010-08-02 Thread Carsten Neumann
Hello Andy, Andy Bartz wrote: is there an easier way to create a sphere at a certain given point, or do I have to go the long way as described in the tutorials and create it at the center and then transform it via Matrices to the wanted position? the functions to create simple

Re: [Opensg-users] OSG::GrabForeground not grabbing everything

2010-08-02 Thread Carsten Neumann
Hello Patrick, Patrick Hartling wrote: On Aug 2, 2010, at 9:53 AM, Carsten Neumann wrote: sorry about that, there was a stupid mistake in the test program and for some funny reason it had worked when I tried it before sending it. That version works without any problem. That pretty

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-30 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: inline void ExceptionBinaryDataHandler::getValues(Real32 *value, UInt32 size ) throw (ReadError) { get(value, size * sizeof(Real32)); #if BYTE_ORDER == LITTLE_ENDIAN if(_networkOrder ==

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-30 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: one last addition. The patch works fine for me. The problem is not visible anymore. thanks for confirming that it fixes your problem. I'll commit the changes shortly and also conditionally remove (i.e. unless OSGCOMPAT_ENABLE_DEPRECATED is

Re: [Opensg-users] OSG::GrabForeground not grabbing everything

2010-07-30 Thread Carsten Neumann
Hello Patrick, Patrick Hartling wrote: On Jul 30, 2010, at 1:40 PM, Carsten Neumann wrote: Patrick Hartling wrote: When using OSG::GrabForeground with OpenSG 2, I find that some parts of the scene graph are not being grabbed. Is there anything besides the traversal mask

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-29 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: Carsten Neumann carsten_neum...@gmx.net schrieb im Newsbeitrag news:4c50ca12.6080...@gmx.net... Anyway, out of curiosity, do you use different compiler switches from OpenSG's defaults? I use default settings with the exception

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-28 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: Carsten Neumann carsten_neum...@gmx.net schrieb im Newsbeitrag news:4c4dbd03.5060...@gmx.net... I could verify that everything is fine to the point of the return call. However, variable v is not correctly intialized afterwards. oh, my favourite

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-26 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: after spending some time I have found the problematic code. Actually, I still do not know what is the real problem but let me explain first. ah, I was writing a mail to you with some updates, but I had not been able to find the problem. I have

Re: [Opensg-users] Copy triangles into a new geometry

2010-07-26 Thread Carsten Neumann
Hello Andy, Andy Bartz wrote: Right now I'm doing it like this: [SNIP] listosg::Pnt3f::iterator listIt; //Iterator for a list which is filled with the positions of the clicked triangles you might want to use a list of triangle indices for use with a TriangleIterator, that way you

Re: [Opensg-users] Problems with MultiDisplayWindow andQt-Application

2010-07-23 Thread Carsten Neumann
Hello Johannes, Schaefer Johannes wrote: i have create a linux makefile. http://rapidshare.com/files/408563046/QtOSGTestPassive2.zip to compile the project you have to do the following steps: // Do once: $ make directories $ make uicbuild // To make a release build: $ make //

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-23 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: Carsten Neumann carsten_neum...@gmx.net schrieb im For the following I have uploaded all files to 'files.zip' on http://drop.io/OpenSG_RenderEngine ok, thanks. Honestly I'm a bit overwhelmed with all the files... I was only asking about files

Re: [Opensg-users] Problems with MultiDisplayWindow andQt-Application

2010-07-23 Thread Carsten Neumann
Hello Johannes, Carsten Neumann wrote: It seems the problem is that the ChangeLists that are being transmitted are empty and that causes the server to keep waiting for syncs until it finds one that contains the ClusterWindow (or MultiDisplayWindow in your case). The client

Re: [Opensg-users] OpenSG 2.0: Geometry problem after loading...

2010-07-23 Thread Carsten Neumann
Hello Johannes, Johannes Brunen wrote: Carsten Neumann carsten_neum...@gmx.net schrieb im Newsbeitrag news:4c49d799.7090...@gmx.net... ok, thanks. Honestly I'm a bit overwhelmed with all the files... Sorry, but I simply tried to provide as much information as possible... yes, I

Re: [Opensg-users] Copy triangles into a new geometry

2010-07-22 Thread Carsten Neumann
Hello Andy, Andy Bartz wrote: thanks for your answer. I'm trying your piece of code right now, but somehow I can't find the osg::GeoPnt3fPropertyRefPtr as well as the osg::GeoPnt3fProperty function. Are these OpenSG 2.0 features only? yes, but they only changed names from what

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