Computing.Net > Forums > Programming > VB Bezier curves-URGENT HELP NEEDED

VB Bezier curves-URGENT HELP NEEDED

Reply to Message Icon

Original Message
Name: BenPerchard
Date: August 20, 2004 at 16:30:26 Pacific
Subject: VB Bezier curves-URGENT HELP NEEDED
OS: XP
CPU/Ram: P4 2.53 256mb
Comment:

PLEASE can someone help me?!!! I MUST get this VB project done for my coursework in 3 days time, and i don't understand whats being asked of me. It makes no sense. Can anyone translate it into english for me?(i mean english english, not VB language i dont know what anything means) thanks (I've got the code for a bezier curve program, but don't know what to do next: )

-----------------------
With an appropriate range of values of t and step value dt, modify the algorithm to generate parametric curves in order to generate the following:

Q.1. A cubic Bezier Curve given the following:

Possible values for the end points of the Bezier curve are:
ex1 = 0.4*Picture1.ScaleWidth ey1 = 0.8*Picture1.ScaleHeight
ex2 = 0.6*Picture1.ScaleWidth ey2 = 0.7*Picture1.ScaleHeight

Possible values for the control points of the Bezier curve are:
x1 = 0.1*Picture1.ScaleWidth y1 = 0.3*Picture1.ScaleHeight
x2 = 0.8*Picture1.ScaleWidth y2 = 0.2*Picture1.ScaleHeight

Q2. Modify the code to allow the selection of the control points for the Busier curve to be interactive.



Report Offensive Message For Removal


Response Number 1
Name: Mark Long
Date: August 21, 2004 at 10:42:00 Pacific
Reply: (edit)

I'll hazard a guess, do they want you to create something like what is here:

http://www.cs.princeton.edu/~min/cs426/jar/bezier.html

you'll need Java on your PC I think.

M


Report Offensive Follow Up For Removal

Response Number 2
Name: wizard-fred
Date: August 21, 2004 at 15:24:05 Pacific
Reply: (edit)

First you must understand what the curve is.

The reference in Response 1 and the following should help you.

http://www.moshplant.com/direct-or/bezier/

Consider it a method of drawing a line from A to B with the control points controlling the direction and distance the line goes before it deviates.

The above example has the math equations.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: VB Bezier curves-URGENT HELP NEEDED

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge