[SOLVED] CS4392 Assignment 2-Cubic Curve Generation

34.99 $

Category: Tags: , , , , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon CS4392_Assignment2-wso7rz.zip (712.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (6 votes)

Cubic Curve Generation
Write a program to generate a curved path through a given set of points. The curve starts from the first point and goes through all the points in order and then end at the first point.
β€’ Draw a ground plane. This is already implemented in the provided starting code.
β€’ Display the points to be interpolated using small cubes. The coordinates of the points are given in the starting code. This is already implemented in the provided starting code.
β€’ Display the generated curve.
1. Set coefficient matrices for each segment based on Catmull-Rom formulation.
2. Compute at least 200 points per segment.
The starting code draws 8 cubes representing the given points. Your task is to calculate the cubic curve for each segment with 200 points per segment, and to draw the curve by connecting those 200 points as lines.
Assignment Submitting
Please compress all .cpp and .h files into a zip file with the name Assignment_X_YourName.zip and submit it on time.

  • CS4392_Assignment2-wso7rz.zip