[osg-users] Multiple plugins for a single format

2007-12-03 Thread Paul Martz
Hi Robert -- I've encountered a small issue in developing my OpenFlight export plugin, which is written as a separate plugin from the existing FLT import plugin. I have a small test app that performs the following steps: 1) Register an extension alias so that osgDB knows my export plugin support

[osg-users] fix the gap between terrain tile

2007-12-03 Thread MingWei
Hi Every One! I'm working on the 3D terrain visualization. I want to split the Terrain Image into many tiles. And then build their LODs( like Quad tree ). Now I don't konw how to fix the gap between adjacent tile( in the same and different LOD level ). I 'm long for your suggest. Thanks!__

Re: [osg-users] Creating shapes using Geometry

2007-12-03 Thread Paul Martz
_ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Renan Mendes Sent: Sunday, December 02, 2007 3:40 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Creating shapes using Geometry Hey, Jean-Sébastien. Now I'm asking for that example code you've offered me, if that

Re: [osg-users] FBO resizing problem

2007-12-03 Thread Himar Carmona
Hi, this little hack makes this approach work: Change to Image (header): Added bool allocateIfRequired to ReadPixels. Controls if Image is free or not to allocate the desired memory buffer, or app want to take care of it (true means Image has control). App must guarantee _data is initialized

Re: [osg-users] Getting world coord bounding box

2007-12-03 Thread Siddharth Palaniappan
Hi Bryan, Your correct. I fixed the problem and it works well. Thanx a lot. Thanx daniel for your suggestions too. Siddharth - Original Message From: "Thrall, Bryan" <[EMAIL PROTECTED]> To: OpenSceneGraph Users Sent: Monday, December 3, 2007 10:55:48 AM Subject: Re: [osg-users] Gettin

Re: [osg-users] FBO resizing problem

2007-12-03 Thread Himar Carmona
Hi, i'm trying the second approach of having a FBO greater always. Is there an easy way to set a FBO and copy only a portion of it back to memory? Using FBO, an image to control the transfer to main memory and the requisite of having image copy the pixels in a specified location (given pointer),

Re: [osg-users] undefined symbol in osgdb_dae.so

2007-12-03 Thread Roger James
> they're using old versions or--may the gods forbid--Windows. My CMake > Enjoy! [Roger James] Sorry Jeremy. The atheist in me thinks you may not be a god. But please forgive me anyway, I only build osg on windows. (But I do run a real operating system on most of the other systems here :-) )

Re: [osg-users] undefined symbol in osgdb_dae.so

2007-12-03 Thread Bob Huebert
On Mon, 3 Dec 2007, Bob Huebert wrote: > sweetness! > > Thank you so much Jeremy. > > -bob > > On Mon, 3 Dec 2007, Jeremy Moles wrote: > >> OKAY! Here's how I got this to work... (Both using "shared" and "static" >> modes) >> >> 1. Latest SVN Collada built using: make RELEASE=1 >> >> 2. Latest SV

[osg-users] Getting the "depth clamped" projection matrix of a CameraNode

2007-12-03 Thread Alan Purvis
Hi, CameraNodes unlike SceneViews don't appear to have a getCullVisitor() function, I'm guessing they're visited by the same CullVisitor as the root SceneView that contains them. Without access to this "root SceneView", is it possible to get access to the exact projection matrix applied to

Re: [osg-users] undefined symbol in osgdb_dae.so

2007-12-03 Thread Bob Huebert
sweetness! Thank you so much Jeremy. -bob On Mon, 3 Dec 2007, Jeremy Moles wrote: > OKAY! Here's how I got this to work... (Both using "shared" and "static" > modes) > > 1. Latest SVN Collada built using: make RELEASE=1 > > 2. Latest SVN Collada installed using: sudo make RELEASE=1 > (sudo wa

Re: [osg-users] undefined symbol in osgdb_dae.so

2007-12-03 Thread Jeremy Moles
OKAY! Here's how I got this to work... (Both using "shared" and "static" modes) 1. Latest SVN Collada built using: make RELEASE=1 2. Latest SVN Collada installed using: sudo make RELEASE=1 (sudo was used since the Collada project doesn't seem to have a PREFIX option, and I generally install

Re: [osg-users] undefined symbol in osgdb_dae.so

2007-12-03 Thread Jeremy Moles
Okay, just so you know this isn't anything you're doing wrong. The build is broken in some way. I'll fix and make a post here and to submissions. I'm getting the exact same error as you. On Mon, 2007-12-03 at 11:49 -0900, Bob Huebert wrote: > On Mon, 3 Dec 2007, Jeremy Moles wrote: > > On Mon, 200

