Hi Oliver,

On Sun, 2005-08-07 at 23:01 +0200, Oliver Kutter wrote:
>
> that's a very good question. It is a polygon and the data given to the 
> polygon are in texture format, up to ten textures at once, but that will 
> work with the shader (I've just tried).
> Can I set multiple textures to the TextureBackground? I don't think so! :-(

Nope, that's really just for one texture.

> And I haven't found a PolygonBackground in OpenSG 1.4. Does it come with 
> OpenSG 1.6? 

It's been in CVS since October 2003, so I'm pretty sure it's part of
1.4.

> And can I handle it just like a normal Geometry with 
> ChunkMaterials and SHLChunks? 

Yes and no. It has a Material, but only 4 vertices, which should be fine
for you.

> Or can I use a PolygonForeground instead 
> with a second Viewport, that is hidden?

That was the idea, yes. Add a new Viewport with your desired size, and
add it to the front of the port Field in the Window, so that it is
rendered first. You need to set a Camera, a scene root and a background,
otherwise the Viewport won't render. They won't matter as you're hiding
everything behind a PolygonForeground, but the Viewport needs them to
work (I might relax that in future versions, but that's what it is right
now). Then add your PolygonForeground and a GrabForeground or
TextureGrabForeground to get stuff into a usable place.

Hope it helps

        Dirk




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to