Re: [osg-users] Extra workload during first render of a model

2008-02-14 Thread Emilio Lozano
Hi Paul, Thanks for your response. I am using OpenSceneGraph through Delta3D.1.5 (it uses OSG.1.2), therefore using osgProducer instead of osgViewer. Maybe I can force the running of GLObjectsVisitor. I will read osgViewer's code and try to do it by myself. I don't think that this could be a RAM

Re: [osg-users] osgShadow one shot shadow map

2008-02-14 Thread Wojciech Lewandowski
Hi J-S, > Thank you Wojtek, I'll check that out! I'm really very grateful to you > for contributing this. I've been banging my head on this and we're still > on OSG 2.2 here so I didn't think of going to see in the new additions > if there was something that would help me out. You're welcome.

Re: [osg-users] another one - osg and C#

2008-02-14 Thread Serge Lages
Hi Sherman, I've done some C++/C# wrapping some time ago. Here are my advices : - If you just need to call from your C# UI some predefined functions from you C++ code, it's easy. You just need to create a Wrapping DLL which makes the link with your C++ calls. Your C# code will just need to call t

Re: [osg-users] how to read GeoTIFF files using osgdem?

2008-02-14 Thread ümit uzun
ÜMİT UZUN > Date: Wed, 13 Feb 2008 18:40:37 -0800 > From: [EMAIL PROTECTED] > To: osg-users@lists.openscenegraph.org > Subject: Re: [osg-users] how to read GeoTIFF files using osgdem? > > Hi Umit, > > Do you know if osgdem actually look at any of the .prj, .a

[osg-users] Possible bug in the position of the osg::Cone

2008-02-14 Thread Aitor Moreno
Hi osg-users, I am trying to do a very simple application, and when I was required to add some cones, I added a new osg::Cone with the desired parameters. Unfortunatelly, the cone didn't appeared where it was suppossed to. I clean up the code and I copy here a snipset of the code I used and a scr

Re: [osg-users] Tiled textures on osg::Box

2008-02-14 Thread Jean-Sébastien Guay
Hello Frans, > m_osg_shape = new osg::ShapeDrawable( new osg::Box( > osg::Vec3f( 0, 0, -0.005f ), 29.7f, 21.0f, 0.01f ) ); > osg::Image* image = osgDB::readImageFile( "gras.jpg" ); > osg::Texture2D* tex2d = new osg::Texture2D( image ); > tex2d->set

Re: [osg-users] how to read GeoTIFF files using osgdem?

2008-02-14 Thread Robert Osfield
Hi Linh, On Wed, Feb 13, 2008 at 2:42 AM, Linh Phan <[EMAIL PROTECTED]> wrote: > 1. Is the "-d DEM_1m_VictoriaCrater.tif" argument to osgdem all I need > for a GeoTIFF file? Yes, that's all that is required. Your osgdem command line looks just fine so I'm suprised the generated database is wor

[osg-users] osgpick strange behavior

2008-02-14 Thread Carlo Camporesi
Hi OSGUsers, I have found some strange behaviors using osgpick example in latest development revision. When I load a terrain using osgpick It doesn't show anything. If I move away the hud disappeares and the terrain pops up. I have tried to run the instance through vs debugger and I haven't found t

Re: [osg-users] osgpick strange behavior

2008-02-14 Thread Jean-Sébastien Guay
Hello Carlo, > 1 - osgText (osgfreetype plugin): The plugin doesn't free memory > correctly, I think there are a massively memory leak. There is a submission in the queue for a crash on exit related to the freetype plugin. It's not a memory leak, it's a use of a pointer after it's been freed.

Re: [osg-users] osgViewer config files ???

2008-02-14 Thread Robert Osfield
Hi Brian, In OSG-2.2 there is the beginnings of osgViewer config file support, and isn't yet as capable as Producer .cfg files, but it'll end up more general purpose than Producer .cfg as you will eventually be able embed scene graphs in the config files to set up things like distortion correction

Re: [osg-users] trouble with flattening static transforms

2008-02-14 Thread Robert Osfield
Hi Terry, A glatten static transforms that have duplicates shared subgraphs would be a useful addition to osgUtil::Optimizer so if you are willing to tidy up and submit it'd be appreciated. Cheers, Robert. On Thu, Jan 31, 2008 at 9:56 PM, Terry Welsh <[EMAIL PROTECTED]> wrote: > I went ahead and

[osg-users] Back from holidays...

2008-02-14 Thread Robert Osfield
Hi All, I'm now back from my trip to the Cayman Islands, much sailing, snorkeling and family time was enjoyed. 16 days without touching a computer is the longest I've gone for 9 years, and not a single withdraw symptom, just had too fund stuff to distract me :-) You'll be seeing a scattering of

Re: [osg-users] Back from holidays...

2008-02-14 Thread Jeremy Moles
On Thu, 2008-02-14 at 14:35 +, Robert Osfield wrote: > Hi All, > > I'm now back from my trip to the Cayman Islands, much sailing, > snorkeling and family time was enjoyed. 16 days without touching a > computer is the longest I've gone for 9 years, and not a single > withdraw symptom, just ha

Re: [osg-users] another one - osg and C#

2008-02-14 Thread Paul Martz
Hi Sherman -- At my previous employer, we had a C++ app using ZAF, a cross-platform UI toolkit that was no longer supported and kind of buggy. We decided to modernize our app about the time VS2005 came out, and replace ZAF with Windows Forms and C#. The idea was to write an isolated UI that would

Re: [osg-users] Back from holidays...

2008-02-14 Thread Jean-Sébastien Guay
Hi Robert, welcome back! > You'll be seeing a scattering of emails from me today as I slowly make > my way through my email backlog. I'm a bit jet lagged am not fully > functioning so if I write more nonsense than I usually do then put it > down to 5 hour shift in time of day... Please don't ove

Re: [osg-users] osgpick strange behavior

2008-02-14 Thread Carlo Camporesi
Hi Jean, thanks for the reply. I have seen the related submission just now. We have found that there is no correlation between osgText and the disappearing of HUD in osgPick. This strange behavior is caused by the missing of the CoordinateSystem Node in the osgdem generation. Thanks again Carlo 2

[osg-users] HELP: Pick point in Point Cloud

2008-02-14 Thread Samuele Pierattini
Hi all, i am newbie for OSG; my initial goal is write a program to load point could file and pick a point. I tried to use the example osgpick with .3dc file format. The program osgpick reads the file and displays the point cloud but does not select any point. Thanks to those who can help me -- S

Re: [osg-users] HELP: Pick point in Point Cloud

2008-02-14 Thread Adrian Egli OpenSceneGraph (3D)
Hi the osgpick is working on triangles, (if am right). So if you don't have any triangles (or surfce mesh) it doesn't hit any surface area. and points can no be picked because it's not clear how you like to pick a point. so first you have to define how a point can be picked. May you choose the clos

Re: [osg-users] another one - osg and C#

2008-02-14 Thread Brian
Hi Sherman, I have added C# to some existing existing C++ apps. I really don't recommend trying this. We found that wrapping our C++ in COM objects worked best but it took alot time for a small gain. Have you consider using wxWidgets? It has a nicer UI then MFC especially if you use wxAUI, and

Re: [osg-users] Back from holidays...

2008-02-14 Thread Paul Martz
Cayman Islands! We were almost in the same time zone. You should've came out to Colorado for some skiing while you were over in this hemisphere. J=S says: > Please don't overwork yourself trying to get back on track in > a single day... Take it easy for the first few days :-) Second that. I hope

Re: [osg-users] HELP: Pick point in Point Cloud

2008-02-14 Thread Jean-Sébastien Guay
Hello Samuele, > i am newbie for OSG; my initial goal is write a program > to load point could file and pick a point. > I tried to use the example osgpick with .3dc file format. > The program osgpick reads the file and displays the point cloud > but does not select any point. In addition to what

[osg-users] extension for OGR plug-in to handle COLLADA models

