Re: [osg-users] Transparency problem

2007-09-28 Thread Andreas.Richter
Well I have already tried to change the stateset of the geode of the osgText for example with something like stateSetGeode-setRenderBinDetails(15, RenderBin, osg::StateSet::OVERRIDE_RENDERBIN_DETAILS) , but it doesn't seem to help. The bigger the renderbin the later it is rendered in

Re: [osg-users] Trackball and view question

2007-09-28 Thread J.P. Delport
Hi, I am attaching an old email below that I think addressed some of the same issues you are having. Also attached is a code snippet of a modified manipulator base class I use. regards jp Code: ---8-- /** get by distance, rotation, center. */ virtual void

Re: [osg-users] Please test SVN version of OpenSceneGraph

2007-09-28 Thread Paul Melis
Brian Keener wrote: Robert Osfield wrote: The errors don't make any sense to me, the line is: inline float log2(float v) { return logf(v) * static_castfloat(INVLN_2); } And the error you get is: /usr/src/OpenSceneGraph/include/osg/Math:197: error: expected `)' before '/' token

Re: [osg-users] Transparency problem

2007-09-28 Thread Paul Melis
Christophe Medard wrote: I think I have the very same problem with three textures. No assignation to a particular rendering bin seems to correct the problem. (However, it would automatically be done since that database is a 3dsMax OSGExp export, who handle transparency issues properly in

Re: [osg-users] Transparency problem

2007-09-28 Thread Paul Melis
Paul Melis wrote: Panagiotis Papadakos wrote: Hi again! Well I don't think that RenderBins can help me with this. My problem is probably due to the fact that I use transparent objects that are too close to each other (0.1f). That is probably why if I move the camera around, some times

Re: [osg-users] Transparency problem

2007-09-28 Thread Paul Melis
Panagiotis Papadakos wrote: Hi again! Well I don't think that RenderBins can help me with this. My problem is probably due to the fact that I use transparent objects that are too close to each other (0.1f). That is probably why if I move the camera around, some times things are rendered

Re: [osg-users] PSSM: Latest Version : Please Test and Debug

2007-09-28 Thread Adrian Egli
Thanks robert, i will working on NVidea System (Friday) and i hope that i can fix the problems. The z fighting is a know problem, but i don't yet know wether it come with ati / nvidea. i will fix it friday. regards adrian 2007/9/19, Robert Osfield [EMAIL PROTECTED]: Hi Adrian, To help

Re: [osg-users] Continuous Integration

2007-09-28 Thread Mathieu MARACHE
Hi Zach, Anybody using CI to build the OSG trunk? Which CI system do you like the best? CruiseControl? We are using Dart along with CMake/CTest : http://www.itk.org/Dart/HTML/Install.shtml -- Mathieu ___ osg-users mailing list

Re: [osg-users] Redistribute OSG on Vista

2007-09-28 Thread Roger James
Serge, If you get that message in the log it would appear that Loadlibrary has been successful and the os thinks the dependent assembles have been loaded correctly. The only thing I can think of is that the assembly that you are using contains dlls that are not compatible with vista in some way.

Re: [osg-users] What is the correct method for removing updatecallbacks?

2007-09-28 Thread beelzebob999-osg
Yeah, I considered that, but had the same queasiness about it you do. I have decided to maintain a global static list of callbacks, and just run through that list once per frame, checking for those that are done and clearing them out. This won't be done during the update traversal, but it will

[osg-users] asymmetric view frustum

2007-09-28 Thread Michael Raab
Hi all, can someone tell how i can define an asymmetric viewing frustum using openscenegraph. thanks, M. Raab -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger ___ osg-users mailing

Re: [osg-users] Transparency problem

2007-09-28 Thread Zach Deedler
If you set the render bins correctly, you can fix the problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Melis Sent: Friday, September 28, 2007 9:52 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Transparency problem Paul Melis wrote:

Re: [osg-users] What is the correct method for removing update callbacks?

2007-09-28 Thread beelzebob999-osg
So, how do you get rid of update callbacks that are no longer needed? Do you have to do a separate traversal just to check for update callbacks that are done? --- Robert Osfield [EMAIL PROTECTED] wrote: Hi beelzebob666 You cannot modify the scene graph during renderingTraversals(), but

Re: [osg-users] Large dynamic high-res terrain overlays?

2007-09-28 Thread J.P. Delport
Thanks, glad I asked :) regards jp Robert Osfield wrote: On 9/18/07, J.P. Delport [EMAIL PROTECTED] wrote: Hi, no, I have not looked at the new modes. The app was ported from OSG pre 1.0, so it just uses the default in the newest OSG. Is there an overview of the new modes or should I use

