Hi Enrico,

On Mon, 2005-05-09 at 18:03 +0200, Enrico Borrione wrote:
> hi dirk,
> i've read that OSG server is down, so i hope that this
> mail won't be lost in the means of the net.

Nope, the list is on SourceForge, so it's independent.

> I have a small question for you:
> is it possible in opensg to have multitexturing 
> without using a shader? I'd like to make the overlap
> of the projected scene mixing 2 textures: one with the
> rendered scene and one with a black smoothed band on the
> overlapping region. With two of these textures i should be able to
> mask the two overlapping viewports.
> In opengl i'd use the GL_TEXTURE_ARB0 GL_TEXTURE_ARB1 and then 
> some kind of texture blending. Since it is a very trivial operation
> i wouldn't like to use complex stuff as shaders or combiners...

If your system supports it you can use the ARB_texture_env_combine
extension functions. You have to set the EnvMode of the second
TextureChunk to GL_COMBINE_EXT and set up the Env... parameters to what
you want (the default might actually be what you want). 

Don't forget to set up the second texture coordinates on the geometry,
or you won't see anything.

HIH

        Dirk

-- 
-- Dirk Reiners               OpenSG Forum             [EMAIL PROTECTED] 
-- The OpenSG Open Source Scenegraph:            http://www.opensg.org
-- Join the list at    http://lists.sf.net/lists/listinfo/opensg-users



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to