THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/08/2011 at 11:11, xxxxxxxx wrote:
Cinema 4D Version:
the visualize_channel Video Post Data example is using a VertexProgram/Fragment program. Is there anything in the documentation about the OpenGL functions? That is, are the functions defined in c4d_gl.h further explained somewhere?
Also, I don't understand where certain variables are defined. Here are two lines from the example:
>> pFactory->AddLine(VertexProgram, "oposition = vec4(iposition, 0.0, 1.0);");
>> pFactory->AddLine(VertexProgram, "objectcoord.xy = iposition.xy * .5 + vec2(.5);");
For example "iposition", where is this variable defined?