Answer to Question #31840 in C++ for sandra

Question #31840
How do I implement this?

The obj file format is a Bezier curve (Simplified) stored as follows:

v 0.0 0.0 0.0
v 0.0 1.0 0.0
v 1.0 1.0 0.0
v 1.0 0.0 0.0
csType bezier
3 deg
curv 1 2 3 4
end

Deg with the degree of the curve is called, deg + 1 is the number of Bezier control points.
After curv are the indices of the vertices that we take as control points.
Implement the Bezier curve with the deCasteljau algorithm with an arbitrary number of control points.

1 Implement reading a Bezier curve of a (simplified) obj file for
an arbitrary number of control points. Adjust the control points by small balls
You represent and connect adjacent control points with lines. Scaling and transforming
They invited the control polygon fitting into a scene
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS