Need some GL info

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Tue Aug 31, 2010 12:11 am
Location: The Forest of Darkness

Need some GL info

Post by Tcll » Sun Oct 14, 2012 7:00 am

sry for another OT thread...
but I've been looking all over google for months now for some info on this.

what's needed is a good structure to hold material, texture, shader, and material node data

the material (for what I know) just defines ambient, diffuse, and specular colors with an alpha transparency...
it also in turn links to a max of 32 textures...

shaders and nodes just extend the material even further >_>

so here's the structure I've come up with:
[ [[Amb], [Diff], [Spec], Alpha], [Textures], [Shader data], MtlNodeID]

I need full structure documentation to make the appropriate changes to this.
I don't know anything beyond the point above, except that there is a HECK of alot to define. D:

please help

Posts: 0
Joined: Sun Nov 07, 2010 11:30 pm
Location: Hamilton, New Zealand

Post by ldo » Sun Nov 25, 2012 2:46 am

Why not just use the objects provided in Blender’s Python API?

Post Reply