Re: [osg-users] [vpb] Multiple maps in model with osgdem? (vpb)

2011-09-08 Thread Torben Dannhauer
Hi, if you use VPB and restrict your differnet maps to different levels, be aware of the popping effect if you change your camera position and run into a new map. If you want a smooth transition ( blending) between the different map, look at the osgmultitexturecontrol example and configure yo

Re: [osg-users] [vpb] Multiple maps in model with osgdem? (vpb)

2011-09-08 Thread Christiansen, Brad
Hi, What you want is possible with VPB by restricting the levels at which the maps are used. I cant remember the options off the top of my head, but you will need to specify each source individually and specify at what levels it should be used. From memory, the levels are quad tree levels so yo

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Christiansen, Brad
Hi, To run VPB you need in your path: the osg dlls, vpb.dll, gdals dll. I am responsible for the 3rd party library collection you are using and can confirm that this includes all you need to compile and run VPB and OSG from source, using the latest version (atleast as of a few weeks ago when I

Re: [osg-users] [vpb] Multiple maps in model with osgdem? (vpb)

2011-09-08 Thread Martin Naylor
Hi, I believe it may be possible with vpb. But you may want to take a look at osgearth, it has some features you need such fade in between layers. My knowledge on the two is minimal, but it may help? Regards Martin Naylor -Original Message- From: osg-users-boun...@lists.openscenegraph.or

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Chris 'Xenon' Hanson
On 9/8/2011 3:16 PM, Ethan Fahy wrote: > You mention that there are VPB 3rd part dependencies; is this a download > package that I missed? I don't see any reference to it on the VPB website or > in the VPB source code... I mean, just GDAL and such. You're really posting very vague response

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
You mention that there are VPB 3rd part dependencies; is this a download package that I missed? I don't see any reference to it on the VPB website or in the VPB source code... -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42550#42550 __

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Chris 'Xenon' Hanson
On 9/8/2011 2:12 PM, Ethan Fahy wrote: > OK, I figured out that the last error I had mentioned was due to the fact > that the default installation directory for VPB was set to C:\Program > Files\VIRTUALPLANETBUILDER but you need admin privileges to write to Program > Files. I rebuilt the projec

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
OK, I figured out that the last error I had mentioned was due to the fact that the default installation directory for VPB was set to C:\Program Files\VIRTUALPLANETBUILDER but you need admin privileges to write to Program Files. I rebuilt the project and set the installation directory to a diffe

Re: [osg-users] OSG on iOS

2011-09-08 Thread Stephan Huber
Am 08.09.11 16:10, schrieb Tobias Weißhaar: > But its quite hard to have a complete overview about the OpenGLES API and the > OSG API to avoid these mistakes or? there's some documentation about the differences (http://www.khronos.org/registry/gles/specs/1.1/es_cm_spec_1.1.12.pdf) but it's afaik

Re: [osg-users] Problems with computeIntersections

2011-09-08 Thread Chris Denham
I'm not 100% sure, but I think I remember we had an odd problem with our qt osg integration where we had to reverse the 'y' direction of the event, so that may be worth a try. Also, I don't think it's unusual to get two intersections for one geometry if it's a closed convex shape because the ray

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Chris 'Xenon' Hanson
On 9/8/2011 8:36 AM, Ethan Fahy wrote: > To try to isolate the problem further, I downloaded several GDAL precompiled > distributions from this site: > http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries > including: > http://www.gisinternals.com/sdk/ > and > OSGeo4W > With each GDAL version,

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
In the interest of documenting this issue thoroughly, here's what I did: In MSVC2010, I right-clicked the "vpb" project and went to:properties\Configuration Properties\Linker\Command Line and added /FORCE:MULTIPLE in the "Additional Options" field. I did this for both the debug and release modes

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Mattias Helsing
Hi Ethan, There's a semicolon to much in here: > Error 1 error LNK1181: cannot open input file ';/FORCE:MULTIPLE.obj' > C:\Users\efahy\AER\GEMS\Scene\VirtualPlanetBuilder\build\src\vpb\LINK vpb ^ ...don't kn

Re: [osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2011-09-08 Thread Sanat Talmaki
Hi Wang, Sorry for my late response. I was away for sometime. Your catch was perfect. It was erroneous data that was causing it. I made the necessary changes to the source data and it works for the osg formats as well. Thanks for your clear explanation of why it was not working for osg with the

Re: [osg-users] Multitexturing and Disabling light

2011-09-08 Thread Sergey Polischuk
Hi, Guillaume. there are two ways possible: 1 - write shader. 2 - two pass render, first pass with disabled lighting, second with depth func = EQUAL, with multiplicative blend (blend func (DST_COLOR, ZERO) or (ZERO, SRC_COLOR) ) and disabled texturing. This way may not work well with transparen

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
To try to isolate the problem further, I downloaded several GDAL precompiled distributions from this site: http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries including: http://www.gisinternals.com/sdk/ and OSGeo4W With each GDAL version, I changed the GDAL_DIR environmental variable and rec

Re: [osg-users] OSG on iOS

2011-09-08 Thread Tobias Weißhaar
Thanks Stephan it works :) But its quite hard to have a complete overview about the OpenGLES API and the OSG API to avoid these mistakes or? Cheers, Tobias -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42538#42538 __

Re: [osg-users] [vpb] Is the VPB 1.0.0 available?

2011-09-08 Thread Ethan Fahy
First, thanks Mattias and Chris for your comments, I really appreciate them. I tried the following based on your tips: 1. installed VS2010 SP1 -> same errors as before 2. inserted the force multiple code block into the CMake file->recreated VPB sln file->different errors on build (both debug a

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-08 Thread Robert Osfield
Hi Boon, On Thu, Sep 8, 2011 at 2:32 PM, Boon Wah wrote: >    I played with a variety of settings like varying LOD in the viewer, > setting bound volume, range during the LOD building process, but is still > unable to achieve my goal. > >    In short, I wanted to aggressive load in new tiles wi

[osg-users] How has been avatar.osg (from 3.0.0 dataset) generated?

2011-09-08 Thread Roberto Garrido
Hi, We are wondering how avatar.osg, which can be found in the 3.0.0 dataset, was generated. Which modeling software and exporter have do you used? We do need animations like avatar's or nathan's!! ;-) Thank you in advance! Cheers, Roberto -- Read this topic online here: htt

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-08 Thread Boon Wah
Hi, I played with a variety of settings like varying LOD in the viewer, setting bound volume, range during the LOD building process, but is still unable to achieve my goal. In short, I wanted to aggressive load in new tiles with the DatabasePager. In this case, I wanted to pre-load the

Re: [osg-users] OSG on iOS

2011-09-08 Thread Stephan Maximilian Huber
Hi, Am 08.09.11 15:14, schrieb Tobias Weißhaar: > I want to develop OSG examples in iOS but OpenGL provides only a sub-set of > OSG. Is this the reason why for example this code doesnt work on the > simulator? : yes > osg::DrawElementsUInt* pyramidFaceOne = new > osg::DrawElementsUInt(osg

[osg-users] OSG on iOS

2011-09-08 Thread Tobias Weißhaar
Hi guys, I want to develop OSG examples in iOS but OpenGL provides only a sub-set of OSG. Is this the reason why for example this code doesnt work on the simulator? : osgViewer::Viewer viewer; osg::Group* root = new osg::Group(); osg::Geode* pyramidGeode = new osg::Geode(); osg::Ge

[osg-users] Multitexturing and Disabling light

2011-09-08 Thread Guillaume Stuber
Hi everyone, I am currently trying to set two textures on a geometry. To mix both textures I use a texEnvCombine with INTERPOLATE. That is how I did that: Code: //Initialize and Set the first texture. osg::Texture2D* tex = new osg::Texture2D(osgDB::readImageFile("im1.jpg")); tex->setFilter(osg

Re: [osg-users] [osgPlugins] VRML plugin: help in compiling

2011-09-08 Thread Robert Milharcic
> -Original Message- > From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users- > boun...@lists.openscenegraph.org] On Behalf Of Paolo Piazzi > Sent: Thursday, September 08, 2011 11:55 AM > To: osg-users@lists.openscenegraph.org > Subject: Re: [osg-users] [osgPlugins] VRML plug

Re: [osg-users] [osgPlugins] VRML plugin: help in compiling

2011-09-08 Thread Paolo Piazzi
rmilh wrote: > > Sorry, I opened snoman.wrl found under sample models in source distribution > and *it does not animate* only static gemoetry is shown . I also tried > orbit3.wrl, still no animation. > So, you can really see the snowman, but there is no animation? rmilh wrote: > > BTW, i

[osg-users] Problems with computeIntersections

2011-09-08 Thread Hartmut Leister
Hello all, I got a problem with osgUtil::computeIntersections(). I wanted to include it in my application (which is nested into the osgviewerQT example). I took the code for picking from the osgpick example. However, when I click on my view, there's the following possibilities - the picked node/

Re: [osg-users] [osgPlugins] VRML plugin: help in compiling

2011-09-08 Thread Robert Milharcic
> -Original Message- > From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users- > boun...@lists.openscenegraph.org] On Behalf Of Paolo Piazzi > Sent: Thursday, September 08, 2011 10:38 AM > To: osg-users@lists.openscenegraph.org > Subject: Re: [osg-users] [osgPlugins] VRML plugi

