[osg-users] Fast oaths

2007-10-30 Thread Paul Martz
In Geometry::computeFastPathsUsed(), if the env var OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS is set, _fastPath is set to false and the function returns wuthout affecting the value of _supportsVertexBufferObjects. However, if that env var is not set, then the method examines several criteria and sets

Re: [osg-users] translate transformation on projection matrices

2007-10-30 Thread Paul Martz
This is just standard multi-camera view tiling as has been done in OpenGL for years. In a two-camera configuration, for example, you usually want the left camera to show you the left part of the view, and the right camera to show you the right part of the view. You do this by multiplying a transla

Re: [osg-users] ESRIShape error

2007-10-30 Thread Donald Cipperly
I can load the file just fine using my Shapefile plugin btw. The points are in a local coordinate system. See attached pic. On Oct 30, 2007 1:05 PM, Karl Beal <[EMAIL PROTECTED]> wrote: > > > > I've attached the shapefile in question. > I'm running on OpenSceneGraph-2.2.0 on Windows. > > > > > T

Re: [osg-users] ESRIShape error

2007-10-30 Thread Glenn Waldron
Hi Karl, My apologies; I meant attach them to an osg-users posting so that we can test the shapefile :) -gw On 10/30/07, Karl Beal <[EMAIL PROTECTED]> wrote: > > I've located the .shx and .dbf files. How do I go about attaching > them? Is that done in one of the Arc programs? > > > This e-mail

Re: [osg-users] ESRIShape error

2007-10-30 Thread Karl Beal
I've located the .shx and .dbf files. How do I go about attaching them? Is that done in one of the Arc programs? This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are NOT the intend

[osg-users] translate transformation on projection matrices

2007-10-30 Thread santosh
Hi Guys I am not getting the concept of translate transformation on projection matrix. When we add the slave camera in viewer we have to give projection offset. In osgcamera example the projection offset is given translate transformation matrix. what it exactly does. is it translating camera p

Re: [osg-users] ode nodekit or the like

2007-10-30 Thread Hartmut Seichter
Hi Mattias, there are apparently several projects, however very few take care of the newest developments in ODE. We have some code sitting around in our lab called (you guessed it) osgODE. It is particular focused on working together with osgART but also works with plain OSG. I have to pull so

Re: [osg-users] ESRIShape error

2007-10-30 Thread Glenn Waldron
Karl, You need to attach the buildings.shx and buildings.dbf as well. A shapefile is invalid (and unloadable in most programs) without these. -gw On 10/30/07, Karl Beal <[EMAIL PROTECTED]> wrote: > > I've attached the shapefile in question. > I'm running on OpenSceneGraph-2.2.0 on Windows. > > >

Re: [osg-users] ESRIShape error

2007-10-30 Thread Philip Taylor
Karl, File does not open with Arc Explorer either, so i guess its probably got issues. PhilT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul de Repentigny Sent: 30 October 2007 18:52 To: OpenSceneGraph Users Subject: Re: [osg-users] ESRIShape error K

[osg-users] StateSet::merge question

2007-10-30 Thread Andy Skinner
My co-worker Mario found this thread from July, and we have the same question that Paul did. http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/17046/fo cus=17087 Should StateSet::merge() support PROTECTED mode? It supports OVERRIDE on one stateset, but never checks the mode on the

Re: [osg-users] ESRIShape error

2007-10-30 Thread Paul de Repentigny
Karl, I can't seem to open the file anywhere (OSG, GlobalMapper). Are you sure it is a valid non-corrupted Shapefile? Ciao, PdR Le 07-10-30 à 14:40, Robert Osfield a écrit : > Hi Karl, > > Thanks for the file, I've tried it on my linux box on the SVN version > (very close to 2.2) and it fail

Re: [osg-users] ESRIShape error

2007-10-30 Thread Robert Osfield
Hi Karl, Thanks for the file, I've tried it on my linux box on the SVN version (very close to 2.2) and it fails with a seg fault. I'm busy with other work right now so can't go investigating problems, but once I more available I'll have a look into it futhers. Others are welcome to dive in and p

Re: [osg-users] State problem

2007-10-30 Thread Robert Osfield
HI Loinel, Where you have Matrial::ColorMode set to anything other than OFF you need to specify an ColorArray on the associted Drawable - this is missing, so the drawable is inheriting a random value for its colour. Robert On 10/30/07, Lionel Lagarde <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm r

Re: [osg-users] ESRIShape error

2007-10-30 Thread Karl Beal
I've attached the shapefile in question. I'm running on OpenSceneGraph-2.2.0 on Windows. This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are NOT the intended recipient or the per

[osg-users] State problem

2007-10-30 Thread Lionel Lagarde
Hi, I'm running osgviewer (2.0 and 2.2) with the attached OSG file. The file is composed of 4 drawables. Each drawable defines its own StateSet. The last drawable material is: Material {   DataVariance UNSPECIFIED   ColorMode OFF   ambientColor 1 1 1 1   diffuseColor 1 0 0 1   specularColor

Re: [osg-users] ESRIShape error

2007-10-30 Thread Robert Osfield
On 10/30/07, Karl Beal <[EMAIL PROTECTED]> wrote: > I'm trying to load a simple .shp file using osgviewer and I'm getting a > crash esrishape.cpp > In the PolygonZ::PolygonZ(const PolygonZ &p) constuctor p.mArray is NULL > which causes the crash. > > Is this a bug? Yes a crash is very very likely

[osg-users] ESRIShape error

2007-10-30 Thread Karl Beal
I'm trying to load a simple .shp file using osgviewer and I'm getting a crash esrishape.cpp In the PolygonZ::PolygonZ(const PolygonZ &p) constuctor p.mArray is NULL which causes the crash. Is this a bug? This e-mail and any files transmitted with it are confidential and are intended solely f

[osg-users] ode nodekit or the like

2007-10-30 Thread Mattias Helsing
I have i vague memory of people working on integrating ode with osg. I'm currently developing sw in that area and could possibly contribute is some way, but wouldn't wanna step on toes or do work that is already done for that matter. LeandroMottaBarros' demo is nice and there are other examples

[osg-users] Smooth shading

2007-10-30 Thread Zahraa Yasseen
Hello, I'm working on a project in which we need to output 3D objects constructed by the code. We generate vertices and then triangles. When the normal binding is per_primitive, every thing works fine. When it is per_vertex, either the osgProducer::Viewer crashes or the result is incorrect