[osg-users] RefCount setSceneData

2007-09-28 Thread Michael Ebner
Hello, when setting a root node to an osgViewer with setSceneData, the ref. count of the root node is increased by 2. A explicit call with setSceneData(NULL) is necessary to release the node again, simply setting the ref_ptr of osgViewer to NULL keeps one ref count of the root node. Could

Re: [osg-users] texturing a sphere segment

2007-09-28 Thread sylvain cormier
On Fri, 2007-21-09 at 20:21 +0100, Robert Osfield wrote: Hi Sylvain, osgSim::SphereSegment is very specialist class that has been designed not to be used with texturing, and its complex shape preclude any easy tex coord mapping for them Is there a reason why you aren't just rolling your

Re: [osg-users] I cant get DrawCallback to work...

2007-09-28 Thread Carlos Zoido
Thanks a lot! Sorry for the question, I should have seen that, now it works with no problem. Thanks, Carlos. On 9/28/07, Robert Osfield [EMAIL PROTECTED] wrote: Hi Carlos, You need to be a bit more careful with your method signature - the DrawCallback functor method is :

Re: [osg-users] Transparency problem

2007-09-28 Thread Christophe Medard
Hi Paul and Robert, What you are saying makes sense indeed, I didn't think about that. I will check that inferring (the database is large and exported from 3DSMax using OSGExp) : maybe OSGEXp suffer of some lackings concerning transparency issues indeed. Maybe I have after loading of the .osg

[osg-users] Some Part of The 3D Model Disappeared!?

2007-09-28 Thread Wangzhu
Hi, In my OSG based application, I need to draw some openGL objects with texture. So I used glpush and glpop before and after the code to draw OSG objects. But the some of the OSG objects can’t display on the screen. Below is part of the code:

Re: [osg-users] Ortho Clipping

2007-09-28 Thread Robert Osfield
Hi Shane, Othographic views and zooming don't mix, one should never allow a user to zoom into scene in orthographic view. You can try and hack an orthographic view to kinda of behave like a perspective view but as soon as you enter the scene itself you end up with all manner of problems with

Re: [osg-users] I cant get DrawCallback to work...

2007-09-28 Thread Robert Osfield
Hi Carlos, You need to be a bit more careful with your method signature - the DrawCallback functor method is : virtual void operator () (const osg::Camera /*camera*/) const {} You've not got the const. Robert. On 9/28/07, Carlos Zoido [EMAIL PROTECTED] wrote: Hi all!, I'm

[osg-users] Ortho Clipping

2007-09-28 Thread Rogers, Shane
Hello, We are having some Ortho Clipping problems and I was wondering if anyone had some insight on this. We are using and older version of OSG. Version 0.9.9, we are using a camera and two types of lenses. Ortho and Perspective. You can switch between the lenses and use either or. The problem

Re: [osg-users] Potential problem with PagedLOD and GeometryTechnique

2007-09-28 Thread Robert Osfield
Hi Rafa, This crash very much sounds like a bug in the ATI driver. Robert. On 9/28/07, Rafa Gaitan [EMAIL PROTECTED] wrote: Hi Robert, We have been using some classes of osgTerrain combined with PagedLOD. On Nvidia cards.. all works well but on ATI cards we have found a a crash!. We are

Re: [osg-users] OpenSceneGraph-2.2 most sensibly kept till afterSiggraph?

