[osg-users] MSAA in GraphicsWindowEmbedded

2014-09-26 Thread Sandro Weber
Hi everyone,

I am using OSG in combination with Equalizer. So I'm setting up my Viewers via 
Viewer::setUpViewerAsEmbeddedInWindow(). Now I want to use MSAA. Setting 
DisplaySettings for the Viewer doesn't do anything for me. So I looked at the 
GraphicsContext::Traits for the embedded window but these are only accessible 
as const. Is there a way to do this?

Thanks for your help.

Cheers,
Sandro

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61179#61179





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgPlugins] missing textures of collada model in a ShadowedScene using ShadowMap

2014-07-24 Thread Sandro Weber
Dear osg-users,

a basic description of the problem:
Setting up a ShadowedScene using ShadowMap and loading a collada model results 
in shadows working but the model missing its texture (completely white). 
Loading the same model as .obj is fine (both texturing and shadowing).

what has been found so far:
- loading the collada file in an unshadowed scene works (showing textures)
- guessing that the problem lies with the collada plugin assigning up to 3 
textures on unit 0-2 (with the main texture usually on 1) and ShadowMap working 
with 1 base texture on unit 0 and using texture unit 1 for shadowing ?
- taking a look at the collada model converted to .osg shows an empty 
“textureUnit 0 {}” followed by “ textureUnit 1 {...}” with the actual texture. 
Deleting the empty texture at 0 and switching the actual one to 0 results again 
in a model without textures (this time black, shadows again working).

versions being used:
- OSG 3.2.0 together with collada-dom-2.3.1 library

Is there a solution to fix this without extending shadowmap/shaders? The fact 
that that changing the texture unit inside the .osg file is not working at all 
confuses me a bit.

Cheers,
Sandro

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60418#60418





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org