Find Jobs
Hire Freelancers

Bezier to X-Spline converter(repost)

$100-500 USD

Terminado
Publicado hace casi 16 años

$100-500 USD

Pagado a la entrega
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 del proyecto: 3889137

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 16 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$714 USD en 14 días
5,0 (24 comentarios)
6,6
6,6
6 freelancers están ofertando un promedio de $480 USD por este trabajo
Avatar del usuario
See private message.
$425 USD en 14 días
5,0 (54 comentarios)
7,2
7,2
Avatar del usuario
See private message.
$1.275 USD en 14 días
5,0 (150 comentarios)
7,1
7,1
Avatar del usuario
See private message.
$212,50 USD en 14 días
5,0 (42 comentarios)
5,6
5,6
Avatar del usuario
See private message.
$127,50 USD en 14 días
4,9 (16 comentarios)
3,7
3,7
Avatar del usuario
See private message.
$127,50 USD en 14 días
4,9 (5 comentarios)
2,4
2,4

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
2
Miembro desde sept 21, 2006

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.