Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Fast-Filled Triangle Function

Author
Message
Ashingda 27
16
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 29th Oct 2009 18:53 Edited at: 29th Oct 2009 19:03
This just hit me today from out of the blue. I think it's fast enough to be called fast-filled.

Yodaman Jer
User Banned
Posted: 29th Oct 2009 19:38
That is fast! I got an average of somewhere between 49 and 60 FPS
(a lot better than other 2D programs I've run in DBC).

That's a pretty cool function.

"The fools may crash down upon us in thunderous waves, but we shall Jeku slap them back from whence they came"
-BiggAdd, Oct 28th 2009
Caleb1994
15
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 29th Oct 2009 21:14
it's great! hey! do you have any ideas on how to draw a filled triangle where you can specify all three points? i did it one way but it was REALLY slow.

New Site! Check it out \/
Ashingda 27
16
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 29th Oct 2009 22:43
You might have to use a floodfill for that one instead.
Caleb1994
15
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 30th Oct 2009 06:02
Ok, Just a thought lol.

New Site! Check it out \/

Login to post a reply

Server time is: 2024-05-04 01:36:12
Your offset time is: 2024-05-04 01:36:12