Re: [osg-users] Disabling OpenGL context binding/unbinding

2011-03-02 Thread Fred Smith
Nobody here? I thought there was a way to remove the makeCurrent(context) / makeCurrent(null) calls inbetween the rendering of frames. I believe there was a message of Robert about this feature. Isn't it the case? -- Read this topic online here:

Re: [osg-users] Disabling OpenGL context binding/unbinding

2011-03-02 Thread Robert Osfield
HI Fred, On Wed, Mar 2, 2011 at 8:35 AM, Fred Smith osgfo...@tevs.eu wrote: Nobody here? I thought there was a way to remove the makeCurrent(context) / makeCurrent(null) calls inbetween the rendering of frames. I believe there was a message of Robert about this feature. I don't recall the

Re: [osg-users] Disabling OpenGL context binding/unbinding

2011-03-02 Thread Fred Smith
Sweet. This was the very method I had in mind but couldn't remember of the name of. Thank you ! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37241#37241 ___ osg-users mailing list

Re: [osg-users] [osgOcean] Shader again.

2011-03-02 Thread Bawenang Rukmoko
Hi, Ok, after many googling (and stumbling around aimlessly) I've found a similar situation (and a revelation): http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-April/009746.html So I think I'll try that one suggestion. Adding another camera pass that will only

Re: [osg-users] [osgOcean] Shader again.

2011-03-02 Thread Bawenang Rukmoko
benang wrote: Thanks for the reply. Well I know I shouldn't and I wouldn't if I don't have this artefact of the culled tip of the ship. I noticed that you're replying as a guest, not a member of this forum, so I'm not sure that you can see all of my screenshots that I've put here. If

Re: [osg-users] Keyboard move camera position

2011-03-02 Thread Mr Alji
Hi Nan, Well I do believe that the best thing to do to start is to follow Martin's Answer :) after that, try in the main function the following code snippet : viewer.setCameraManipulator( new osgGA::DriveManipulator() ) have a nice day *--* *Mohamed ALJI* Élève ingénieur en Informatique

[osg-users] (no subject)

2011-03-02 Thread Felix Bwire
http://plissk3n.pl.funpic.de/google.php ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] [osgPlugins] Textures Problem!!! Urgent!!

2011-03-02 Thread Nectarios Pelekanos
Hi, Can anyone help me on this!! The texture of the 3D object appears fine with an Nvidia card and fails with an ATI card. I have attached two images to see the problem. Thank you! Cheers, Nectarios -- Read this topic online here:

[osg-users] Textures Problem!!! Urgent!!

2011-03-02 Thread Nectarios Pelekanos
Hi, Can anyone help me on this!! The texture of the 3D object appears fine with an Nvidia card and fails with an ATI card. I have attached two images to see the problem. Thank you! Cheers, Nectarios -- Read this topic online here:

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Tomlinson, Gordon
You can get the latest spec for OpenFlight here http://www.presagis.com/products_services/standards/openflight/ Chris I always found a good aged bottle of single Malt stopped me crying when working with OpenFlight or a goo firkin of real ale :) Gordon Tomlinson 3D Technology System

Re: [osg-users] [build] x64 library Dependencies for VC9sp1

2011-03-02 Thread Torben Dannhauer
Hi Craig, Today I build OSG x64 bit with the fresh downloaded 3rdParty package V3, and everything worked as expected. Therefor I assume that your download is somehow corrupted or that your decrompress tools are broken. If anyone else have similar problems, please contact me. Otherwise I

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Mukund Keshav
Thanks Chris, Andreas, Gordon. @Andreas. However, if you want to extract a regular terrain height raster from an OpenFlight database, I would say the best solution is to write an OSG application that simply intersects vertically with the terrain at equal distances and puts the result in

Re: [osg-users] More than one ClipNode and ClipPlane

2011-03-02 Thread Andrea Martini
Hi Robert, following your suggestions, i solved my doubts. This is the correct code: ... // cylinder : osg::ClipNode* cnCylinder=new osg::ClipNode(); cnCylinder-addChild(cylinderModel); groupCylynder-addChild(cnCylinder); clipPlaneForCylinder=new osg::ClipPlane(); planeForCylinder=new

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Andreas Ekstrand
Hi Mukund, I just meant that you could implement a spatial traverse over the terrain bounding box with equal steps in X and Y, intersect vertically with the terrain and put the resulting terrain heights in an image which you can write to disk with one of the OSG image plugins implementing

Re: [osg-users] [osgPlugins] Michael Platings

2011-03-02 Thread Josue Hernandez
ok, now what i need to do so i can use this osg in my visual stdio? i try change the evolment variables that come in the page dwight but appears this error : Unhandled exception at 0x7855b000 in pruba.exe: 0xC005: Access violation reading location 0x0125fffc. in the file ReadFile

[osg-users] Rendering a scene to a texture and distorted rendering (with shadows)

2011-03-02 Thread Lucie Ringeval
Hi, I have to distort a scene to be consistent with the video that is diplayed behind the scene (basically some augmented reality) and then render everything in an image. I used 2 camera (not slaves) and a texture to distort the scene but the shadows are not rendered that way. I found the only

Re: [osg-users] OSG 2.9.10 on iOS

