Latest Items
Blog : Holiday!
New Site Design (Janice)

Cower Thu 11:55

Blog : Development Ideas
Anti-Vehicle theft idea

Mog Thu 08:01

Blog : Feel Good
AGameAWeek Y2 : Note : Quite big!

Jayenkai Wed 02:15

Links : Dev-News
DirectDraw hack for older games

mindstorm8191 Mon 20:05

Links : Just for Fun
Hahahaha, you're kidding?

HoboBen Mon 14:10

Links : Useful Apps
Art of Illusion

Jayenkai Sun 00:53

Showcases : Functions Libraries
SVG Tech Demo 2

HoboBen Sat 12:08

Snippets : Graphical Effects
Algorithm to Draw a Line of Arbitrary Thickness

HoboBen Sat 08:21

Snippets : Misc
Simple stack-based interpreter

Tikihead Sat 00:07

Snippets : Variables
Parse point-pair string

HoboBen Fri 10:21

More


Socoder.co.nr
url provided by
Free SubDomain Names
Handy Links
Ascii Chart
Blitz Key Scancodes
Showcase > Graphic Demos ( Created 08 March 2010 | Last Edited 10 March 2010)

SVG Tech Demo 1 - Created by HoboBen (No Votes)

Quick tech demo showing an SVG image of a star with a gradient being deformed. The star has 80 points for a detailed deformation.
Created using Cobra > WindowsView Worklog (0 entries)
SVG Tech Demo 1 - Update 5
Quick tech demo showing an SVG image of a star with a gradient being deformed. The large star has 80 points for a detailed deformation, and the smaller stars have 40 points.

The loader and SVG editor are still works in progress.

(and it needs a *lot* of optimisation!)
Highslide JS
Recent Updates

Release 5:
In-lining a function gave me another 10fps. Showing off rotations as well.

Release 4:
Managed to squeeze out another 5-10fps.

Release 3:
Much more optimised, can now do about 40fps with 1000 points per scene.

Release 2:
Optimised by reducing calls to the bottleneck function. - Frame rate doubled.

Latest Comments

Posted : Tuesday, 09 March 2010, 05:35
HoboBen


Updated with doubled frame rate... still needs a lot more optimisation to be feasible for a proper real-time game though.

Posted : Tuesday, 09 March 2010, 07:34
Jayenkai


Neat!
So, if you did 100 stars, does it slow down per-star, or is there some sort of re-use caching thing you can do?

Posted : Tuesday, 09 March 2010, 09:30
Mog


My experiences with anything SVG was pretty horrible- isn't exactly the best medium to use speed-wise. More power to you if you can get it at a decent framerate.

Posted : Tuesday, 09 March 2010, 11:04
Afr0


Framerate doubled? So... you had 15 FPS, you get 30FPS?
That's a pretty good framerate, no?

Posted : Tuesday, 09 March 2010, 14:39
HoboBen


Not nearly good enough for a screenful of Svgs but after sleeping on the problem I think I can get another 4x speed increse without much effort.

Posted : Tuesday, 09 March 2010, 15:13
Jayenkai


Out of interest, how quick is it un-filled?

Posted : Tuesday, 09 March 2010, 15:28
HoboBen


Unfilled I can fit 10 stars in and get 100fps... (that's 800 points, these are ridiculous stars!) It's not the drawing commands that cause the slow down, it's calculating exactly where to draw.

Posted : Tuesday, 09 March 2010, 16:20
JL235


Then can't you calculate that once, store it in a bunch of arrays and when you draw you just offset the values in the array by the location on the screen?

Posted : Tuesday, 09 March 2010, 17:09
HoboBen


Woo! New update, much much faster. The smaller stars each have 40 points, so they're quite detailed for titchy stars.

Posted : Wednesday, 07 April 2010, 13:13
dna


Did you use BB2d, B3D or BMax for this?

Posted : Wednesday, 07 April 2010, 13:16
Jayenkai


The little black oval says Cobra

Latest Posts
Tutorials
Stealth Fri 11:23
cars turning
redmoth Thu 15:57
What Have You Done : 8th September 2010
Cower Thu 12:59
Jayenkai's Arcade Slots
worchyld Wed 04:47
WHAT !... Do my eyeballs decieve me?
dna Tue 20:26
Draw me some tiles...!
Jayenkai Mon 15:45
AudioCompressing
Afr0 Sat 13:31
Design : a Kinect game
Jayenkai Sat 04:34
Candy House!
Jayenkai Sat 04:29
Universal Clock
JL235 Fri 09:21
More

Latest Comments
Link : Art of Illusion
Jayenkai Fri 14:01
Dev-Ideas : Anti-Vehicle theft idea
Afr0 Fri 13:12
Hols : New Site Design (Janice)
Cower Fri 10:57
Dev-Diary : Storyboard!
Afr0 Fri 08:58
Link : DirectDraw hack for older games
Jayenkai Fri 02:22
Woot : AGameAWeek Y2 : Note : Quite big!
CodersRule Wed 03:56
Link : Hahahaha, you're kidding?
Jayenkai Tue 03:32
Life : I've been spending the summer...
Afr0 Mon 09:34
Article : Half an Hour, DS Jumpstart
Jayenkai Mon 00:22
Showcase : SVG Tech Demo 2
Jayenkai Sun 01:19
More

Latest Uploads
ffsapple_185746.png

Jayenkai

Solstice E ... ine Test 1

waroffice

Birthday_Shroom.jpg

Jayenkai

plat.png

Jayenkai

54is25th.png

Jayenkai

Redneck Fish

Cower


Who's Online
Stealth
Fri, at 14:03
JL235
Fri, at 14:03
Cower
Fri, at 14:03
Jayenkai
Fri, at 14:02
Teasy
Fri, at 13:50
spinal
Fri, at 13:49
Afr0
Fri, at 13:40
lawandcontradiction
Fri, at 13:09
blanko1324
Fri, at 12:51
Tikihead
Fri, at 12:16
Link to this page
Site : Jayenkai 2006-2009 | Page took 0.73904 |
MudChat's origins, BBCode's former life, Image Scaler.