Cogl materials, pipelines etc.



Hi!
I've been looking at integrating a 3D model in a Clutter app lately using Python, and I've been having trouble setting the material of a model. I can import a model using Mash but I can not make a material using the Cogl.Material() method (I get  MemoryError). 

Looking at the Material reference for Cogl, the functions seem to be deprecated and replaced by the Pipeline API, which is defined in the experimental API and explicitly undefined (-U) in the introspection section of the Makefile for Cogl. This has been discussed in a long thread from 2012 thread on the Cogl mailing list: http://lists.freedesktop.org/archives/cogl/2012-April/000094.html

So what is the best option for getting some basic material working? Should I try to fix the dated Material functions or is it better to compile the introspection-next branch? 

I realize that this post might be better suited for the Cogl list, but it is perhaps mostly the same people? : | 

--
Kind regards, 
-Elias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]