Hi all,

I think I had a similar problem some weeks ago (with OpenSG1.8).
The implementation of MaterialChunk::changeFrom() and 
MaterialChunk::activate() had some inconsistencies.
Carsten Neumann commited a patch to 1.8 and 2.0 (I think on 31.01.2012). 
So if you use a version that is older that may be the problem.

Hope it helps,
Michael

Am 04.03.2012 16:50, schrieb Gerrit Voß:
> Hi,
>
> On Fri, 2012-03-02 at 21:24 +0000, Hall, Theodore wrote:
>> On Friday, March 02, 2012 12:41
>> johannes-bru...@arcor.de [mailto:johannes-bru...@arcor.de] wrote:
>>
>>> Subject: Re: [Opensg-users] ChunkMaterial rendering woes
>>> what I do different from your code is that I always return OpenSG objects,
>>> which I have created in functions by the respective TransitPtr.
>>
>> Thank you Johannes.
>>
>> I've never been perfectly certain of the subtle differences between the 
>> various pointer types.  I've been frustrated in the past by compiler errors 
>> when trying to implicitly convert between TransitPtr and other kinds of 
>> pointer, though I never tried using an explicit constructor such as 
>> ChunkMaterialTransitPtr (ChunkMaterialUnrecPtr).
>>
>> In any case, I have now changed all of my UnrecPtr return values to 
>> TransitPtr, but it didn't make any difference in either the text dump of the 
>> scene graph or in the rendering.  Even the reference counts appear to be the 
>> same.
>>
>> For what it's worth, I'm attaching my very slightly revised source code.  
>> (You can just overwrite the previous file with this one.)
> hmm, interesting I tried both version of your program on both Linux
> 64bit and Win7 64bit and for both setups I get one red, one green and
> one blue quad. I also checked the OpenGL trace and it looked ok too.
> OpenSG was from today (07f418b9fec5ee2af0d36d75cdf256534baa78e9).
>
> Which OpenSG revision of OpenSG are you using ?, could you send me the
> git sha1 id of your checkout.
>
> As the resulting OpenGL is pretty basic I'm not sure what actually might
> go wrong. Could you use a simple OpenGL tracer like glIntercept
> (http://code.google.com/p/glintercept/) and send me the trace file.
>
> thanks&  kind regards
>    gerrit
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization&  Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to