Search found 96 matches

by Voltage
Dec 14, 2011 4:36
Forum: Sources, Examples, Tips and Tricks
Topic: particle based interactive fluid
Replies: 21
Views: 5193

k, here is what I have so far. The only bit of tech that is different in this demo compared to my other random projects is the fluid kernal function. So I guess my question is what is a laplacian used for? What about the gradient functions I read about everywhere? Are they related to other features ...
by Voltage
Dec 06, 2011 23:58
Forum: Sources, Examples, Tips and Tricks
Topic: particle based interactive fluid
Replies: 21
Views: 5193

I seriously love fluid dynamics. I've read as many articles as I can over the last 12 months.... but I still don't have a stable SPH routine yet.. I'll let you offer your expertise if you like :) I was getting an error when trying to compile with the latest version of FB... had to add this line to t...
by Voltage
Feb 17, 2011 4:34
Forum: Projects
Topic: Procedural block world project
Replies: 310
Views: 114413

This is great!

I'm looking forward to the optimized version.

I'm inspired to try something similar.
by Voltage
Oct 14, 2010 10:34
Forum: Community Discussion
Topic: What would you want in a Code Library?
Replies: 13
Views: 3181

Graphics Programming \o/

Shader support in FreeBASIC would be very cool.

Maybe the glew library.
by Voltage
Aug 04, 2010 23:27
Forum: Community Discussion
Topic: -Tangible- Productivity Tips
Replies: 19
Views: 3115

Some tips that I've used over time to help me stay productive at the PC. 1) Pen and paper. As things come up, write them down. You free up mental resources for the task at hand this way. For example, if I'm working on some rotation code, and I remember that I've got to fix the texture coords for the...
by Voltage
Jul 15, 2010 1:21
Forum: Sources, Examples, Tips and Tricks
Topic: SAT based Polygon Collision
Replies: 18
Views: 5189

\o/

Very nice Rel.

I've tried to handle collisions a few times with varying degrees of success.

Thanks for the links and code examples.
by Voltage
Jul 08, 2010 3:20
Forum: Game Dev
Topic: [solved] Need a hint about volume calculation of sphere.
Replies: 15
Views: 5297

D.J.Peter's has proven his worth on these forums 1 million times over. I assume that the problem is not his maths, or programming ability, but his English. Here's another link that I found DJ. http://answers.yahoo.com/question/index?qid=20071203171102AAB5kZV With the specific formula: pi*h/6(3r^2+h^...
by Voltage
Jul 08, 2010 0:14
Forum: Game Dev
Topic: [solved] Need a hint about volume calculation of sphere.
Replies: 15
Views: 5297

Hey Joshy,

I think the English term you are looking for is: "The volume of a dome".

Normally a dome is just half a sphere, which is easy to calculate the volume of. But for other domes, that aren't half spheres you'll need the following:

- http://en.wikipedia.org/wiki/Dome_(mathematics)
by Voltage
Jul 06, 2010 3:45
Forum: Sources, Examples, Tips and Tricks
Topic: particle based interactive fluid
Replies: 21
Views: 5193

Absolutely love it h4tt3n. I'm a sucker for graphics code, and specifically fluid dynamics at the moment. I've only breifly looked at the code, but a couple of things that may help: - Better broadphase collision detection (I see it on the TODO) - Do you need the SQR? Or can you just test on the squa...
by Voltage
May 31, 2010 0:53
Forum: Community Discussion
Topic: Should gfx library be improved, in newer version?
Replies: 38
Views: 7184

How about we forget about adding a heap of new problems onto the library and fix the existing problems first? There are still unresolved tickets in the tracker. Spend more effort on ways to resolve those before we worry about adding new tickets to the tracker. I'd like to try my hand at fixing some...
by Voltage
May 20, 2010 0:41
Forum: Community Discussion
Topic: This Isn't BASIC
Replies: 17
Views: 6670

Re: This Isn't BASIC

MrHetfield wrote:PS sorry for my English I'm not from Australia ;)
We won't hold it against you. :)

Welcome to FreeBASIC.
by Voltage
Apr 27, 2010 0:08
Forum: General
Topic: ASCII Diagonal Lines Troubleshoot
Replies: 8
Views: 3455

This is a Bresenham line drawing routine. ScreenRes 800,600,32 Declare Sub dline(x1 As Integer,y1 As Integer,x2 As Integer,y2 As Integer,c As UInteger) Dim As Integer x1,y1,x2,y2 Randomize Timer Do x1=Rnd*800 x2=Rnd*800 y1=Rnd*600 y2=Rnd*600 dline x1,y1,x2,y2,RGB(255,255,255) circle (x1,y1),3,RGB(25...
by Voltage
Apr 08, 2010 5:16
Forum: Community Discussion
Topic: This Isn't BASIC
Replies: 17
Views: 6670

...usually due to alcohol excess. I have heard whole sentences spoken as one or two words though. For example "What, TheBloodyEllIsGoinOnEreThen?". Nice link Richard. It's hard to read unless you throw a thick Aussie drawl over the top of those "sentences". Afferbeck Lauder :) /e...
by Voltage
Apr 07, 2010 3:22
Forum: Community Discussion
Topic: This Isn't BASIC
Replies: 17
Views: 6670

Austrialians speak Austrailian
Streuth.

Australian's speak English.

There are no Austr_i_alians that speak Austra_i_lian.

Crikey bloody moses.