Re: [osg-users] [osgPlugins] VRML plugin: help in compiling

2011-09-08 Thread Paolo Piazzi
Ryan Pavlik wrote: > > You might want to look at osgART for doing AR with OpenSceneGraph Thank you for the advice. I looked at OsgART some weeks ago, but it was based on ARToolkit, which it is based on openVRML 0.14 and I wasn't able to compile the VRML example! So I decided not to use OSGART

Re: [osg-users] [osgPlugins] VRML plugin: help in compiling

2011-09-08 Thread Paolo Piazzi
rmilh wrote: > > This error indicates that you didn't build vrml97.dll node or the node cannot > be found. The search paths can be put into registry under > HKEY_LOCAL_MACHINE\SOFTWARE\OpenVRML\OpenVRML: > > NodePath ... the path to .dll nodes > Datadir ... data dir must contain component subd

[osg-users] [osgPPU] osgPPU with GLES 2.0 ?

2011-09-08 Thread Alexander Irion
Hello, did anyone try to use osgPPU with GLES 2.0 ? Would it be difficult to do the adaption for ES? Which parts of the library might be affected? Regards, --Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42524#42524 __

Re: [osg-users] PolytopeIntersector usage

2011-09-08 Thread Vincent Bourdier
Hi Peter, Yes this is a nice precision, the euclidian distance will be a second pass to check the intersected results. Thanks a lot :-) Regards, Vincent Le 08/09/2011 10:21, Peter Hrenka a écrit : Hi Vincent, Am 08.09.2011 10:00, schrieb Vincent Bourdier: Hi Peter Le 08/09/2011 09:40,

