Re: [osg-users] Interest in DirectShow plugin for OpenSceneGraph?

2008-11-23 Thread Robert Osfield
Hi Jason, On Sat, Nov 22, 2008 at 11:06 PM, Jason Beverage <[EMAIL PROTECTED]> wrote: > We're currently developing a DirectShow plugin for OpenSceneGraph and I > wanted to see if there was anyone else in the community that would be > interested in this capability. I'm no windows user, but I can't

Re: [osg-users] Interest in DirectShow plugin for OpenSceneGraph?

2008-11-23 Thread Janusz
Jason: Will that be open-sourced? Janusz Robert Osfield pisze: Hi Jason, On Sat, Nov 22, 2008 at 11:06 PM, Jason Beverage <[EMAIL PROTECTED]> wrote: We're currently developing a DirectShow plugin for OpenSceneGraph and I wanted to see if there was anyone else in the community that would be

Re: [osg-users] osgviewerWX not displaying obj files on linux

2008-11-23 Thread Robert Osfield
On Sun, Nov 23, 2008 at 10:23 AM, <[EMAIL PROTECTED]> wrote: >> Could you try the svn version of the OSG as this has a fix in the >> parser that avoids local issues with atof/atoi. >> > With the svn version of osgviewerWX i get the same behaviour: obj files are > loaded but not displayed. Ahh...

[osg-users] Effects of locale setting

2008-11-23 Thread Robert Osfield
Hi All, In response to problems with the obj loader when the c local is set to one that use comma for the decimal place (same problem previously affected the .osg) I have begun make the custom atof function I wrote for the .osg plugin as public function of osgDB so it could be used else where. T

Re: [osg-users] osgviewerWX not displaying obj files on linux

2008-11-23 Thread michael77
> Could you try the svn version of the OSG as this has a fix in the > parser that avoids local issues with atof/atoi. > With the svn version of osgviewerWX i get the same behaviour: obj files are loaded but not displayed. Michael ___ osg-users mailing li

[osg-users] How to get osg_ViewMatrix correctly in a shader?

2008-11-23 Thread Erik Hebisch
Hello all, I'm having a problem with the builtin uniform osg_ViewMatrix, in that it doesn't seem to be what I expect. Here's what I want to do: - I have a planar surface (made out of a lot of adjacent quads) that I want to distort so that it looks like a sphere; only from a fixed positio

[osg-users] CUDA and osg (+osgPPU)

2008-11-23 Thread Art Tevs
Hi folks, currently I need cuda functionality in my application. Because cuda is just another type of shader (how I like to say, not seriously :) ), I would like to include it into osgPPU. So that we could use cuda and normal shaders inside of osgPPU and hence inside of osg. My question is: D

Re: [osg-users] Effects of locale setting

2008-11-23 Thread michael77
Selon Robert Osfield <[EMAIL PROTECTED]>: > So... could users who's machine are set up for a locale that uses the > command convention for decimal places please post what results they > get for the OpenGL version string, and what the OSG parses this string > to be (i.e. the result of osg::getGLVer

Re: [osg-users] CUDA and osg (+osgPPU)

2008-11-23 Thread Robert Osfield
Hi Art, I have used of even read detailed docs on CUDA yet, but my inclination would be to map CUDA to a graphics context rather than have a singleton, or if a single CUDA context can map to multiple contexts then for it to be assigned to the GraphicsContext that you want to associate it with, but

Re: [osg-users] Effects of locale setting

2008-11-23 Thread Robert Osfield
Hi Micahael. On Sun, Nov 23, 2008 at 3:20 PM, <[EMAIL PROTECTED]> wrote: > Selon Robert Osfield <[EMAIL PROTECTED]>: > >> So... could users who's machine are set up for a locale that uses the >> command convention for decimal places please post what results they >> get for the OpenGL version stri

Re: [osg-users] CUDA and osg (+osgPPU)

2008-11-23 Thread Art Tevs
sorry last mail got to wrong direction, argghh :( Hi Robert, > I have used of even read detailed docs on CUDA yet, but my > inclination > would be to map CUDA to a graphics context rather than have > a > singleton, > Of course, this is also what I was thought about. The problem is that it requi

[osg-users] Getting a value calculated by a GLSL shader once per frame.

2008-11-23 Thread Chris Denham
I have been trying to work out how/if you can use a shader to compute a value (once per frame) and use that value as a constant in the shader for the rest of the frame. For example, I want to use a shader to find the minimum value in a texture once at the beginning of a each frame, then use th

Re: [osg-users] CUDA and osg (+osgPPU)

2008-11-23 Thread Robert Osfield
Hi Art, On Sun, Nov 23, 2008 at 4:15 PM, Art Tevs <[EMAIL PROTECTED]> wrote: >> or if a single CUDA context can map to multiple >> contexts >> > I think it cannot, or just cannot in the current version. It requires to set > a certain device before it can start any computation. Hence it is one >

Re: [osg-users] Getting a value calculated by a GLSL shader once per frame.

2008-11-23 Thread Mike Weiblen
Hi Chris, comments inline... On Sun, Nov 23, 2008 at 9:47 AM, Chris Denham <[EMAIL PROTECTED]> wrote: > I have been trying to work out how/if you can use a shader to compute a > value (once per frame) and use that value as a constant in the shader for > the rest of the frame. > > For example, I wa

Re: [osg-users] Interest in DirectShow plugin for OpenSceneGraph?

2008-11-23 Thread Jason Beverage
Hi Robert, I'm assuming you meant "can" instead of "can't":) Thanks! Jason On Sun, Nov 23, 2008 at 4:57 AM, Robert Osfield <[EMAIL PROTECTED]>wrote: > Hi Jason, > > On Sat, Nov 22, 2008 at 11:06 PM, Jason Beverage > <[EMAIL PROTECTED]> wrote: > > We're currently developing a DirectShow plugin

Re: [osg-users] Interest in DirectShow plugin for OpenSceneGraph?

2008-11-23 Thread Jason Beverage
Hi Janusz, Yes, the plan is to open source the plugin. I was interested in gauging the level of community interest before deciding about how to eventually proceed. Thanks! Jason On Sun, Nov 23, 2008 at 5:44 AM, Janusz <[EMAIL PROTECTED]> wrote: > Jason: Will that be open-sourced? Janusz > >

Re: [osg-users] Getting a value calculated by a GLSL shader once per frame.

2008-11-23 Thread Chris Denham
Hi Mike, I hadn't heard of CUDA, sounds interesting. Though shame it requires Nvidia hardware. What was in my mind when I said "part of a shader" was the idea that maybe there was a way to have a function in a shader that was only executed once per frame to setup some variables used by the r

[osg-users] osgswig confusion

2008-11-23 Thread R Fritz
I've been fiddling with osgswig on Mac OS (Leopard, 10.5.5), and I ran into a version of the vector mixin problem. After some fuddling around, I came up with a patch for it (see ) and the python bindings built. But now, when I try to use

Re: [osg-users] Getting a value calculated by a GLSL shader once per frame.

2008-11-23 Thread J.P. Delport
Hi, Chris Denham wrote: Hi Mike, I hadn't heard of CUDA, sounds interesting. Though shame it requires Nvidia hardware. What was in my mind when I said "part of a shader" was the idea that maybe there was a way to have a function in a shader that was only executed once per frame to setup so