2008-02-14 Thread Christoph Ehrler
Dear Cedric Pinson, dear all in the scope of a student research project I developed 2 plug-ins for OGR and OpenSceneGraph to load COLLADA 3d models from KML files and to visualise them with OpenSceneGraph (using the existing dae plug-in). Now I have permission to post my results to the open-sou

Re: [osg-users] ANN: osgPython (SWIG) 2.2.0

2008-02-14 Thread Luigi Calori
Thank you very much... it worked!! either %inline %{ osg::Geode *NodeToGeode2(osg::Node *b) { return dynamic_cast(b); } %} or %extend osg::Node { virtual osg::Geode* asGeode() {return dynamic_cast(self);} }; The Cmake projects worked fine (just some mods to standard FindOSG), I spent

Re: [osg-users] another one - osg and C#

2008-02-14 Thread hesicong2006
Hi, You should try OSG.NET project, but the project does not contains every feature OSG could provide. A much better solution will be use of C++/CLI, this language can create mix native C++ and managed code. The main C# UI design benefit is also contained in C++/CLI. I have use C++/CLI to integ

Re: [osg-users] Back from holidays...

2008-02-14 Thread Robert Osfield
On Thu, Feb 14, 2008 at 4:08 PM, Paul Martz <[EMAIL PROTECTED]> wrote: > Cayman Islands! We were almost in the same time zone. You should've came out > to Colorado for some skiing while you were over in this hemisphere. Skiing in Colorado is a big pull, but... didn't have the clothing for it this

Re: [osg-users] HELP: Pick point in Point Cloud

2008-02-14 Thread Trajce Nikolov
I have done this in the past. All depends of the amount of data you have. If there is not too much of it you can do it with Polytope, otherwise consider using selection buffer. It performs well for point and line picking Nick On Thu, Feb 14, 2008 at 5:52 PM, Jean-Sébastien Guay < [EMAIL PROTECTED

Re: [osg-users] Update scene while moving window

2008-02-14 Thread jw
Hi, you are right, i'm running on Windows platform. Right now i'm converting my application from osgProducer::Viewer to osg::CompositeViewer. Using osgProducer::Viewer it was possible to move the window without any problems. The scene was updated in contrast to osg::CompositeViewer (OSG 2.2).

Re: [osg-users] Update scene while moving window

2008-02-14 Thread Frank Bergmann
Actually, depending on the version of windows that you are running it might also be a windows setting that prevents the window to be redrawn while moving. Have a look at (under XP): Control Panel\System Properties\Advanced\Visual Effects …Settings\Visual Effects In that checked listbox, lo

Re: [osg-users] CompositeViewer remove View with Eventhandler crash

2008-02-14 Thread Steve Schneider
Well I thought I'd post my conclusions on the off chance that someone else wants to build a user interface with OSG, AND is as ignorant as I am about OpenGL and 3D graphics. Let's start off by saying that OSG is a low-level graphics package - quite a good one in my opinion. The expertise

Re: [osg-users] traversal question w/latest developer release-blacknodes

2008-02-14 Thread Mike Weiblen
Hi, Usually try to keep an eye out for shader questions, but this title did not attract my attention. I'm leaving the title unmodified so you'll see this response, but if there's still an open question, pls start a new appropriately-titled thread with the current state of your investigation. Way

Re: [osg-users] traversal question w/latest developer release-blacknodes

2008-02-14 Thread sherman wilcox
mew - Didn't realize there was a potential shader connection till a tad later. Anyway, I spent more time on this yesterday and managed to build a sample app that is much smaller and less complicated than the app I originally found the problem in. There's a bit of propriety code in this sample app -

Re: [osg-users] Possible bug in the position of the osg::Cone

2008-02-14 Thread Aitor Moreno
Hi Mike, all, In fact, before sending the mail to the mailing list, I searched in the code where was the "rendering of the cone" I found it in the ShapeDrawable.cpp >> line 578 (checkout OSG tag 2.2.0) void DrawShapeVisitor::apply(const Cone& cone) ... In that function there is only a glTra