Hi Robert and Raymond,

I have tested latest changes (rev 7975). Inheritance problem that looked 
like invisible polygon casting shadow for half of the scene vanished. So 
far, so good ;-).

IMHO, the problem J-S noticed with ThreadingModeHandler is different. Its 
not related to inheritance mask changes and does not affect only Shadow 
example. It can be also seen with Prerender example with RTT camera using 
FBOs and PixelBuffers. And due to lack of other supects I agree with J-S: we 
should put the blame on NVidia drivers ;-(.

Wojtek

----- Original Message ----- 
From: "Raymond de Vries" <[EMAIL PROTECTED]>
To: "OpenSceneGraph Users" <osg-users@lists.openscenegraph.org>
Sent: Wednesday, March 19, 2008 3:08 PM
Subject: Re: [osg-users] osgShadow example and gerneral question


> btw ShadowTexture (command line arg --st) is not producing any shadows
> at all, for each threading model.
>
> Raymond
>
>
> Raymond de Vries wrote:
>> Hi,
>>
>> A quick test report: I just did a test on WinXP, using rev 7975 changing
>> the threading model as J-S suggested. Results are different for
>> different shadow techniques:
>> --sv: crash
>> --ssm: artifact
>> --sm: artifact
>> --pssm: artifact
>> --pssm -NVidia: artifact
>>
>> Artifact:  initially the rendering is ok but the artifacts still occur
>> when the threading model is changed, see the images in this message:
>> http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-March/008294.html
>>
>> This is tested on a multi core machine.
>>
>> Best regards
>> Raymond
>>
>>
>> Wojciech Lewandowski wrote:
>>
>>> Robert,
>>>
>>> I understand. As I earlier said,  I did not mean to push it. In fact I 
>>> have
>>> sent my post in just the same time I received your post that you already
>>> implented option #4. I would not do this if the timing was different ;-) 
>>> I
>>> am OK with your current solution.
>>>
>>> Cheers,
>>> Wojtek
>>>
>>> ----- Original Message ----- 
>>> From: "Robert Osfield" <[EMAIL PROTECTED]>
>>> To: "OpenSceneGraph Users" <osg-users@lists.openscenegraph.org>
>>> Sent: Wednesday, March 19, 2008 2:20 PM
>>> Subject: Re: [osg-users] osgShadow example and gerneral question
>>>
>>>
>>>
>>>
>>>> Hi Wojteck,
>>>>
>>>> On Wed, Mar 19, 2008 at 11:20 AM, Wojciech Lewandowski
>>>> <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>>>  So in practice there are 3 cases of usage and I think that they can 
>>>>> be
>>>>>  served with option #5:
>>>>>
>>>>>  setAttribute( ) would always clear inheritance flag.
>>>>>
>>>>>  but also add a method:
>>>>>
>>>>>  inheritAttribute( ) which would set the inheritance flag and reset
>>>>> attribute
>>>>>  to default.
>>>>>
>>>>>
>>>> Adding an inherit*() method would require us to add a number of extra
>>>> methods that most/perhaps all would never be called.      Also having
>>>> multiple places that set the default value would be a maintenance
>>>> problem.
>>>>
>>>> If there was a need for enabling inheritance then it'd be better done
>>>> via a general inerihitance setting method, but then we already have a
>>>> setInheritinceMask() method.
>>>>
>>>> Robert.
>>>> _______________________________________________
>>>> osg-users mailing list
>>>> osg-users@lists.openscenegraph.org
>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>>
>>>>
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 

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

Reply via email to