Re: [osg-users] Combining two terrains dynamically

2008-12-23 Thread Ümit Uzun
Hi Williams, I think osgTerrainDeformationSoftware ( http://www.andesengineering.com/Projects/TDS/) may help you to configure terrain database surface where models and terrain are intersecting. With osgTDS you can create hills or holes on the terrain in run time. Best Regards. 2008/12/23 William

Re: [osg-users] bmp plugin problem

2008-12-23 Thread Ulrich Hertlein
Hi ? On 24/12/08 12:58 PM, lg wrote: > OpenSceneGraph-2.6.0, In function "bmp_load ", there are code to > complete swap BGR to RGB. code like this: > if (ncomp>2) { // yes bill, colours are usually BGR aren't they could you try svn trunk and see if that works for you? The bmp loader was complet

Re: [osg-users] Merry Christmas

2008-12-23 Thread Ümit Uzun
Hi Wang, Mutlu Noeller! in Turkish But Turkey doesn't celebrate Christmas because of we are Muslim :P Merry Christmas all OSG family :) 2008/12/24 Wang Rui > Hi everyone, > ** > *Merry Christmas!* > *Fröhliche Weihnachten!* > *メリークリスマス* > *Geseende Kerfees!* > *즐거운 성탄* > *圣诞快乐* > *Веселое рожд

Re: [osg-users] Building VPB on Windows

2008-12-23 Thread christophe loustaunau
Hi Michael, Cmake can't fing gdal and osg on your system. * *For gdal, you can find it here : http://www.gdal.org/* *For osg, you may have made an error with your Environment variable.You could add your lib path to the Environment variable path. Regards. On Wed, Dec 24, 2008 at 6:16 AM, Michael

Re: [osg-users] Building VPB on Windows

2008-12-23 Thread Michael W. Hall
Attached you will find reported errors. Michael On Wed, 2008-12-24 at 00:58 +, Simon Hammett wrote: > Well it's hard to give you any pointers if you don't supply the error > messages... > > 2008/12/23 Michael W. Hall : > > I just ran the configure utility. I am getting errors with CMake >

Re: [osg-users] Texture Image Size

2008-12-23 Thread Ryan Morris
Ulrich, I've been playing around with your suggestions, I just don't quite understand how to implement the osg::TexMat::setMatrix. I've been going through the ref docs and still haven't got it. Maybe a code sample? =) Thanks again! -Russ ___ osg-users ma

[osg-users] Merry Christmas

2008-12-23 Thread Wang Rui
Hi everyone, ** *Merry Christmas!* *Fröhliche Weihnachten!* *メリークリスマス* *Geseende Kerfees!* *즐거운 성탄* *圣诞快乐* *Веселое рождество* *Gëzuar Krishlindjet!* *Gozhqq Keshmish!* *I'D Miilad Said!* *Nabidà!* *Shenoraavor Nor Dari!* *Bones Navidaes!* *Mbung Mbung Krismie!* *Shuvo Baro Din!* *Mi wisim yufala e

[osg-users] bmp plugin problem

2008-12-23 Thread lg
Hi Robert OpenSceneGraph-2.6.0, In function "bmp_load ", there are code to complete swap BGR to RGB. code like this: if (ncomp>2) { // yes bill, colours are usually BGR aren't they for(int i=0; i2) { // yes bill, colours are usually BGR aren't they for(int i

Re: [osg-users] Building VPB on Windows

2008-12-23 Thread Simon Hammett
Well it's hard to give you any pointers if you don't supply the error messages... 2008/12/23 Michael W. Hall : > I just ran the configure utility. I am getting errors with CMake > configure. Reports that a lot of the variables are set to not found. > > Windows XP BTW and Visual Studio 2005. > >

Re: [osg-users] Building VPB on Windows

2008-12-23 Thread Michael W. Hall
I just ran the configure utility. I am getting errors with CMake configure. Reports that a lot of the variables are set to not found. Windows XP BTW and Visual Studio 2005. Michael On Tue, 2008-12-23 at 15:33 -0600, Michael W. Hall wrote: > I am trying to build VPB on my Windows machine. I ge

Re: [osg-users] Texture Image Size

2008-12-23 Thread Ulrich Hertlein
Hi Rusty, On 24/12/08 5:38 AM, Ryan Morris wrote: I understand what you are saying about mapping to each vertex but I'm unclear how you get the vertex arrays from a node (not a geod etc). Only Drawables have vertices/normals/texcoords so you have to walk you way down the hierarchy from Node t

[osg-users] Combining two terrains dynamically

2008-12-23 Thread Williams, Blake
Our program loads terrains fine and clips models appropriately when they go "under" the terrain. Our program also allows the user to add an "overlay" terrain on top of the base terrain. The problem we have now is that the elevation data of the overlay terrain is lower than the elevation of the ba

Re: [osg-users] 3D Animation questions

2008-12-23 Thread Cedric Pinson
Hi Carlos, Matthew answered well, i will just add some comment. The first things you can try is to check osganimation example it will be a good start. osgAnimation support skinned animation (with bones) and solid animation (like just animating a MatrixTransform ...). It's possible to animate o

[osg-users] Building VPB on Windows

2008-12-23 Thread Michael W. Hall
I am trying to build VPB on my Windows machine. I get about 64 errors. I got the 2.6 version of OSG and I got the latest VPB from SVN. This could be my problem. I created all the Environment variables (i.e. OSG_ROOT, OSG_BIN_PATH, etc). When I tried a rebuild, it failed with the same errors.

Re: [osg-users] Using TerraPage database and osgSim::LineOfSightfor non-displayed scene graph - how to get nodes to page in?

2008-12-23 Thread I-Nixon, Anthony D
Okay, thanks Rob. I was assuming that the DatabasePager should load the nodes, but it is nice to have confirmation. I'll do some stepping. > -Original Message- > From: Robert Osfield [mailto:robert.osfi...@gmail.com] > Sent: Tuesday, 23 December 2008 7:31 PM > To: OpenSceneGraph User

Re: [osg-users] Forum with Mailing list connection (Christmas Gift ; ) )

2008-12-23 Thread Art Tevs
Hi Matthew, yes, this was the next step I was thinking about. However this need some non-trivial changes to the forum software to make it possible, hence this would take time... I think to do this in the following way: - User post to the forum under some category: "CategoryA" - "I have a problem

Re: [osg-users] 3D Animation questions

2008-12-23 Thread Matthew Fuesz
osgATK (now osgAnimation, I believe) provides an animation-based nodekit. It should be a good starting point for looking into animation in OSG. Your first question seems somewhat contradictory. "Vertex animation" has traditionally referred to an older, obsolete style of animation based on saving

[osg-users] 3D Animation questions

2008-12-23 Thread Carlos Sanches
Hi all ! :D I have two questions about 3D animation on OSG. First: Is possible to read animation like vertex animation . I m doing only translation rotation and scale, but for example I want to do skin animation. Second: Is possible to control de frames of a 3D object animated ? For example

Re: [osg-users] Compile errors and warnings in mdl plugin

2008-12-23 Thread Jason Daly
Hi, J-S, Thanks for doing the Windows testing I promised to do before I got sick for two days :-) I'd submit fixes for these, but looks like Robert beat me to it. --"J" Jean-Sébastien Guay wrote: Hi all, Current SVN has errors when compiling the mdl plugin. All the errors are related t

