Find Jobs
Hire Freelancers

Bezier to X-Spline converter(repost)

$100-500 USD

已完成
已发布将近 16 年前

$100-500 USD

货到付款
Given a Bezier spline specified by an STL vector of Bezier segments (current control point position, outgoing tangent position, next point's incoming tangent position, next control point position), convert this to an XSpline in the form of an STL vector of control point location and tension. All Beziers specified with a given number of segments N MUST convert to an XSpline with M points. For example, any time you have a Bezier specified with 4 segments (just for example) it will convert into an XSpline with 19 points (number chosen just for example). X-splines are defined by Blanc, C. and Schlick, C. (1995), "X-splines : A Spline Model Designed for the End User", in Proceedings of SIGGRAPH 95. Conversion code should be written as a self-contained C++ LIBRARY completely disconnected from any test harness UI or system dependency. There should be 1 externally visible function call in the library. std::vector<XSplinePoints> ConvertBtoX(BezierSegments * b, int numberOfSegments) Each X-spline point is an x, y, and weight / tension. Weight goes from -1 to 1. At -1 the point behaves as in a cardinal spline. At 0 the point behaves as a corner. At 1 the point behaves as a B-spline point. In addition to the multi-platform conversion library, a test harness must be written on the platform of your choice which given a file containing strings defining a Bezier, it should draw both the Bezier and the resulting X-spline. Input lines would be in the form of cp.x<tab>cp.y<tab>ot.x<tab>ot.y<tab>it.x etc. see first paragraph Code must compile cleanly with no warnings on Windows, Mac, and Linux. We can supply the code to numerically evaluate a Bezier and an X-Spline so your harness would need only read the input file (a Bezier), call your code to convert to X-Spline and draw both. ## Deliverables Bonuses have been awarded in the past.
项目 ID: 3889137

关于此项目

6提案
远程项目
活跃16 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$714 USD 在14天之内
5.0 (24条评论)
6.6
6.6
6威客以平均价$480 USD来参与此工作竞价
用户头像
See private message.
$425 USD 在14天之内
5.0 (54条评论)
7.2
7.2
用户头像
See private message.
$1,275 USD 在14天之内
5.0 (150条评论)
7.1
7.1
用户头像
See private message.
$212.50 USD 在14天之内
5.0 (42条评论)
5.6
5.6
用户头像
See private message.
$127.50 USD 在14天之内
4.9 (16条评论)
3.7
3.7
用户头像
See private message.
$127.50 USD 在14天之内
4.9 (5条评论)
2.4
2.4

关于客户

UNITED STATES的国旗
United States
5.0
2
会员自9月 21, 2006起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。