I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
Posts
1,457
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
To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systemshere.
Jotaf's Theories!
"Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."
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'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
Posts
1,457
Are you gonna make a DLL or something with it? Maybe you could write a few tutorials on some of those techniques
To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systemshere.
Jotaf's Theories!
"Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."
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
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
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.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.