Re: [osg-users] Problem with OSG Particle System

2008-05-19 Thread Ulrich Hertlein
Neusch, Dominik, SDGE1 wrote: I absolutely agree with your suggestion and I modified my application. But when I change the osg::ref_ptr to an osg::Node* it has no effect. I still have the same problem. You mean it still crashes? Have you tried to operate on a copy of the nodepath in stead of mo

Re: [osg-users] Problem with OSG Particle System

2008-05-19 Thread Neusch, Dominik, SDGE1
Hi Ulrich, Thanks for your fast reply. I absolutely agree with your suggestion and I modified my application. But when I change the osg::ref_ptr to an osg::Node* it has no effect. I still have the same problem. Thanks, Dominic -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mail

Re: [osg-users] PSSM segfaulting in cull()?

2008-05-19 Thread Adrian Egli OpenSceneGraph (3D)
Which version are you using the latest SVN, the latest PSSM (see post from friday to yesterday) ? 2008/5/19 Alejandro Segovia <[EMAIL PROTECTED]>: > > On Mon, May 19, 2008 at 6:03 PM, Alejandro Segovia <[EMAIL PROTECTED]> > wrote: > >> Hello List, >> >> I'm having a hard time using PSSM (or anyth

Re: [osg-users] Problem with OSG Particle System

2008-05-19 Thread Ulrich Hertlein
Hi Dominik, it looks like you have a problem with reference counting: { osg::NodePath& fullNodePath = nv->getNodePath(); osg::ref_ptrx = fullNodePath.back(); ... fullNodePath.push_back( x.get() ); } assigns an 'osg::Node*' (from 'getNodePath') to a smart pointer. You later get the poin

[osg-users] Problem with OSG Particle System

2008-05-19 Thread Neusch, Dominik, SDGE1
Hi, I have a problem with the OpenSceneGraph particle system. I read tutorial 17 from the NPS Tutorials by Jason Sullivan ( http://faculty.nps.edu/jasullivan/osgTutorials/osgParticle.htm) and the new summary about loading particle systems from a file ( http://faculty.nps.edu/jasullivan/osgTutor

Re: [osg-users] Compiling for 64 bit Vista with Windows SDK for Windows Server 2008

2008-05-19 Thread Philip Lowman
On Mon, May 19, 2008 at 5:38 PM, Roger Martin <[EMAIL PROTECTED]> wrote: > Hi, > > Trying to use CMake with Windows SDK for Windows Server 2008 on a > Vista 64 bit box. > > Running into the 'NMAKE fatal error: U1065: invalid option j' issue. Could you try to create a simplistic CMakeLists.txt in

Re: [osg-users] Operating Systems + Applications -> Application Systems

2008-05-19 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus Hein wrote: > Hi Zoltan, > > this is good news for me. Probably we all using nvidia adapters under > linux. Has someone tried if Mandriva 2008.spring with fglrx .. ? > I am running the Powerpack edition (not the live CD) and there is no pro

Re: [osg-users] OSG 2.4 problem reading tiffs.

2008-05-19 Thread eheft
To all, It turns out that I was able to compile and link 2.4 and 2.5 , but when I went to run none of the plug ins that depended on the 3rd party libraries were able to load. Looking at the libs using depends made it look like they would load, and finally I tried using LoadLibraryEx() and found a

Re: [osg-users] Uniform value getting overwritten in shader.

2008-05-19 Thread Monteleone, Nathan
Hi Mike, I have a simple repro of this problem. See the attached .osg file. It's a super simple shader that colors an object blue or red depending on a bool uniform. The default state on the parent group sets this uniform to 0, then one of the children overrides it with 1. You'd expect to see

Re: [osg-users] PSSM segfaulting in cull()?

2008-05-19 Thread Alejandro Segovia
On Mon, May 19, 2008 at 6:03 PM, Alejandro Segovia <[EMAIL PROTECTED]> wrote: > Hello List, > > I'm having a hard time using PSSM (or anything besides ShadowTexture for > that matter) to add shadows to my scene. > > I've got some initialization code inspired in the osgshadow example, which > seems

[osg-users] Compiling for 64 bit Vista with Windows SDK for Windows Server 2008

2008-05-19 Thread Roger Martin
Hi, Trying to use CMake with Windows SDK for Windows Server 2008 on a Vista 64 bit box. Running into the 'NMAKE fatal error: U1065: invalid option j' issue. Have property CMAKE_MAKE_PROGRAM=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\nmake.exe where it is located. Have the LIB env

Re: [osg-users] Operating Systems + Applications -> Application Systems

2008-05-19 Thread Markus Hein
Zoltán schrieb: yes. I just did that (Mandriva 2008.spring) I don't know if they download it or if they "cache" the drivers locally on the CD, but you boot the LiveCD and you have 3D (OK, it's quite long to boot). And when you install you still have 3D. I'll try OSG ASAP bye Zoltán

Re: [osg-users] Operating Systems + Applications -> Application Systems

2008-05-19 Thread Markus Hein
Hi Jan, Then I think we are not speaking about the same thing. Of course, if I was to rebuild isos daily, I would look for something else. However, that is not the issue for me - the whole point of making a live CD is to give it away at conferences or to students and such. That doesn't mean it

Re: [osg-users] Operating Systems + Applications -> Application Systems

2008-05-19 Thread Zoltán
Markus Hein wrote on Monday 19 May 2008: > > Mandriva has a good Live distro, even running from a > > USB stick. Another tiny one I am using from a USB key > > is RIPLinux. I didn't try to remaster that one, though. > Mandriva-Live detects your 3D Hardware, is downloading& > installing the right

Re: [osg-users] Operating Systems + Applications -> Application Systems

2008-05-19 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus Hein wrote: > Remastereing an existing Live-CD works good if it contains the current > packages and if you only want to create ONE conrete ISO for your needs, > but if you want to create daily ISO's than I'm afraid you will not save > much time.

[osg-users] PSSM segfaulting in cull()?

2008-05-19 Thread Alejandro Segovia
Hello List, I'm having a hard time using PSSM (or anything besides ShadowTexture for that matter) to add shadows to my scene. I've got some initialization code inspired in the osgshadow example, which seems to work fine when I pass the --NVidea parameter, but when I try the very same technique in

Re: [osg-users] Operating Systems + Applications -> Application Systems

2008-05-19 Thread Markus Hein
Hi Jan, Jan Ciger schrieb: classic Live-CD remastering sounds for me like a time consuming and unflexible approach, but it could work. I do not see why inflexible - there are actually automated tools for this today. Boot the image, change what you need and have the scripts build you a

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-19 Thread Robert Osfield
On Mon, May 19, 2008 at 8:23 PM, Alejandro Segovia <[EMAIL PROTECTED]> wrote: > Any ideas? No ideas. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Operating Systems + Applications -> Application Systems

2008-05-19 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus Hein wrote: > > classic Live-CD remastering sounds for me like a time consuming and > unflexible approach, but it could work. > I do not see why inflexible - there are actually automated tools for this today. Boot the image, change what yo

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-19 Thread Alejandro Segovia
Actually, I've discovered that the tilting effect in NodeTrackerManipulator is actually a "pulsing" effect. For some reason NodeTrackerManipulator never seems to "settle" at a position, providing a view matrix for even frames and another one for uneven frames. Here is a printout of two consecutive

Re: [osg-users] Operating Systems + Applications -> Application Systems

2008-05-19 Thread Markus Hein
Hi All, Perhaps OSG users are already doing this, or are considering. The purpose of this email is to throw this possibility out there, and to get feedback from OSG users who might find such an means of distribution useful. There are members of the community far better placed to actual go ahe

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-19 Thread Alejandro Segovia
Hi Robert, thanks for you quick reply :) I ran the osgsimulation example not only did it run fine, but also gave me an idea of what I was doing wrong. I was calling setNode instead of setTrackNode, so the manipulator was trying to track an invalid node and that caused the segfault. Perhaps a sani

Re: [osg-users] Uniform value getting overwritten in shader.

2008-05-19 Thread Dorosky, Christopher G
Mike, Run with osgviewer, the glsl example works. The problem with that example is that it creates new geometry and doesn't reuse it. My model has two parents (MatrixTransforms), A & B. These parents share the same shader, but have different statesets. "A" has a stateset setting a new uniform M

[osg-users] virtual shadow

2008-05-19 Thread Zoltán
Hello, for my flight simulator in R-C mode, I have a panorama scenery (a 6-faced cube with images) and the aircraft flying inside. The faces are far away and the pilot is always in the centre. The ground is a horizontal plane at z=0, but I have no visual altitude reference, and a shadow would

Re: [osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-19 Thread Robert Osfield
Hi Alejandro, I haven't heard of NodeTrackManipulator sef faulting before, so this is a new one, I'd guess it would most likely be a usage issue, but perhaps you have uncovered a bug in the manipulator. First thing to test would be to run the osgsimulation example to see if that runs stable. Nex

[osg-users] Purpose of DataSetLayer in GDAL plugin

2008-05-19 Thread Jason Beverage
Hi Robert, I was looking through the GDAL plugin and saw the DatasetLayer class and was wondering what it is intended for. I'm looking through the code and can't get my head around it. I was trying to think of a way to have VPB generate a paged database that simply references the orginal imagey a

[osg-users] NodeTrackedManipulator constantly segfaulting

2008-05-19 Thread Alejandro Segovia
Hello all, I'm trying to use osgGA::NodeTrackerManipulator to try to get a camera to follow a node as it moves around the scene, with very little success. After setting up the manipulator and setting the node it has to track, I get a segmentation fault when I call the getInverseMatrix method on it

Re: [osg-users] How to make the camera rotation not "spin" when it is dragged quickly with the mouse

2008-05-19 Thread Robert Osfield
Hi Matthew, If you release the mouse button while moving the mouse then the Trackball and TerrainManipulators will interpret this as a throw. So users find this really natural, others find it awkward to get used to. Right now there isn't any options built into the these manipulators for switchi

Re: [osg-users] FBO and AntiAliasing

2008-05-19 Thread Robert Osfield
On Mon, May 19, 2008 at 3:01 PM, hesicong2006 <[EMAIL PROTECTED]> wrote: > Hi, Robert, > As you know, I'm current doing volume rendering work. Currently I've done a > GPU voxelization using FBO but the sawtooth of the images greatly affects > the result. So I'm very expecting FBO with anti-aliasing

Re: [osg-users] Strategy for implementing dynamic vertical exaggeration of VPB models.

2008-05-19 Thread Robert Osfield
Hi John, VPB builds purely static databases that are stored on disk to be later loaded by the runtime that visualizes it. Since you want to vary the vertical exaggeration at runtime then the solution will have to be entirely on the OSG side, VPB actually has little to do with the actual implement

[osg-users] How to make the camera rotation not "spin" when it is dragged quickly with the mouse

2008-05-19 Thread Matthew . Little
Hi, using the default camera mouse controls. Left click and drag rotates the camera, but you can kinda "throw" the camera if you drag and release quickly. Can I get some advice on how to prevent that? I guess can anyone tell me which "GUIEventHandler" does the viewer default to...is it Trackball

Re: [osg-users] Parallel Split Shadow Map (Update)

2008-05-19 Thread Adrian Egli OpenSceneGraph (3D)
this version isn't working, well. so the last version is working. you have an issue with suse linux. they don't really support glsl shaders. ! 2008/5/19 Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]>: > please retest > > > > test with: > export OSG_Window="" > osgshadow --pssm --SingleTh

Re: [osg-users] HUD picking problem

2008-05-19 Thread Alejandro Segovia
Hello David, I'm by no means an expert in OSG, since I've been using it just for a couple of months and haven't read the whole code yet, but I do have an application with picking and can give you some insights from my experience. hud_camera->setProjectionMatrix(osg::Matrix::ortho2D(0,1280,0,1024)

[osg-users] HUD picking problem

2008-05-19 Thread David _
I know this problem has been posted some times, but i can´t find a solution right now i have a HUD which it´s made by rendering the subgraph of a camera node. these are the main lines to set the hud camera hud_camera->setProjectionMatrix(osg::Matrix::ortho2D(0,1280,0,1024)); hud_camera->setRe

Re: [osg-users] vpb/osgdem textures in different layers blending.

2008-05-19 Thread Sewell, Kenneth R Civ USAF AFMC AFRL/RYZW
Oops. My shader wasn't being loaded properly, fixed that and now the layers are behaving as expected. Ken. -Original Message- When using vpb or osgdem and using the --layer options, I expected the layers to be assigned to different texture units. However when I generate the terrain the

[osg-users] vpb/osgdem textures in different layers blending.

2008-05-19 Thread Sewell, Kenneth R Civ USAF AFMC AFRL/RYZW
When using vpb or osgdem and using the --layer options, I expected the layers to be assigned to different texture units. However when I generate the terrain the layers seem to be blended 50/50 and stored as one texture. Is this a bug or am I not understanding what osgdem is referring to as a lay

Re: [osg-users] FBO and AntiAliasing

2008-05-19 Thread hesicong2006
osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3108 (20080519) __ The mess

[osg-users] Strategy for implementing dynamic vertical exaggeration of VPB models.

2008-05-19 Thread John Vidar Larring
Hi, When creating globes with VPB one can use the option -v (vertical multiplier) to set permanent vertical exaggeration for the generated model. However, in our software solution the user must be able to set vertical exaggeration from the GUI (i.e. dynamically alter vertical exaggeration).

Re: [osg-users] FBO and AntiAliasing

2008-05-19 Thread Robert Osfield
Hi Paul, On Mon, May 19, 2008 at 12:51 PM, <[EMAIL PROTECTED]> wrote: >>The OSG's FBO implementation doesn't yet support anti-aliasing, but it >>shouldn't be difficult extension to add support for. I do have this >>on my TODO list, just unfortunately quite within grasp as I've been so >>swamped

[osg-users] FBO and AntiAliasing

2008-05-19 Thread paul1492
>From: Robert Osfield robert.osfield at gmail.com >Date: Fri Jan 25 01:47:48 PST 2008 > >Hi Stephane, >The OSG's FBO implementation doesn't yet support anti-aliasing, but it >shouldn't be difficult extension to add support for.  I do have this >on my TODO list, just unfortunately quite within gra

Re: [osg-users] Hints on Python wrappers (was osgPython (SWIG) 2.2.0)

2008-05-19 Thread Gerwin de Haan
Luigi, here's my delayed reply to OSG/Python wrapping: Your questions: 1) opinions on which route to go for wrapping, (know there are wrappers based on introspection, I' ve tried to use them but found few examples) g>As a python user (and a bit maintainer) of osgswig I am biased towards the swigge

Re: [osg-users] Parallel Split Shadow Map (Update)

2008-05-19 Thread Zoltán
Adrian Egli OpenSceneGraph (3D) wrote on Monday 19 May 2008: > please retest > > test with: > export OSG_Window="" > osgshadow --pssm --SingleThreaded same... I'll try with another Linux. Will take some time bye Zoltán > 2008/5/19 Zoltán <[EMAIL PROTECTED]>: > > Adrian Egli wrote on Sunda

Re: [osg-users] Parallel Split Shadow Map (Update)

2008-05-19 Thread Zoltán
Zoltán wrote on Monday 19 May 2008: > Adrian Egli wrote on Sunday 18 May 2008: > > ready to check in. please test > The ShadowTexture (--st) is the only shadow technique > that works on my system (Linux openSuSE 10.3, ATI-X300 > with proprietary fglrx driver), but this worked the same > with 2.3.4

Re: [osg-users] traverse

2008-05-19 Thread Robert Osfield
Hi Valery, Geode's are meant to be leaf nodes, so are no intended to have children other than drawables - which is why traverse() isn't appropriate in this case. If you do want to customize behaviour then could implement override the Geode::accept() method, this is called before the NodeVisitor::

Re: [osg-users] traverse

2008-05-19 Thread Валерий Быков
Thanks a lot for explanation to you and Артём, but my class is derived from Geode, therefore osgUtil::UpdateVisitor::apply(Geode&) calls handle_geode_callbacks(osg::Geode& geode), which doesn't call traverse anyway: // should we traverse just in case a subclass of Geode adds children?? Won't for no

Re: [osg-users] Parallel Split Shadow Map (Update)

2008-05-19 Thread Zoltán
Adrian Egli OpenSceneGraph (3D) wrote on Sunday 18 May 2008: > ready to check in. please test Hi Adrian, I downloaded OSG 2.4.0 and replaced the 3 files: osgshadow.cpp ParallelSplitShadowMap ParallelSplitShadowMap.cpp by what you provided. In short, it doesn't work for me :-( The ShadowTexture

Re: [osg-users] traverse

2008-05-19 Thread Robert Osfield
Opps... 2008/5/19 Robert Osfield <[EMAIL PROTECTED]>: > For an example of this have a look at the implementation of the Switch > node - src/osg/Switch.cpp. I'm meant to write osg::Sequence, rather than Switch, so you'll want to look at src/osg/Sequence.cpp. Robert. __

Re: [osg-users] traverse

2008-05-19 Thread Robert Osfield
HI Valary, The update and event traversals both have use a mechanism that stops traversal when no children of a node contain any nodes that requiring traversing. This feature is key to maintain good performance on very large databases, without it the update/event traversals would take dozens of

Re: [osg-users] traverse

2008-05-19 Thread Art Tevs
Hi Валерa, As in my case, I always do just call setNumChildrenRequiringUpdateTraversal(1) somewhere during the initialization phase and this do force using update traversals. Just call it in the constructor of your MyClass class and this is fine. Best regards, Art (Артём) --- Валерий Быков <[

[osg-users] traverse

2008-05-19 Thread Валерий Быков
Hi all. I have a question why Node::traverse(NodeVisitor&) doesn't called with NodeVisitor of type UPDATE_VISITOR? I have a class derived from Geode and I remoulded function traverse(NodeVisitor&) for some update operations: void MyClass::traverse(osg::NodeVisitor& nv) { if (nv.getVisitor