Cogl materials, pipelines etc.
- From: Elias Bakken <elias bakken gmail com>
- To: "clutter-list gnome org" <clutter-list gnome org>
- Subject: Cogl materials, pipelines etc.
- Date: Fri, 3 Jan 2014 23:04:22 +0100
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? : |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]