Re: [osg-users] Aircraft Simulation Control by MatrixTransform

2008-05-02 Thread ümit uzun
Hi Zoltán, I try to install zSim by the way which was showed in your INSTALL instruction. When I was finished the console screen was like that; /***/ [EMAIL PROTECTED]:~/Desktop/zSim/zSim-0.3.0$ make Creating Build/subdirectories Compiling

Re: [osg-users] loading LODs in orthographics projection

2008-05-02 Thread santosh
Hi all how to do zoom in and out in orthographic projection? As I zoom in the detailed geometry should be loaded . Right now I am scaling the geometry but in this method the details are not getting loaded. Thanks Santosh santosh wrote: Hi all I have a problem in loading LOD's in

[osg-users] how to zoom in and out in orthographic projection

2008-05-02 Thread santosh
Hi all how to do zoom in and out in orthographic projection? As I zoom in the detailed geometry should be loaded . Right now I am scaling the geometry but in this method the details are not getting loaded. Thanks Santosh ___ osg-users mailing

Re: [osg-users] Monday's User meeting in Paris

2008-05-02 Thread Serge Lages
Hi Art, First thanks to everyone who has come to the meeting, it was really nice ! About the picture we've took, I'll try to post them as soon as I can. About this one in the pub we can see : First plan from the left : Stéphane Lamoliatte (RSA COSMOS), David Callu (freelance), Cedric Pinson

Re: [osg-users] Monday's User meeting in Paris

2008-05-02 Thread Art Tevs
Hi Serge, thanks, I have updated the wiki to reflect the names. Just upload the new pictures to the wiki. Hope to see them soon ;-) Cheers, Art --- Serge Lages [EMAIL PROTECTED] schrieb: Hi Art, First thanks to everyone who has come to the meeting, it was really nice ! About the

[osg-users] Limit on number of children ?

2008-05-02 Thread Vincent Bourdier
Hi all, Somewhere in my code, I make some root-addChild(functionCreateGeode()); but when I added a last one, OSG crash on rendering, pretending a vector error. I've verified, it do not depend on the Geode, because it work if I remove an addChild() before doing mine... Is there a limit in the

[osg-users] how to use OpenGL code in osg

2008-05-02 Thread su hu
Hi all, I have some opengl codes and want to use these codes in osg program. I do it as follow: 1. Add a geode to root scene and define a drawable (derived from osg::Drawable). 2. The drawable is added as child of the geode. OpenGL code is added in DrawCallback of the drawable(in

[osg-users] osgfx::bumpmapping example ?

2008-05-02 Thread Vincent Bourdier
Hi all, I just want to set a bump mapping effect on a geode, but the only thing I obtain is the geode all colored in black. I didn't found any example of BumpMapping, and I didn't succed setting it on my geode doing : osgFX::BumpMapping* bump = new osgFX::BumpMapping();

Re: [osg-users] Aircraft Simulation Control by MatrixTransform

2008-05-02 Thread Zoltán
Hello Ümit, I didn't see the timer warning before. I'll have a look. As for the runtime error, the first is because the executable (zSim.bin) is not where the wrapper-script (zSim) expects it. The way to do it is to move the zSim.bin executable that you just compiled (and only this) into the

Re: [osg-users] osgfx::bumpmapping example ?

2008-05-02 Thread David Callu
Hi Vincent, Take a look to osgfxbrowser, there are an example of bump mapping use. In fact, all is in osgfx::BumpMapping::setUpDemo() HTH David Callu 2008/5/2 Vincent Bourdier [EMAIL PROTECTED]: Hi all, I just want to set a bump mapping effect on a geode, but the only thing I obtain is the

Re: [osg-users] how to use OpenGL code in osg

2008-05-02 Thread Bob Kuehne
hi su - we cover this (and more!) in the intermediate training course we teach. however, it's a pretty simple answer - the drawImplementation is only executed once, because it's converted to a display list the first time drawn. so, disable display lists on that drawable, and you'll be set!

Re: [osg-users] how to zoom in and out in orthographic projection

2008-05-02 Thread Paul Melis
Posting your question just once and waiting a bit for an answer would be nice... santosh wrote: how to do zoom in and out in orthographic projection? As I zoom in the detailed geometry should be loaded . Right now I am scaling the geometry but in this method the details are not getting

[osg-users] osg::Vec3Array _dataSize

2008-05-02 Thread erf
Why is the _dataSize used? Shouldn't the size of the std vector be used instead?? If i want to update the vertex array the _dataSize is not changed SET ANYWERE except in the constructor, but i think it's used by primitive_set and geometry for rendering... Erlend

Re: [osg-users] Limit on number of children ?

2008-05-02 Thread Gordon Tomlinson
Without seeing your code one cannot really say what is wrong with what you doing Typically in this case I would say it is because one of the Geodes your adding has not been created correctly, its geometry is not set up, or possibly your using a stale of corrupt pointer

Re: [osg-users] osg::Vec3Array _dataSize

2008-05-02 Thread erf
My bad.. Data size is size of vector.. (Vec3 == 3).. Still have problems updating geometry though, even though im doing this after update(maybe a little overkill..) and also try to create a new VecArray.. _drawArrays-dirty(); _vertices-dirty();

Re: [osg-users] loading LODs in orthographics projection

2008-05-02 Thread Gordon Tomlinson
You can to change the LOD scale factor in this case, see previous list discussions __ Gordon Tomlinson Email   : [EMAIL PROTECTED] YIM/AIM : gordon3dBrit MSN IM  : [EMAIL PROTECTED] Website : www.vis-sim.com www.gordontomlinson.com

Re: [osg-users] Render to 3D texture example and questions

2008-05-02 Thread hesicong2006
I switch my compile mode from Debug to Release and speed of rendering to 256*256*256 3D texture gets up from 5 fps to 30fps! Ulrich Hertlein wrote: Quoting hesicong2006 [EMAIL PROTECTED]: I think another way should be possible: Only one RTT camera, under it there are 256

[osg-users] error when updating geometry data when adding points to a Vec3Array

2008-05-02 Thread erf
I want to draw a line, and to update this line with more points. Now i render the line, but as soon I do a update which changes the vertices size the line dissapears. please submit an example / suggestions if anyone have, before im going totally nuts! :) PS. 1. Im doing the update via a

