Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

man function in c file of tinyspline missing #1

Closed
atifMughees opened this issue Oct 19, 2014 · 5 comments
Closed

man function in c file of tinyspline missing #1

atifMughees opened this issue Oct 19, 2014 · 5 comments

Comments

@atifMughees
Copy link

Hie their
I wanted to ask you if you kindly also write a main for this program as well

@msteinbeck
Copy link
Owner

This program is designed as a library and not complete now. Adding a main to the library itself wouldn't be useful, but I could add some example code with OpenGL if you wish to.

@atifMughees
Copy link
Author

Dear Marcel
Thankue so much for the prompt responnse. Yes that
would be really great if you can add some example main code to run and use
this library for splines.

Regards
Atif

On Sun, Oct 19, 2014 at 12:57 AM, Marcel [email protected] wrote:

This program is designed as a library and not complete now. Adding a main
to the library itself wouldn't be useful, but I could add some example code
with OpenGL if you wish to.


Reply to this email directly or view it on GitHub
#1 (comment).

@msteinbeck
Copy link
Owner

I just committed a simple example of a B-Spline rendered with OpenGL. To compile this example use 'make examples' within the root folder. It will create the binary bspline within the bin folder. If you are using Windows you need to install MinGW with MSYS.

This example shows you a simple B-Spline. The red dots are the control points, the blue dot is the evaluation of the B-Spline at u=0.5. You can also use the library for Béziers and NURBS. If you need more examples, just let me know. Keep in mind the library is not finished now. For example error handling is not very nice.

@atifMughees
Copy link
Author

Hie thankue so much .. Yes their are some errors in the Library. But i have
removed most of it.

On Tue, Oct 21, 2014 at 12:07 AM, Marcel [email protected] wrote:

I just committed a simple example of a B-Spline rendered with OpenGL. To
compile this example use 'make examples' within the root folder. It will
create the binary bspline within the bin folder. If you are using Windows
you need to install MinGW with MSYS.

This example shows you a simple B-Spline. The red dots are the control
points, the blue dot is the evaluation of the B-Spline at u=0.5. You can
also use the library for Béziers and NURBS. If you need more examples, just
let me know. Keep in mind the library is not finished now. For example
error handling is not very nice.


Reply to this email directly or view it on GitHub
#1 (comment).

@msteinbeck
Copy link
Owner

No problem. If you find any bugs or have some improvements feel free to let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants