Re: [osg-users] FPS Motion Model

2008-08-12 Thread Jason Daly
Robert Osfield wrote: Hi Judd, The OSG just adapts the windowing systems provided mouse xy values, and as such is limited to the clapping that happens due to the windowing systems. Getting the delta moyse xy isn't supported, and personaly I don't know how one would go about getting this extra i

Re: [osg-users] Has something changed regarding some of the plugin builds (the net plugin in particular) that might affect a Cygwin/Windows build

2008-08-12 Thread Brian Keener
Robert Osfield wrote: > As JS mentioned the net plugin has been deprecated, and just before > 2.6 was moved out into the deprecated section of the OSG svn > repository, alongside the original OpenFlight plugin, this means that > the .net plugin isn't part of 2.6 nor svn trunk. > > Could you try OS

Re: [osg-users] VPB for osg 2.4

2008-08-12 Thread Ralf Stokholm
Hi again Yea, i just went over the latest release branch on delta3d, and it seams like they have indeed made the change to osg 2.6 ... Im so sry i didnt bother to do this first. My only apology is that there was a series of postings on the delta3d forum a while back surgesting that making the sw

Re: [osg-users] VPB for osg 2.4

2008-08-12 Thread Robert Osfield
Hi Ralf, It should be straight forward to recompile Delta3D against OSG 2.6, while it's isn't binary compatible with OSG 2.4 the API is very close and shouldn't introduce any porting issues. Robert. On Tue, Aug 12, 2008 at 9:19 PM, Ralf Stokholm <[EMAIL PROTECTED]> wrote: > Hi Robert > > Thanks

Re: [osg-users] VPB for osg 2.4

2008-08-12 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Ralf, I'm using VPB 0.9.7 with OSG 2.4 on Windows XP SP2. Other than the performance issues Robert pointed out on Windows, I'm having good success. An example command I'm using is: osgdem --TERRAIN --PagedLOD --geocentric -t texture/w113 -d dted/w113 -l 8 -o terrain/terraintiles.ive Hope this

Re: [osg-users] VPB for osg 2.4

2008-08-12 Thread Ralf Stokholm
Hi Robert Thanks for the promt answer. im afraid I cant upgrade to osg 2.6 right now, we are using delta3d and it is currently constrained to 2.4. I could try building using the latest tagged VPB 0.9.7 with OSG 2.3.6 would a dataset created with this combination work with osg 2.4? Brgs. Ralf 20

Re: [osg-users] Outlines using Stencil Buffer

2008-08-12 Thread Robert Osfield
Hi Chris, In OSG-2.6 the osg::Camera and associate rendering setup code in the rendering backend provide support for controlling the clearing of colour, depth and stencil buffers. You could use this to do your multipass technique by decorating the phase you want to control with a Camera that sets

Re: [osg-users] VPB for osg 2.4

2008-08-12 Thread Robert Osfield
On Tue, Aug 12, 2008 at 8:54 PM, Ralf Stokholm <[EMAIL PROTECTED]> wrote: > Hi All > > Anyone having succes with a specific version of VPB for osg 2.4? I didn't tag a specific version of VPB for use with OSG. VPB is still in beta. I have to recommend using VPB svn trunk against OSG 2.6 for best

Re: [osg-users] FPS Motion Model

2008-08-12 Thread Robert Osfield
Hi Judd, The OSG just adapts the windowing systems provided mouse xy values, and as such is limited to the clapping that happens due to the windowing systems. Getting the delta moyse xy isn't supported, and personaly I don't know how one would go about getting this extra info from the various win

[osg-users] Outlines using Stencil Buffer

2008-08-12 Thread Chris Glasnapp
Hello, This is my first post, so please forgive any breech of etiquette. I'm trying to use stencil buffers to achieve outlines around my objects, as described in the following article: http://www.codeproject.com/KB/openGL/Outline_Mode.aspx I want to be able to display the outlines of objects reg

Re: [osg-users] Has something changed regarding some of the plugin builds (the net plugin in particular) that might affect a Cygwin/Windows build

2008-08-12 Thread Robert Osfield
HI Brian, Good to hear things moving forward with Cygwin stability. As JS mentioned the net plugin has been deprecated, and just before 2.6 was moved out into the deprecated section of the OSG svn repository, alongside the original OpenFlight plugin, this means that the .net plugin isn't part of

[osg-users] VPB for osg 2.4

2008-08-12 Thread Ralf Stokholm
Hi All Anyone having succes with a specific version of VPB for osg 2.4? Im building on windowsXP using vpbmaster and it seams to start out fine but then stops loading the processors and uses a huge amount of memmory. It dosent really seam to stop again. Brgs. Ralf Stokholm Arenalogic _

Re: [osg-users] Render capability checking, is this a good way?

2008-08-12 Thread Robert Osfield
HI Viggo, I'd suggest rather than have a high level loop, you just place the tests for all levels right in side your "myTestSupportOperationClass", and then just query this after the realize to see what capabilities you have. Robert. On Fri, Aug 8, 2008 at 11:50 AM, Viggo Løvli <[EMAIL PROTECTED

Re: [osg-users] Mouse motion models across multiple viewports

2008-08-12 Thread Robert Osfield
Hi Bob, osgViewer does try to cope with multiple camera/window configurations by projecting the local window coordinates into view coordinates - normally this is enough to ensure consistent mouse values on mulitpipe systems. For a dome it could get a bit more tricky, and it wouldn't certainly be

Re: [osg-users] FPS Motion Model

2008-08-12 Thread Judd Tracy
The problem is that through osg there is no way to get the raw mouse values. In normal mouse mode you can get the x, y and the delta values but once you move the mouse to the extent of the window we no longer get deltas even though we move the mouse. The quick and dirty solution is to recente

Re: [osg-users] usb joystick in openscenegraph

2008-08-12 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mike (and Joe), Mike Connell wrote: | Hi, | | I was in the same position this summer. Previously I'd used SDL for a | gamepad, but now needed to resurrect that code and redo it for a | wheel+pedals. | | I looked at vrpn but failed to really grok

Re: [osg-users] Subsscription error on OSG lists

2008-08-12 Thread Robert Osfield
Hi Gordon, I could send you email along to Dreamhost support, but I'd guess they'd find it useful to know more about how you want about trying to subscribe. Also did the subscriptions succeed? Does it still not work right now? Robert. On Tue, Aug 12, 2008 at 4:25 PM, Gordon Tomlinson <[EMAIL P

Re: [osg-users] Creating a black object (strip everything, light, color)

2008-08-12 Thread Robert Osfield
Hi Sam, The OSG just passes data along to OpenGL so its usual to get a ground in how the OpenGL pipeline computes vertex colours using the lighting model/vertex colours, once you get your head around it you'll probably be able to pinpoint what is happening i..e why you are getting grey. You haven'

Re: [osg-users] LineSegmentIntersector does not work with Billboards

2008-08-12 Thread Robert Osfield
Hi Judd, I've just tried osgpick lz.osg And zooming into the trees and attempting picking is showing no intersections results where I'd expect. Reviewing the relevent code in IntersectionVisitor.cpp suggests that there is no special code for handling the local model transforms that are requir

Re: [osg-users] FPS Motion Model

2008-08-12 Thread Robert Osfield
Hi Brad, Recentering the mouse on every frame or event seems like a real overkill. I'd suggest you develop a manipulator that doesn't require this. Robert. On Mon, Aug 11, 2008 at 3:51 PM, Anderegg, Bradley G <[EMAIL PROTECTED]> wrote: > Hi, > > > > I am trying to make an FPS style motion model

Re: [osg-users] OpenSceneGraph in Maya view port

2008-08-12 Thread Robert Osfield
Hi Nicholoas, I haven't any experience with using Maya let alone MViewportRenderer, but add this in shouldn't be difficult - have a look at the GraphicsWindowEmbedded feature in osgViewer as a means of quickly integrating OSG rendering, see the osgsdl and osgglut examples to see how this is used.

Re: [osg-users] Seeking help in understanding HEADLIGHT light...

2008-08-12 Thread Robert Osfield
Hi Neil, The Viewer has a default Light, setup so that it's an infinite light coming from behind the eye point. The methods for controlling the Viewers light can be found in osg::View, so have a look at include/osg/View. Please note that you can switch off this default light, and adjust its sett

Re: [osg-users] DAE to OSG/IVE conversion problem when vertex are shared (OSG 2.4)

2008-08-12 Thread Robert Osfield
Hi Fabien, I suspect there is a couple of issues here. First up .ive doesn't support sharing of vertex arrays, it's not a particular common need which is probably why no one else has highlighted this requirement or step forward to implement. Adding won't be particularly difficult as sharing of N

Re: [osg-users] usb joystick in openscenegraph

2008-08-12 Thread Mike Connell
Hi, I was in the same position this summer. Previously I'd used SDL for a gamepad, but now needed to resurrect that code and redo it for a wheel+pedals. I looked at vrpn but failed to really grok it. In the same time it took me to bash my head against the vrpn examples, I wrote the sdl code.

Re: [osg-users] Offline rendering

2008-08-12 Thread Robert Osfield
Hi Sam, For just off screen rendering, and no other windowing, you can use pbuffer, see the osgscreencapture example in 2.6 for guidance. If you have a graphics context already then using a FBO will be just fine - for this see osgprerender. Robert. On Thu, Aug 7, 2008 at 10:41 AM, Sam <[EMAIL

[osg-users] usb joystick in openscenegraph

2008-08-12 Thread Joe Lyga
I'm interested in using a usb joystick and/or wheel with openscenegraph. They're both usb human interface devices. Has anyone done any work with usb human interface devices in openscenegraph, or used usb gamepads, joysticks, or wheels as inputs? I've heard about a few solutions, including "Object

Re: [osg-users] Picking and Using Selection

2008-08-12 Thread Robert Osfield
On Thu, Aug 7, 2008 at 2:10 PM, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote: > As for GL_SELECTION, I don't know why it's not offered as an alternative in > OSG, but I'm sure there's a good reason. GL_SELECTION is a really poor way to do picking, it requires a round trip to the graphics card whi

Re: [osg-users] render to pixelbuffer, compute average cam image

2008-08-12 Thread Robert Osfield
Hi Fabian, Creating a pbuffer or fbo is straight forward, have a look at the osgprerender and osgscreencaptures for various takes on doing this. Robert. On Thu, Aug 7, 2008 at 10:58 AM, Fabian Bützow <[EMAIL PROTECTED]> wrote: > Hello everybody, > > 1) im new to osg, hello ;) > > 2) i want to co

