Thanks for testing and fixes, Tim

I wrote this under windows. Pardon for my ignorance I am not sure how to
apply .patch file here. Can you send me updated files as another zip ?

Thanks,
Wojtek

-----Original Message-----
From: Tim Moore [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 12:09 AM
To: OpenSceneGraph Submissions; [EMAIL PROTECTED]
Subject: Re: [osg-submissions] Fw: View Dependent Shadow maps ( LispSM)


Wojciech Lewandowski wrote:
> Oops I have forgot to attach the release zip. Its attached here.
>
> Cheers,
> Wojtek
>
Hi,
Here are diffs to make view dependent shadows compile with gcc 4.3. I don't
think any of the required changes are due to bugs in gcc, rather differing
or
stricter interpretations of the standard:
strings.h and stdlib.h need to be included in a couple of places
local classes can't be template arguments
set::erase doesn't return a value
itoa isn't standard on Linux
nondependent name lookup doesn't look in dependent classes.

Thanks,
Tim

>
>> Hi Again,
>>
>> One more release. I have added  methods to modify base and shadow
>> texture sampler & TexCoord index. I have also modified shadow example
>> to allow changing CastsShadowTraversalMask &
>> ReceiveShadowTraversalMasks. Both this options are useful when trying
>> to load external models which have nonstd masks set.
>>
>> I must admit I was not able to completely get rid of  problems with
>> omnidirectional lights. Directional lights are working great but
>> omnidirectional lights continue to break shadows in certain
>> light/camera angle combinations. I have found a workaround that fixes
>> some of these issues when scene is larger than frustum but it brings
>> problems in opposite case where frustum fully contains the scene.
>>
>> I am leaving for one week. I will continue my work on this after return.
>>
>> Cheers,
>> Wojtek
>>
>>> Hi Guys,
>>>
>>> Attached is a new version of ViewDepdendentShadow code. I have also
>>> included
>>> modified osgShadow (osgShadowViewDependent) example with new (-4 option)
>>> island scene and options to select one of LiSPSM variants.
>>>
>>> recommended use is
>>>
>>> osgshadow -4 --lispsm <--DrawBounds| --CullBounds | --ViewBounds>
>>> <--debugHUD> --minFarDist 500  --minLightMargin 10
>>>
>>> I am aware I have neglected few things. I will continue tweaking the
>>> code.
>>> Probably will send few more versions in incoming weeks. But I think its
>>> pretty mature right now and really would like to get some feedback from
>>> Robert and others. I will probably also try to add some comments:
>>> licensing
>>> info (OSGPL), thanks for my company, and maybe some doxygen comments
>>> if time
>>> allows.
>>>
>>> Cheers,
>>> Wojtek Lewandowski

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

Reply via email to