Re: [osg-users] PolytopeIntersector usage

2011-09-08 Thread Peter Hrenka
Hi Vincent, Am 08.09.2011 10:00, schrieb Vincent Bourdier: > Hi Peter > > Le 08/09/2011 09:40, Peter Hrenka a écrit : >>> The goal is to compute if a point is at less than a fixed distance from >>> a node, and to my mind the intersection is the best way but maybe there >>> is something more adapt

Re: [osg-users] PolytopeIntersector usage

2011-09-08 Thread Vincent Bourdier
Hi Peter Le 08/09/2011 09:40, Peter Hrenka a écrit : The goal is to compute if a point is at less than a fixed distance from a node, and to my mind the intersection is the best way but maybe there is something more adapted ? I think that should be possible. I would recommend using a cube which

Re: [osg-users] PolytopeIntersector usage

2011-09-08 Thread Peter Hrenka
Hi Vincent, Am 08.09.2011 08:51, schrieb Vincent Bourdier: > Hi all, > > I'm currently trying to compute an intersection between a sphere and a > node. > PolytopeIntersector seems to be the best choice according to the > documentation, but I didn't find any example of implementation. Have a look

Re: [osg-users] [build] iPad Simulator crashes when trying to run a simple example

2011-09-08 Thread Stephan Huber
Hi Tobias, I don't know why your app crashes in the simulator, can you try to debug the example? From the console-output there seems to be a valid viewer-object, so adding a camera manipulator should work. Most likely there's a discrepancy in project- / compiler-settings, please double-check that

Re: [osg-users] iOS: wireframe

2011-09-08 Thread Alessandro Terenzi
I think it could be useful in many other scenarios, regarding the current one, at last, requirements changed so I had not to use wireframe anymore. If you don't mind it would be great to have the chance to try it. By the way, is your implementation intended for GLES? Thanks. Alessandro On Fri,