Re: [osg-users] osg sequence timing

2008-08-12 Thread Robert Osfield
Hi Max, Stopping the frame loop and restarting it without explictly adjusting the simulation time to account for your frameloop stop is something that I'd expect to cause problems - I also can't see how the OSG could automatically catch this particular usage model. Robert. On Thu, Aug 7, 2008 at

Re: [osg-users] osg sequence timing

2008-08-12 Thread Robert Osfield
Hi Max, Stopping the frame loop and restarting it without explictly adjusting the simulation time to account for your frameloop stop is something that I'd expect to cause problems - I also can't see how the OSG could automatically catch this particular usage model. Robert. On Thu, Aug 7, 2008 at

[osg-users] Subsscription error on OSG lists

2008-08-12 Thread Gordon Tomlinson
Hi Robert Trying to subscribe with our new work email http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org But get the folling: Bug in Mailman version 2.1.11 We're sorry, we hit a bug! Please inform the webmaster for this site of this problem. Printing of traceback and ot

Re: [osg-users] OSG Training, Austin, Texas, Oct 13-16

2008-08-12 Thread Paul Martz
Hi everyone -- Please note that Bob and I are changing the dates for our OSG courses in Austin, TX. The courses will be held two weeks later, October 27-30, 2008. Please visit http://www.skew-matrix.com/training.asp to register online and obtain the la

Re: [osg-users] shader or effect to show selected model

2008-08-12 Thread Fuesz, Matthew
Color "overlays" are fairly simple. A one-line fragment shader: gl_FragColor = gl_Color * color_uniform; Where color_uniform is a vec4 uniform specifying RGBA color. This is the simplest of cases, of course. If you have other lighting or texturing going on, you would also need to account for th

Re: [osg-users] shader or effect to show selected model

2008-08-12 Thread Morné Pistorius
I did have a look at osgScribe before posting, but overlaying the wireframe is a bit heavy for models with very high polygon counts. I was looking for something a bit more subtle. Cheers, Morne On Tue, Aug 12, 2008 at 12:13 PM, Paul Melis <[EMAIL PROTECTED]> wrote: > Morné Pistorius wrote: >> >>

Re: [osg-users] I have a question about osgParticle::Particle.

2008-08-12 Thread GMD GammerMaxyandex.ru
ok. class BaseParticle { public: osgParticle::Particle *ptemplate; osgParticle::ParticleSystem *ps; osgParticle::ModularEmitter *emitter; osgParticle::RandomRateCounter *rrc; osgParticle::ParticleSyste

Re: [osg-users] shader or effect to show selected model

2008-08-12 Thread Paul Melis
Morné Pistorius wrote: Hi everybody, I am looking for a bit of inspiration. I want to apply some sort of effect to a picked model in my scene to show that it has been selected. Does anyone have some ideas (or an example shader or code snippet would be excellent!) that they are willing to thro

[osg-users] shader or effect to show selected model

2008-08-12 Thread Morné Pistorius
Hi everybody, I am looking for a bit of inspiration. I want to apply some sort of effect to a picked model in my scene to show that it has been selected. Does anyone have some ideas (or an example shader or code snippet would be excellent!) that they are willing to throw my way? Ideally I would

Re: [osg-users] please give your opinion on "plugins reading from a virtual file system"

2008-08-12 Thread Serge Lages
Hi Boto, On Mon, Aug 11, 2008 at 9:42 PM, Botorabi <[EMAIL PROTECTED]> wrote: > hi Serge and Jean-Sébastien, > > if i got you right, you suggest to implement a kind of proxy plugin > associated with a particular file extension which would make use of existing > plugins in order to load different

Re: [osg-users] please give your opinion on "plugins reading from a virtual file system"

2008-08-12 Thread Paul Melis
Jean-Sébastien Guay wrote: Hello Boto, if i got you right, you suggest to implement a kind of proxy plugin associated with a particular file extension which would make use of existing plugins in order to load different file formats. Right, I only suggest it because: * It requires minimal (o

Re: [osg-users] please give your opinion on "plugins reading from a virtual file system"

2008-08-12 Thread Jean-Sébastien Guay
Hello Boto, if i got you right, you suggest to implement a kind of proxy plugin associated with a particular file extension which would make use of existing plugins in order to load different file formats. Right, I only suggest it because: * It requires minimal (or no) changes to the existi