Hello Robert,

Robert O wrote:
> Hello!
> 
> I have a scene with a few objects using the same texture so I would
> like to use the MaterialMergeGraphOp. Unfortunatly I get a stack
> overflow and the program crashes, before the MaterialMerge finishes.
> All other GraphOps seem the work - the VerifyGraphOp returns true
> without a warning.
> 
>  GraphOpSeq *seq = new GraphOpSeq();
>  seq->addGraphOp(new MaterialMergeGraphOp());
>  seq->run(node);
> 
> I only have a few moving spheres, boxes, cylinders and image textures
> (pictures and text); i also use LOD nodes.
> 
> Does anyone know the problem?

I think so, some weeks ago I fixed the problem that images did not 
"know" about their parents, i.e. objects that use them, like 
TextureChunks. Changing this introduced of course circles in the pointer 
structure. The MaterialMergeGraphOp did not ignore parents fields and 
therefore got caught in an infinite loop until the stack was exhausted.
I've fixed it, can you please try again?

        Thanks,
                Carsten

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to