Re: [osg-users] Multiple projective texture passes?

2008-05-07 Thread Art Tevs
ut of it. > > > > Cheers, > > Art > > > > > > > > > > > > - Ursprüngliche Mail > > Von: Jason Ziglar <[EMAIL PROTECTED]> > > An: OpenSceneGraph Users > > > Gesendet: Montag, den 5. Mai 2008, 22:42:09 Uhr &g

Re: [osg-users] Multiple projective texture passes?

2008-05-07 Thread Jason Ziglar
iche Mail Von: Jason Ziglar <[EMAIL PROTECTED]> An: OpenSceneGraph Users Gesendet: Montag, den 5. Mai 2008, 22:42:09 Uhr Betreff: Re: [osg-users] Multiple projective texture passes? I don't see any straightforward way to ensure that is is extensible to n-passes using that technique thou

Re: [osg-users] Multiple projective texture passes?

2008-05-05 Thread Art Tevs
all camera passes you will get the average value out of it. Cheers, Art - Ursprüngliche Mail Von: Jason Ziglar <[EMAIL PROTECTED]> An: OpenSceneGraph Users Gesendet: Montag, den 5. Mai 2008, 22:42:09 Uhr Betreff: Re: [osg-users] Multiple projective texture passes?

Re: [osg-users] Multiple projective texture passes?

2008-05-05 Thread Jason Ziglar
I don't see any straightforward way to ensure that is is extensible to n-passes using that technique though. My understanding is that I can't have an array of matrices in the shader, so in order to add a single pass I'd have to go and recompile the entire program. Is there a technique for havi

Re: [osg-users] Multiple projective texture passes?

2008-05-05 Thread Art Tevs
Hi Jason, I think, you do not need multiple cameras. If you have the projective matricies of each of the captured viewcamera, then you can just combine all the projective textures in one pass. Just pass all your matricies and corresponding textures to the shader and compute the average value. If

[osg-users] Multiple projective texture passes?

2008-05-05 Thread Jason Ziglar
Hi all, I'm trying to write a program which takes multiple images and projectively textures a scene with them. The images are taken at different locations within the scene, and I'd like to have the scene rendered with the result from projecting all the images onto the world geometry. I