100% VB. cyborg i hope you stick with the pointer method :)
Printable View
100% VB. cyborg i hope you stick with the pointer method :)
Wow, that's some cool stuff you have there ;)
What's this "algae" project you talk about? Is it a game? Nice effects... all anti-aliased and stuff... but it runs at 3FPS in my Pentium III @ 866 :p
this project is most likely going to turn into some type of automatic drawing / animation package.
to see 'algae', in Form_Activate uncomment
'For N = 1 To 13 'I dimmed 100 of these
' DrawAlgae AlgaeWheel(N)
'Next
There are also some interesting moire-type effects in some of the other lines that I commented out, but I don't really have apis written for any of that so right now I'm just sharing this latest effect.
I get 3.4fps on a 1Ghz Duron
Are you gonna make a DLL or something with it? Maybe you could write a few tutorials on some of those techniques ;)
Btw, the algae effect, way cool...
it is pretty cool looking.. but yes... way too slow... you think you will be able to speed it up?
I've been thinking about making a dll. I've also been thinking about describing my technique for drawing aa circles.
I could start by saying that I think of the center of a pixel as x.0, y.0, where the left edge is -x.5 and the bottom edge is -y.5.
and then you have your 'brush' center which has a certain offset x and y from pixel center, where the x offset can be as much as -0.5 where it would meet the left edge of the pixel, or 0.499.. where it would just not quite touch the right edge.
I made my own round function because with vb's dubious Round(), there are often position artifacts which are very noticeable with aa primitives
really nice! :):):):)
quite cool
but why is it called algae?
and interestingly enough, you might want to rework some of it, because it runs at about 4.5fps on my 1.4Ghz, 512DDR, GeForce 4 Ti4600 computer.
but other than that, i must say kudos to you
Jmiller I think algae is an effect...
Its really cool, neat effect. Mind it does run quite slow even on my PC: 2.5GHz, 512MB RAM. I get about 6.4fps. I haven't looked at the source code in much detail yet but if it could be run in DirectX without much change I gues it would solve the speed. All depends if you would want to use DirectX or if the speed really matters cos it doesn't look "jumpy" to me.
if directx could generate the micro-fine dots with as many options as i have, sure it would help. i am sure it would be fast.
Here is an update. There is roughly a 30% speed improvement