Re: [osg-users] undefined symbol in osgdb_dae.so

2007-12-03 Thread Jeremy Moles
Robert let me add: src/osgPlugins/dae/README.txt ...a while back, which was my account of how I got the thing to work. :) Back then, it worked slightly differently... I'll try and build Collada myself on Fedora 8, 32bit, and let you know if I have any issues. On Mon, 2007-12-03 at 11:49

Re: [osg-users] undefined symbol in osgdb_dae.so

2007-12-03 Thread Bob Huebert
On Mon, 3 Dec 2007, Jeremy Moles wrote: > On Mon, 2007-12-03 at 10:10 -0900, Bob Huebert wrote: >> I'm continuing to see the undefined symbol problem... >> >> Regardless of which library I use (.a or .so), the build runs just fine >> without issue. >> >> When using libcollada_dae.a: >> undefined sy

Re: [osg-users] osgEphemeris Moon Phase

2007-12-03 Thread Don Burns
Hi Loong Hin, Check the documentation for osgEphemeris here: http://andesengineering.com/Projects/OsgEphemeris/ The moon phase is accomplished by lighting effects on a sphere with true angles. These angles are computed by day of the year/time latitude and longitude. There is a section on using

Re: [osg-users] undefined symbol in osgdb_dae.so

2007-12-03 Thread Jeremy Moles
On Mon, 2007-12-03 at 10:10 -0900, Bob Huebert wrote: > I'm continuing to see the undefined symbol problem... > > Regardless of which library I use (.a or .so), the build runs just fine > without issue. > > When using libcollada_dae.a: > undefined symbol _ZN7pcrecpp3Arg12parse_stringEPKciPv >

[osg-users] RE License issue with .Net loader...

2007-12-03 Thread neil.hughes
Hi All, In regards to the SockStream object, it would be good if the rewrite could address some of the issues that arise with its current implementation. Namely that its read cylce is dependent on an EOF marker being present in the file to indicate when the end of the stream has been encountere

Re: [osg-users] undefined symbol in osgdb_dae.so

2007-12-03 Thread Bob Huebert
I'm continuing to see the undefined symbol problem... Regardless of which library I use (.a or .so), the build runs just fine without issue. When using libcollada_dae.a: undefined symbol _ZN7pcrecpp3Arg12parse_stringEPKciPv When linking against libcollada_dae_shared.so: undefined symbol _Z16reg

[osg-users] osgOQ: Deleting Query IDs

2007-12-03 Thread Paul Martz
Hi Robert -- I'm adding code to osgOQ to clean up query IDs, and ran into a small snag. GraphicsContext::close() has hardcoded several static function calls to delete OpenGL objects, such as Drawable::flushAllDeletedDisplayLists. Doesn't this design somewhat prohibit NodeKits from deleting OpenGL

Re: [osg-users] convert GPS coordinates to local terrain coordinates

2007-12-03 Thread Glenn Waldron
Stephane, The TXP doesn't explicitly contain its projection. You need to go back to the TerraVista project. We can make an educated guess though; Where is your database? City, country? As for converting the lat/lon, OSG does not do this natively. You can use OGR (http://gdal.org/ogr/) which is pa

Re: [osg-users] Creating shapes using Geometry

2007-12-03 Thread Renan Mendes
Restez tranquille, donc! Je parle un peu le français. Peut-être ça ne sera pas le problème plus grand... Thanks, once again. Renan M Z Mendes ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-

Re: [osg-users] osgConv RegisterWindowingSystemInterfaceProxy Win32