2007-09-28 Thread Andy Skinner
Yes, we'll test a lot more as soon as we get finished incorporating latest OSG into our build environment. I'd like another developer release with the GLExtensions change made, but at the moment I'm using 2.1.3 and making that change myself. We definitely would prefer 2.2 to have a good round of

Re: [osg-users] Still problems turning off the light

2007-09-28 Thread David Callu
Hi philipp try to do getOrCreateStateSet()-setMode(GL_LIGHTING,osg::StateAttribute::OFF | osg::StateAttribute::OVERRIDE); 2007/9/28, Philipp Siemoleit [EMAIL PROTECTED]: Hi, i try to turn off the light on my scene - without success :( Here is the example code: int main(int argc,

Re: [osg-users] I still have 2 build issues (unices)

2007-09-28 Thread Andy Skinner
Did this get resolved? I am seeing the same thing with 2.1.12. Actually, I don't see it when I build by hand, and I do when I build in our automatic build farm. Hmmm. If this is resolved, what was the fix? Maybe that'll narrow down what the problem is here. thanks, andy

Re: [osg-users] Potential problem with PagedLOD and GeometryTechnique

2007-09-28 Thread Gilbert, Daniel R.
Hi Rafa, Ah. ATI cards. Gotta love 'em! Anyways, we encountered a very similar problem with VBOs and ATI cards -- well, at least with Radeon cards -- so we added an extra startup step to disable VBOs if the renderer string contains Radeon. Not the most elegant solution, but it allowed us

Re: [osg-users] Picking/Intersections with lines

2007-09-28 Thread Robert Osfield
Use a IntersectionVisitor + PolytopeIntersector. See osgkeyboardmouse example. On 9/28/07, Michele Bosi [EMAIL PROTECTED] wrote: Hi all, I am currently working on an application where the user needs to select some lines using the mouse. I already succeeded in picking objects made of triangles

Re: [osg-users] I still have 2 build issues (unices)

2007-09-28 Thread Robert Osfield
HI Andy, There hasn't been any fix submitted for this issue. Robert. On 9/28/07, Andy Skinner [EMAIL PROTECTED] wrote: Did this get resolved? I am seeing the same thing with 2.1.12. Actually, I don't see it when I build by hand, and I do when I build in our automatic build farm.

[osg-users] Reg:OsgManipulator

2007-09-28 Thread deepti g
Hello I used osg::Manipulator to load an image and perform transitions on it .I want the transformed node which corresponds to that image,without the box dragger which the TABPLANE TRACKBALL DRAGGER puts it by default..i.e., I want the box created by the dragger to be removed when I wish

[osg-users] Compile error with svn head

2007-09-28 Thread Ulrich Hertlein
Hi all, I'm getting the following error: /home/uli/projects/osg/OpenSceneGraph/src/osg/Image.cpp: In member function 'void osg::Image::readImageFromCurrentTexture(unsigned int, bool, GLenum)': /home/uli/projects/osg/OpenSceneGraph/src/osg/Image.cpp:537: error: 'GL_TEXTURE_BINDING_2D_ARRAY_EXT'

Re: [osg-users] texturing a sphere segment

2007-09-28 Thread sylvain cormier
Sorry for the confusion, I am trying to compensate for the deformation caused by a movie screen in the shape of a sphere segment by applying a movie texture to a sphere segment. if the osgviewer already provides the option of deforming to a spherical 3d segment shape, (--panoramic-sd and --3d-sd)

[osg-users] osgGauge: Online

2007-09-28 Thread Erik Johnson
The Delta3D team at the MOVES Institute announces the availability of osgGauge, a 2D gauge and instrument panel rendering library for use with Open Scene Graph. The osgGauge nodekit allows users to easily render 2D gauges in their simulation or game application. The gauges can be created via

Re: [osg-users] osgDem VirtualPlanetBuilder

2007-09-28 Thread Hamm, Brandon
Nick, That's correct, osgDem is part of VPB. The setup for building it is very similar to OSG and just as easy. Make sure that you have GDAL installed, and define an environment variable GDAL_DIR (not sure if this is necessary for Windows, though) to point to the root of your GDAL installation