Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D opengl translation?

  • opengl translation?

    Posted by Adam Sanches on September 10, 2011 at 10:47 am

    Hello, i have a question related to python generator for generating 3d shapes with iteration.

    In opengl there are the functions translate, rotate and scale. Translate allows to translate an object with respect its initial position. The effect is accumulative and thats good for constructing structures, for example, i can create an spiral of spheres with something like this:

    for i in range(100):
    rotateY(32);
    translate(40, 20 , 0);
    sphere(33);

    Is is possible to have something like this in cinema4d? I have read the documentation and i cannot find nothing related to this, is it possible to create this functionality? any idea?

    A.

    My mother died today, or perhaps it was yesterday

    Adam Trachtenberg replied 14 years, 12 months ago 2 Members · 3 Replies
  • 3 Replies
  • Adam Trachtenberg

    September 11, 2011 at 3:13 pm

    This is exactly the sort of thing that MoGraph does very well. It’s built into the Cloner object.

  • Adam Sanches

    September 11, 2011 at 11:33 pm

    Hi Adam, yes, i know i can use MoGraph’s cloner , but mographs cloner and xpresso is very limited in comparation with python. There are a lot of things you can do with that simple mechanism that are very useful for form generation. Is it possible to have such as functionality in python for cinema4d?

    My mother died today, or perhaps it was yesterday

  • Adam Trachtenberg

    September 12, 2011 at 9:54 pm

    I *think* it is possible in Python, but unfortunately I am a scripting ignoramus.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy