[osg-users] [osg-submissions] View Dependent Shadow maps (LispSM)

Wojciech Lewandowski lewandowski at ai.com.pl
Wed Sep 24 01:38:33 PDT 2008


What is wrong ? It does not work ? Method accepts Light ptr. If you have LightNode simply use getLight() to pass right argument.

  ----- Original Message ----- 
  From: Adrian Egli OpenSceneGraph (3D) 
  To: lewandowski at ai.com.pl ; OpenSceneGraph Users 
  Sent: Wednesday, September 24, 2008 10:17 AM
  Subject: Re: [osg-users] [osg-submissions] View Dependent Shadow maps (LispSM)


  it doesn't solve my problem. i will have a look into the code as soon as i have some time left


  2008/9/24 Wojciech Lewandowski <lewandowski at ai.com.pl>

    Thank You, Adrian

    Lispsm classes derive all methods from StandardShadowMap & MinimalShadowMap. StandardShadowMap has setLight method. I believe this is what you want.


     -----Original Message-----
    From: osg-users-bounces at lists.openscenegraph.org [mailto:osg-users-bounces at lists.openscenegraph.org]On Behalf Of Adrian Egli OpenSceneGraph (3D)
    Sent: Tuesday, September 23, 2008 10:46 PM
    To: OpenSceneGraph Users
    Subject: Re: [osg-users] [osg-submissions] View Dependent Shadow maps (LispSM)

      Sorry, answered to  wrong list 
      but here i am right :-) 

      Hi all, 

      great algorithm. i have just one question. my scene has a lof of lighs, but only one should cast shadows. so would it be possible to add a method like in parallel splitted shadow map to tell the algorithm witch light it should be used for shadow casting. 

      please have a short look at : 

      this method allow to tell the sun light. :-) for example 


    osg-users mailing list
    osg-users at lists.openscenegraph.org

  Adrian Egli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080924/42578002/attachment-0003.htm>

More information about the osg-users mailing list