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

Reply via email to