|
Author |
Topic: Can I draw a bezier part way? (Read 319 times) |
|
Ricard
|
Can I draw a bezier part way?
« on: Jan 14th, 2005, 9:12pm » |
|
Me again. Is it possible to draw a fraction of a bezier? All I know is that beziers are calculated by a function that has a parameter which goes from 0 to 1, I would like to know if it would be possible to choose, that it only draws from 0 to 0.5, to draw part of the curve. It might not be possible because the renderer might be implemented so it draws it in an optimized way by breaking the curve up, instead of actually calculating the equation and implementing it. Gracias, again and again, Ricard
|
|
|
|
Ricard
|
Re: Can I draw a bezier part way?
« Reply #2 on: Jan 15th, 2005, 6:04pm » |
|
Great reply. That's exactly what I need. I guess you must be a BETA tester. But as it is in version 70+ I'll have to wait until the BETA version comes out. I would really like to join the beta testers, mainly because I'm very interested on the engine, the growth of the language and some very specific functions like these, that are not yet implemented on the ALPHA release. But I understand they already have enough people and more could just make it hard to manage. Anyway, if there's anything I could do, let me know. I would really like to help. Ricard
|
|
|
|
fry
|
Re: Can I draw a bezier part way?
« Reply #3 on: Jan 15th, 2005, 6:16pm » |
|
actually, you need bezierPoint() (curvePoint will give you part of a catmull-rom, not bezier, curve). and it's in the current alpha releases, it's not a 70+ feature.
|
|
|
|
Ricard
|
Re: Can I draw a bezier part way?
« Reply #5 on: Jan 15th, 2005, 7:25pm » |
|
Oh good, bezierPoint() and curvePoint() are part of the current releases. It's great. I thought it was for 70+ because I couldn't find them in the reference index and the message on the doc page: Quote:Reference for version 70+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know. |
| it was a bit confusing. Anyway it's all good, now. ricard
|
« Last Edit: Jan 15th, 2005, 7:27pm by Ricard » |
|
|
|
|
|