Re: [osg-users] CMake error with 2.7.8

2008-12-23 Thread Jason Daly
Robert Osfield wrote: H Fred et al, I've merged Mattias's changes to support Cmake 2.4.5 & 2.5.6 with out current build system, this are now checked into svn/trunk. The main CMakeLists.txt is also attached. Could yo'all "stuck" with CMake 2.4.5 try out these changes. Builds fine on RHEL 5

Re: [osg-users] Forum with Mailing list connection (Christmas Gift ; ) )

2008-12-23 Thread Matthew Fuesz
With regard to categorization (subforums): It could be possible to automatically manage this from the forum side. That is, any threads created in the forum could be tagged with an appropriate flag designating the originating categorical subforum when they are transcribed into mailing list messa

Re: [osg-users] Texture Image Size

2008-12-23 Thread Ryan Morris
Gordon, I understand what you are saying about mapping to each vertex but I'm unclear how you get the vertex arrays from a node (not a geod etc). And sadly it doesn't appear to me that TexGen has the ability to "stretch" the image. Thanks again! -Rusty __

Re: [osg-users] computeIntersections problem

2008-12-23 Thread Simon Hammett
It's not the functions you are calling, you are incorrectly mixing different C runtime libraries. When you are using windows, you must use debug builds of OSG with your debug build application. And release builds with release. If you mix the 2 then objects get allocated from different heaps and b

Re: [osg-users] Texture Image Size

2008-12-23 Thread Dunhour, Mike (CIV)
From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Ryan Morris Sent: Monday, December 22, 2008 9:09 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Texture Image Size I've been

[osg-users] computeIntersections problem

2008-12-23 Thread Francesco Argese
Hi all, i'm trying to implement PickHandler in my application with osg 1.2. Following example osg::pick i have written the following lines of code: bool PickHandler::pick (const double x, const double y, osgProducer::Viewer* viewer) { std::vector hlist; if ( viewer->computeIntersections(x, y, hli

Re: [osg-users] state of a point

2008-12-23 Thread Robert Osfield
Hi Henmath, You get multiple intersections because your objects will have multiple surfaces that will be being intersected, such as front side + back side. The LineSegmentItersector::Intersection structure stores all the information about the intersection, include Drawable, and full NodePath, so

Re: [osg-users] state of a point

2008-12-23 Thread hemanth korrapati
Hi, Thank you all Actually I am using Intersectionvisitor for this purpose. I will explain the scenario more clearly I will make up a line segment with end points say p1(10,10,1100) and p2(10,10,-100). Along the length of this line(along z-axis, between 1100 and -100) I want to find out all the

Re: [osg-users] osgTerrain Problem

2008-12-23 Thread Robert Osfield
Hi Ryan, On Tue, Dec 23, 2008 at 4:15 AM, Ryan Morris wrote: > Thanks guys for the quick responses! This is the kind of information you > can't really come by going through the ref docs. I didn't know you could > only use certain plugins could be used as heightfields. I assumed it was > like blen

Re: [osg-users] Using TerraPage database and osgSim::LineOfSight for non-displayed scene graph - how to get nodes to page in?

2008-12-23 Thread Robert Osfield
Hi Anthony, I'm afraid I've never tried to combine TerraPage databases with the osg::Sim lntersection classes, so can't point you in any particular direction. In theory the .txp plugin creates PagedLOD's and then leverages the osgDB::DatabasePager for paging, so should be mappable across to how t

[osg-users] Question: stateSet->setMode(GL_LIGHT0 + id, osg::StateAttribute::ON); for fixed functionality OpenGL only?

2008-12-23 Thread Raymond de Vries
Hi everyone, First of all, merry christmas and a wonderful new year to all of you! All the best and health! I have a small question to make sure that I understand the lighting properly. I am using GLSL to do my lighting and I would like to be 100% sure that the call stateSet->setMode(GL_LIG