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

*On 01/11/2012 at 13:55, xxxxxxxx wrote:*

User Information:

Cinema 4D Version: 13

Platform: Windows ;

Language(s) : C++ ;

---------

This is probably a long shot.

But has anyone ever created their own bezier type spline code in C++?

I'd like to learn how to draw a 2D cubic bezier spline in the screen matrix space. Using the C4D Draw2Dline() function to draw the initial base line to start off from.

I know how to create the 2Dline. But converting that line into a cubic bezier line is proving to be very difficult.

I've looked around for C++ examples. But they are hard to find.

And when I do find one. The maths used are over my head.

I tend to grasp math formulas much better when they are written as C++ code. Instead of written in math notation with all those crazy weird symbols. So most tutorials out there are too hard for me to understand the math involved.

-ScottA