Bezier Splines 2

by Crazy Star


Posted on April 10, 2006 at 9:53 PM



Next version is out. I tidied the code a bit and included types with control points ranging from 1-9 as well as a quad surface. Other content includes a chain of bezier splines and a gradient of colors using this amazing bezier technique.


<a href="http://www.64digits.com/download.php?name=beziers.gm6&id=4421">Previous version</a>
<a href="http://64digits.com/games/index.php?cmd=view_game&id=184">Salmiak's example</a>
<a href="http://www.gamedev.net/reference/articles/article1808.asp">Reference article</a>



melee-master commented April 08, 2006 at 10:35 PM
Wow, that was so damn neat Spectre. My favourite one was obj_surfaceTex.

You always have good examples. =)
Juju commented April 11, 2006 at 8:14 AM
This would be amazing for creating a realistic wave engine. It would have been a lot easier to code for you if you had written the obj6_many using arrays instead of a ridiculously long set of arrays, and it would have been easier to edit as well. Oh well.
Kaz commented April 12, 2006 at 1:04 AM
This is beyond kick ass.

I looked at the math behind bezier curves, it seemed a little over my head. This only proves I was very right :D
Jondrusek commented April 13, 2006 at 3:19 AM
This was really cool stuff, Spectre. I can tell you probably enjoy doing math.
Crazy Star commented April 13, 2006 at 1:05 PM
#1 thanks (goes to all)
#2 Yeah I might rewrite it sometime.. about wave's I actually have an example with water inspired by the articles on gamedev. I thought about uploading that as well but it's a bit slow and doesn't offer anything more than the article (except being gm6 of course).
#3 check out gamedev.com you'll find it's really not that complicated. As simple as (a+b)^n :)
#4 I do. Sadly I've never gotten to learn the really cool stuff in school.

And wow 10/10 are you serious?? I'm glad I uploaded this after all
salmiak commented April 18, 2006 at 7:51 AM
Cool! I had plans of make my bezier spline routine better, but i did never think about that cool picture thing =D
Crazy Star commented May 03, 2006 at 12:24 PM
2nd version out.
misoka commented May 10, 2006 at 7:12 PM
Cool.
Juju commented June 01, 2006 at 9:07 AM
Wow even better! obj4_cubetex doesn't work though.
DevonX commented November 01, 2006 at 11:02 PM
hmmm........cool! 10/10
DevonX commented November 04, 2006 at 5:36 PM
that thing a gamedev.com that you said to search, i cant find it on there.
digitalwar commented November 07, 2006 at 11:11 PM
It's the best !
Flea1991 commented December 08, 2006 at 4:15 PM
Spectacular!

-Flea