Search found 96 matches
- Dec 14, 2011 4:36
- Forum: Sources, Examples, Tips and Tricks
- Topic: particle based interactive fluid
- Replies: 21
- Views: 5733
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 ...
- Dec 06, 2011 23:58
- Forum: Sources, Examples, Tips and Tricks
- Topic: particle based interactive fluid
- Replies: 21
- Views: 5733
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...
- Feb 17, 2011 4:34
- Forum: Projects
- Topic: Procedural block world project
- Replies: 310
- Views: 123822
- Oct 14, 2010 10:34
- Forum: Community Discussion
- Topic: What would you want in a Code Library?
- Replies: 13
- Views: 3473
- Aug 04, 2010 23:27
- Forum: Community Discussion
- Topic: -Tangible- Productivity Tips
- Replies: 19
- Views: 3504
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...
- Jul 15, 2010 1:21
- Forum: Sources, Examples, Tips and Tricks
- Topic: SAT based Polygon Collision
- Replies: 18
- Views: 5823
- Jul 08, 2010 3:20
- Forum: Game Dev
- Topic: [solved] Need a hint about volume calculation of sphere.
- Replies: 15
- Views: 5616
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^...
- Jul 08, 2010 0:14
- Forum: Game Dev
- Topic: [solved] Need a hint about volume calculation of sphere.
- Replies: 15
- Views: 5616
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)
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)
- Jul 06, 2010 3:45
- Forum: Sources, Examples, Tips and Tricks
- Topic: particle based interactive fluid
- Replies: 21
- Views: 5733
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...
- May 31, 2010 4:22
- Forum: Community Discussion
- Topic: Should gfx library be improved, in newer version?
- Replies: 38
- Views: 8077
- May 31, 2010 0:53
- Forum: Community Discussion
- Topic: Should gfx library be improved, in newer version?
- Replies: 38
- Views: 8077
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...
- May 20, 2010 0:41
- Forum: Community Discussion
- Topic: This Isn't BASIC
- Replies: 17
- Views: 7039
Re: This Isn't BASIC
We won't hold it against you. :)MrHetfield wrote:PS sorry for my English I'm not from Australia ;)
Welcome to FreeBASIC.
- Apr 27, 2010 0:08
- Forum: General
- Topic: ASCII Diagonal Lines Troubleshoot
- Replies: 8
- Views: 3848
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...
- Apr 08, 2010 5:16
- Forum: Community Discussion
- Topic: This Isn't BASIC
- Replies: 17
- Views: 7039
- Apr 07, 2010 3:22
- Forum: Community Discussion
- Topic: This Isn't BASIC
- Replies: 17
- Views: 7039