VertexProgram/FragmentProgram



  • 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:

    User Information:
    Cinema 4D Version:    
    Platform:      
    Language(s) :

    ---------
    Hy there,

    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?

    Thank you,
    maxx



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/08/2011 at 02:02, xxxxxxxx wrote:

    Maxon have consistently said they don't support the OpenGL functions, so you're pretty much on your own. That might change with the R13 SDK, of course.

    There are other SDK examples which also use the OpenGL functions so you might be able to get what you want from those.

    (A touch unfair IMO that the SDK examples use those functions but we aren't given any information beyond that on how to use them.)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/08/2011 at 07:15, xxxxxxxx wrote:

    (A touch unfair IMO that the SDK examples use those functions but we aren't given any information beyond that on how to use them.)

    Yes, unfair ;)

    Maybe they didn't want to have to "support" OpenGL questions like the one I just posted ;) (but yea, why give us the examples ...).

    But I still wonder where the iposition Variable was defined (just for my better understanding). It seems not be anything OpenGL related... Is there maybe some more OpenGL Code, which defined that variable somewhere? Or is that a variable, which is made available for a Vertex/Fragment-Program?

    Thank you,
    maxx



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/08/2011 at 06:14, xxxxxxxx wrote:

    I had to write this ... because ... it starts to piss me off.

    I am really a very patient person. But when asking stuff on this forum, it takes more than a month until I get maybe finally an answer (60% was not correctly answered, this mostly in the Python area). Normally, answers come from other users, not from Maxon.

    Also, my questions are really easy to answer, I normally have like 1 or two lines to ask the stuff. I always take time to break down my problems for you, so you have nothing to do, than shortly write the answer.

    Is this really the official support forum for the SDK?? If yes, its really poor.

    I really don't know, you just don't care about the programmers using your SDK?? I don't know what else to say ...

    PLEASE START SUPPORTING!

    maxx



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/08/2011 at 09:05, xxxxxxxx wrote:

    I think,to be fair, that the SDK support staff have almost certainly been extremely busy over the last month or so getting the R13 SDK docs ready for release. My guess is (and it's only a guess, I don't actually know) that Matthias may not be able to update those docs until a very short time before release. Until the developers say there's no more changes to be made, in other words.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/08/2011 at 09:38, xxxxxxxx wrote:

    Ok, its a valid argument. But if that is the case, they should announce that there is currently no or very limited support, so I don't wait for an answer.

    Actually I would like to program some more Plugins for Cinema, but if I can't get answers for questions concerning their API, its a no-go. Too much time for trial and error which I would like to spend on Plugin logic, not syntax guessing.

    I started out with python early this year, but the API is not yet ready for proper plugin-development. It also is in an early stage ... so I switched to C++.

    The C++ API is just great, most things are really througly explained. For the first three plugins I wrote I didn't have to ask a single question. But from time to time, there is also some stuff in C++ that needs further explanation. I hoped, that in the sdk forum I can get answers for my questions. But until now, its just the other user's on the forum giving me answers, which I highly appreciate!

    Thanks to everyone for that!

    But short of that, I seem lost with my questions.

    Cheers,
    maxx



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/08/2011 at 03:24, xxxxxxxx wrote:

    I'm very sorry for the delay. As Steve (spedler) has guessed I am currently really busy with the SDK documentation  for CINEMA 4D R13.

    In answer to your question, unfortunatly we can't provide support for the Enhanced OpenGL API at the moment. This may or may not change in the future.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/08/2011 at 06:40, xxxxxxxx wrote:

    OK, thank you,
    maxx


Log in to reply