2007-12-03 Thread Robert Osfield
Hi John, The Cmake file for osgconv is the same for Windows as it is unix, so osgViewer should be included already in the build, there is in essence no difference between the specified libs between osgviewer and osgconv. Curiously osgconv even references sybmbols from include/osgViewer (see the d

[osg-users] osgConv RegisterWindowingSystemInterfaceProxy Win32

2007-12-03 Thread Argentieri, John-P63223
Robert, I'm not sure about *nix, but I know that on Windows, the osgViewer.dll will NOT get loaded unless a symbol from it gets referenced. That does not include this symbol: static RegisterWindowingSystemInterfaceProxy createWindowingSystemInterfaceProxy; >From within GraphicsWindowWin32.cpp, a

Re: [osg-users] convert GPS coordinates to local terrain coordinates

2007-12-03 Thread Stephane DUGUET
Thanks Glenn, It helped a lot as I was completely wrong. My projInfo.txt file is as following, meaning my offsets are set to 0? My csm=Projected originlat=33.094356133212699 originlon=-117.642398847633000 zunits=1.000 selectorId=6 dcType=NONE dcSelectorId=0 txpOff

Re: [osg-users] Getting world coord bounding box

2007-12-03 Thread Thrall, Bryan
Siddharth Palaniappan wrote on Monday, December 03, 2007 7:18 AM: > Hi Daniel, > > I tried getting the WC from the animationpathcallback and > concatenating with other matrices along the nodes. I get wierd > results. When the vehicle goes diagonally, the bounding box shrinks > and otherwise it is

Re: [osg-users] convert GPS coordinates to local terrain coordinates

2007-12-03 Thread Glenn Waldron
Stephane, If you TXP database is in a flat-earth projection, like UTM or state plane, the osg::Ellipsoid functions will not help. They convert to and from geocentric (earth-centered) coordinates. TerraVista generates a "projInfo.txt" file along with the TXP database. This contains the "txpOffsetX

[osg-users] convert GPS coordinates to local terrain coordinates

2007-12-03 Thread Stephane DUGUET
Hello, I'm new on OSG scene. Here is my issue: I have a TXP terrain on which I know the local origin coordinates. This coordinates are: Longitude : -117.64 Latitude : 33.09 I now whant to know the local coordinates (within my TXP terrain) of a know location (GPS cocordinate): L

Re: [osg-users] OSG and OpenGL rendering

2007-12-03 Thread Vican, Justin E.
Hi Roman, In order to draw OpenGL code in the scene graph, you need to derive a class from the osg::Drawable class. Overload the osg::Drawable::drawImplementation method and have it call the VolumeClouds::Render method. You'll have to add any instance of this class to an osg::Geode and insert tha

[osg-users] OSG and OpenGL rendering

2007-12-03 Thread Roman Grigoriev
Hi guys! I try to implement Mark Harris cool clouds in osg but nowI try to use his code that he wrote on pure GL. all functions worked but I haven't seen clouds in window. As you see clouds are not connected to root node but I don't know how to use it. Please help me. here is my code: in main()

[osg-users] Camera manipulation

2007-12-03 Thread Daniel Moos
Hello I wish to implement a zoom like effect. When the user draw a rectangle on the screen the camera should show this rectangle in the fullscreen. So you can show a detail by simply mark it. Has everybody an idea? I haven't much expierience with the camera from osg... Can anyone help? Thanks

Re: [osg-users] Getting world coord bounding box

2007-12-03 Thread Siddharth Palaniappan
Hi Daniel, I tried getting the WC from the animationpathcallback and concatenating with other matrices along the nodes. I get wierd results. When the vehicle goes diagonally, the bounding box shrinks and otherwise it is correct. I have included two images as to what i mean. Any ideas as to what

Re: [osg-users] DynamicLibrary::failed loading

2007-12-03 Thread Serge Lages
On Dec 3, 2007 12:03 PM, Michael Ebner <[EMAIL PROTECTED]> wrote: > Hi all, > > have you tried compiling the plugins with "Embed Manifest = false" > (under VS2005 Project Properties->Manifest Tool->Input and Output->Embed > Manifest). > And then distributing the plugins without any manifests they

Re: [osg-users] DynamicLibrary::failed loading

2007-12-03 Thread Michael Ebner
Hi all, have you tried compiling the plugins with "Embed Manifest = false" (under VS2005 Project Properties->Manifest Tool->Input and Output->Embed Manifest). And then distributing the plugins without any manifests they should load normally. regards, Michael. Serge Lages wrote: > Hi Mike and

Re: [osg-users] DynamicLibrary::failed loading

2007-12-03 Thread Serge Lages
Hi Mike and all, I am currently making some tests to redistribute one of our apps and I have exactly the same problem. I use VMWare where I made a fresh install of WinXP SP2 (32 bits), of course without any VS installation. Then I have downloaded your OSG-2.2installation package and tried it, it

Re: [osg-users] FBO resizing problem

2007-12-03 Thread Robert Osfield
On Dec 2, 2007 11:21 PM, Himar Carmona <[EMAIL PROTECTED]> wrote: > Well, comments apart, is there any place where i could document the > proposed changes to FBO functionality in RenderStage and stand there until i > (or anyone else) have time to try to incorporate it to the osg distribution? > S