Re: [osg-users] Limit on number of children ?

2008-05-02 Thread Vincent Bourdier
Thanks for help, a bit of code will be more clear so this is something approaching : osg::Geode* createMoon(std::string texturePath); osg::Geode* createSun(std::string texturePath); and in the main: _root-addChild(createSkyMap(config-Skypath));

Re: [osg-users] Limit on number of children ?

2008-05-02 Thread Vincent Bourdier
Thanks for help, a bit of code will be more clear so this is something approaching : osg::Geode* createMoon(std::string texturePath); osg::Geode* createSun(std::string texturePath); and in the main: _root-addChild(createSkyMap(config-Skypath));

Re: [osg-users] Limit on number of children ?

2008-05-02 Thread Gordon Tomlinson
HI Try creating a group and adding the Moon and Sun geodes to that and then add this new group to your Root Personally I never give a geode to the root node ( __ Gordon Tomlinson Email : mailto:[EMAIL PROTECTED] [EMAIL

Re: [osg-users] Limit on number of children ?

2008-05-02 Thread Vincent Bourdier
Yes, i did it and it works well, but I don't understand why I have to use a group... Thanks, Vincent 2008/5/2 Gordon Tomlinson [EMAIL PROTECTED]: HI Try creating a group and adding the Moon and Sun geodes to that and then add this new group to your Root Personally I never give a

Re: [osg-users] Limit on number of children ?

2008-05-02 Thread Paul Melis
You shouldn't have to use a separate Group as a Geode is a subclass of osg::Node and therefore can be held in a osg::Group. Do you have a stack trace for the case where you app crashed? Paul Vincent Bourdier wrote: Yes, i did it and it works well, but I don't understand why I have to use a

Re: [osg-users] how to use OpenGL code in osg

2008-05-02 Thread su hu
Hi, bob Thanks a lot. Kind Regards, Tiger Su 2008/5/2, Bob Kuehne [EMAIL PROTECTED]: hi su - we cover this (and more!) in the intermediate training course we teach. however, it's a pretty simple answer - the drawImplementation is only executed once, because it's converted to a display

[osg-users] NodeTrackerManipulator's look position setting

2008-05-02 Thread ümit uzun
Hi All; I have an aircraft. Before I add the aircraftNode to my scene I rotate with; /***/ mAircraftTransform-setMatrix( osg::Matrix::scale( size, size, size ) * osg::Matrix::rotate( osg::DegreesToRadians( 90.0f

[osg-users] Shapefile troubles

2008-05-02 Thread Kimmo Kotajärvi
I have a collection of road data as shapefiles (.shp, .dbf, .prj) but they do not get loaded correctly. Everything gets squished into one long line, so this is obviously some coordinate system error. I can get sensible data after converting it from one coordinate system to another using

Re: [osg-users] problem compiling OSG2.4 on MinGW

2008-05-02 Thread Philip Lowman
On Thu, May 1, 2008 at 5:43 PM, Linh Phan [EMAIL PROTECTED] wrote: Hi, I'm having a cannot find -ljpeg problem compiling OSG2.4 on MinGW, but when I do a ls on C:/Program Files/OpenSceneGraph/lib, I see: C:/Program Files/OpenSceneGraph/lib/libjpeg.lib C:/Program

Re: [osg-users] Shapefile troubles

2008-05-02 Thread Sebastian Messerschmidt
Hi Kimmo, I’ve been testing the plugin some days ago and noticed that some files are not loaded correctly. The problem here was, that the loader only loaded the first record. This happened with some files generated in Multigen. I have to test this before I submit a patch. Dunno if this is

Re: [osg-users] problem compiling OSG2.4 on MinGW

2008-05-02 Thread Linh Phan
I did that and it passed that problem. Now I'll just keep getting the sources of the missing libraries and compile it myself; I was hoping someone would have all the MinGW compiled osg dependent libraries available on the web. Thanks Philip, Linh Philip Lowman wrote: On Thu, May 1, 2008 at

[osg-users] Compile Errors 2.4 Release Mac OS X

2008-05-02 Thread Daniel Larimer
I just did a fresh download of the 2.4 release zip file. I ran cmake . ; make I got the following error on Mac OS X Leopard 10.5.2 on an Intel Mac with case sensitive HFS. [ 25%] Building CXX object src/osgUtil/CMakeFiles/osgUtil.dir/ Tessellator.o [ 25%] Building CXX object

Re: [osg-users] loading LODs in orthographics projection

2008-05-02 Thread Ulrich Hertlein
Hi Santosh, santosh wrote: how to do zoom in and out in orthographic projection? As I zoom in the detailed geometry should be loaded . LOD is calculated based on the distance from the eye to the object. So if you move the camera a different LOD level will be selected. But as you've