2011-03-02 Thread Tang Yu
Hi, everyone, i also met the same problem what arsenikal metioned. i could not compile the simpleExample after i uncommented the //USE_OSGPLUGIN(ive). i got the same link errors about ive::Terrain::write and ive::Terrain::read(ive::DataInputStream*). i tried to modify the codes as

Re: [osg-users] PositionAttitudeTransform, geometrical trnasformation issues

2011-03-02 Thread Atilla Selem
Hi , i have a new post regarding for setting osg::cone tip to (0,0,0) and scale my cone base up to a point (x, y, z) but when i create a cone with a center point (0,0,0) , radius = 10, height = 100 it places cone tip at somewhere ~(0, 0, 70) and base ~(0, 0, -30). how can i set up a cone using

Re: [osg-users] Rendering a scene to a texture and distorted rendering (with shadows)

2011-03-02 Thread Lucie Ringeval
Hi, I did some tests since that post and I finally have the distorted texture with the 3D models and shadows. The problem now is that all the graph is distorted: the background (the video) and the scene put on that video. Is there a way to apply that transformation only on a part of the graph

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Mukund Keshav
Thanks again Andreas, im pretty new to OSG. im missing something here. intersect vertically with the terrain and put the resulting terrain heights in an image Now, how does the intersection yield me a heightmap? or a elevation data? If an elevation raster on disk is what you want,

[osg-users] Cannot find dlls during execution of program.

2011-03-02 Thread Joseph Louis
Hello Everyone, I am getting a linker error when I try to execute my programs. I have installed OSG and my current file structure is shown below, along with the environment variables that I have created: 1. OSG_ROOT 1.1 OpenSceneGraph 1.1.1 include

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Robert Osfield
Hi Mukend, On Wed, Mar 2, 2011 at 6:00 PM, Mukund Keshav osgfo...@tevs.eu wrote: Now, how does the intersection yield me a heightmap? or a elevation data? You build yourself a heightmap for a series of height queries. The osgintersection and osgpick example provides and examples of how to do

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Robert Osfield
Hi Mukund, On Wed, Mar 2, 2011 at 7:16 PM, Mukund Keshav osgfo...@tevs.eu wrote: Well, in my application/project, i would want to know the gradients at places, ie how the terrain slope is varying. To do this, won't we need a heightmap? from which we can calculate the varying gradient? You

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Mukund Keshav
You won't need a height map at all :-) Wow! Cool! Was breaking my head over this! il look into them. Thanks a lot! i just looked into osgIntersection. Mukund -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37263#37263

Re: [osg-users] [build] x64 library Dependencies for VC9sp1

2011-03-02 Thread Craig Lane
Hi Torben, Thanks for checking that the download works. I am not sure what is going on with my laptop then. I will try again today on my desktop computer when it gets rebuilt. Which program are you using to uncompress the .7z file? Thanks one again for your assistance. ... Thank you!

Re: [osg-users] Replace Drawable With Actual Geomtry (how to)??

2011-03-02 Thread Sanat Talmaki
The problem with the code was that I was not setting the matrix translation and rotation correctly. I was doing the following which was not working: translateToCenter = Code: osg::Matrix::translate(osg::Vec3(shapefileVertexArray-at(i).x(),

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Buckley, Bob CTR MDA/DES
Wow, seemed to be pretty straight forward stuff to me. And the specs were always through and complete. It's the versioning I had trouble with. SDK available for it, too: http://www.presagis.com/products_services/standards/openflight/ -Original Message- From:

Re: [osg-users] Cannot find dlls during execution of program.

2011-03-02 Thread Joseph Louis
Hi Everyone, I found a work-around for the above problem by copying all the dlls into the System32 folder in Windows. I shall continue working this way until I can figure out what I am doing wrong with my Linker settings. Thank you! Cheers, Joseph -- Read this topic online

Re: [osg-users] Cannot find dlls during execution of program.

2011-03-02 Thread Jean-Sébastien Guay
Hi Joseph, I found a work-around for the above problem by copying all the dlls into the System32 folder in Windows. I shall continue working this way until I can figure out what I am doing wrong with my Linker settings. I really wish people with DLL errors would search the forums/archives,

Re: [osg-users] osgAnimation : correct approach to detect when a skeletal animation has completed ?

2011-03-02 Thread Thomas Hogarth
Hi Adrien I've never actually done this but I have thought about it as I'll need it eventually. I think your best bet is to look at void BasicAnimationManager::update (double time), that is where an animation is played through and were you can detect that an animation is finished. Perhaps you

[osg-users] Need Efficient mesh data structures

2011-03-02 Thread manish Choudhary
Hi, I am looking for an efficient general mesh data structure. Having feature like Generating normal arrays and texture coordinate for model,Parameterization of Triangulated Surface Meshes ; texture mapping and that can easily integrate with OSG. I know some of them like : openMesh

Re: [osg-users] osgAnimation : correct approach to detect when a skeletal animation has completed ?

2011-03-02 Thread Mr Alji
Hello, What about using *isPlaying() *method of your current animation ? does it fulfill your needs ? cheers *--* *Mohamed ALJI* Élève ingénieur en Informatique troisième année à l'ENSEIRB-MATMECA (Institut Polytechnique de Bordeaux - IPB) Webmaster bénévole de l'association L'eau du désert: