Hi Adrian,

The example compiles & runs ok.

One suggestion for visualizing, the texture access in GLSL is a bit
finiky, you get Black if rendering non-textured objects like the base.
First option is to use only textured geometry.

Here's a little cheat that makes using the additional base plane useful:

//"    gl_FragColor = color*texture2D(baseTexture,gl_TexCoord[0].st);\n"
//18
"        gl_FragColor = color;\n"

Replaced line 18 of the shader with a non-textured version.

I've also attached CMakeLists.txt that can be dropped in \examples\PSSM
with your files, then adding this directory in \examples\CMakeLists.txt
will generate the various build files.

Cheers
Mihai


Adrian Egli wrote:
> This version is more close to the final version. please review, test,
> and play with the code. I hope someone in the community could review
> this implementation,
> i feel there will be many changes, but first i need a running version.
> 
> /adegli
> 
> 2007/8/6, Adrian Egli <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> 
>     Hi Cedric, just use the SVN version (i am working with) and use the
>     latest version i have.
> 
>     :-) may you can find the issue i still have.
> 
>     i would be greate if you can find the problems i have. have a look
>     and start debuging ...
>     (i am working on on on on ... )
> 
>     /adegli
> 
>     2007/8/6, Cedric Pinson < [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>>:
> 
>         What is the status of oshShadow ? is there a module to build with
>         current osg version ? on the website it seems to be on
>         developpement. If
>         i want to try it, should i use the cvs/svn ?
>         I tried the zip on the website but it does not compile with current
>         release of osg (2.0)
> 
>         Cedric
>         www.plopbyte.net <http://www.plopbyte.net>
> 
>         Adrian Egli wrote:
>         > Hi all
>         >
>         > i am currently working on PSSM (parallel splited shadow map)
>         > Implementation for the OpenSceneGraph osgShadow library. Here
>         is my
>         > first part of the current implementation, but
>         > i need help. May another guy can see whats wrong in this prototypic
>         > impelementation, unfrotunatelly it doesn't work as expected.
>         >
>         > Please support me, and i hope there is an other guy answering this
>         > topic than robert. robert is quit in hurry at this moment.
>         >
>         > /adegli
>         >
>         > --
>         > ********************************************
>         > Adrian Egli
>         > 
> ------------------------------------------------------------------------
> 
>         >
>         > _______________________________________________
>         > osg-users mailing list
>         > [email protected]
>         <mailto:[email protected]>
>         > 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>         >
>         _______________________________________________
>         osg-users mailing list
>         [email protected]
>         <mailto:[email protected]>
>         
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>         
> <http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org>
> 
> 
> 
> 
>     -- 
>     ********************************************
>     Adrian Egli
> 
> 
> 
> 
> -- 
> ********************************************
> Adrian Egli
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
#this file is automatically generated 


SET(TARGET_SRC ShadowPSSM.cpp PSSM.cpp )
SET(TARGET_H ShadowPSSM.h )
SET(TARGET_ADDED_LIBRARIES osgShadow )
#### end var setup  ###
SETUP_EXAMPLE(PSSM)

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to