please help : how to draw BSpline by using mouse ???
-
my teacher give an exercise: -Outline a picture by using Bspline curve. -Ex: Outline character 'S' , use mouse define points, these points will define Bspline curve, this curve is boundary of 'S'. -then save the curve. it is hard exercise for me .... !! X| please help! language is visual C++ 2005, openGL,openCV thank you verry much.
-
my teacher give an exercise: -Outline a picture by using Bspline curve. -Ex: Outline character 'S' , use mouse define points, these points will define Bspline curve, this curve is boundary of 'S'. -then save the curve. it is hard exercise for me .... !! X| please help! language is visual C++ 2005, openGL,openCV thank you verry much.
-
a04.lqd wrote:
my teacher give an exercise:
And that was to help you learn to do things for yourself, not to get someone else to do it for you. Read your course notes.
my teacher only introduce what is Bspline and give this exercise to me... each student in my class is the same. they have another exercise, different from my exercise , ex: use surface to draw a face, draw a car by benzier curve... it is realy hard.... all informations i must find out help me... thank you very much.
-
my teacher give an exercise: -Outline a picture by using Bspline curve. -Ex: Outline character 'S' , use mouse define points, these points will define Bspline curve, this curve is boundary of 'S'. -then save the curve. it is hard exercise for me .... !! X| please help! language is visual C++ 2005, openGL,openCV thank you verry much.
a04.lqd wrote:
how to draw BSpline by using mouse ???
Just press the left button and move the mouse following a BSpline shape (remember to choose the pen tool). :-D
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
my teacher only introduce what is Bspline and give this exercise to me... each student in my class is the same. they have another exercise, different from my exercise , ex: use surface to draw a face, draw a car by benzier curve... it is realy hard.... all informations i must find out help me... thank you very much.
-
my teacher only introduce what is Bspline and give this exercise to me... each student in my class is the same. they have another exercise, different from my exercise , ex: use surface to draw a face, draw a car by benzier curve... it is realy hard.... all informations i must find out help me... thank you very much.
Please read the posting guidelines. There's even no clear question in your message. You don't believe that somebody here will just provide you with the code, do you ? Ask a precise question. Explain what you have tried and where you are stuck exactly.
Cédric Moonen Software developer
Charting control [v2.0] OpenGL game tutorial in C++ -
a04.lqd wrote:
how to draw BSpline by using mouse ???
Just press the left button and move the mouse following a BSpline shape (remember to choose the pen tool). :-D
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
my teacher give an exercise: -Outline a picture by using Bspline curve. -Ex: Outline character 'S' , use mouse define points, these points will define Bspline curve, this curve is boundary of 'S'. -then save the curve. it is hard exercise for me .... !! X| please help! language is visual C++ 2005, openGL,openCV thank you verry much.
GDI has a function called
PolyBezier
that can be used to draw b-splines.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++)