Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 05-17-2010, 04:27 AM   #5 (permalink)
DanBourque
Registered Member
 
Join Date: May 2010
Posts: 1
DanBourque is on a distinguished road
Default Looking for OpenGL help with fluid simulation

Hi Nick,

Is there any chance that GLUT_Fluid_Example.zip or other similar source is still available for download somewhere? I've been trying to implement the navier-stokes solver, and could use the help.

Any help would be greatly appreciated.
Cheers,
Dan.
Square Master (Dan & Kathy Bourque)

Quote:
Originally Posted by Nitrex88 View Post
Ok I'm trying to learn fluid simulation and the best I could find was using the navier stokes equations for fluid simulation in gaming. A very in depth article about this was created by Jos Stam. The article can be found here...

http://www.google.com/url?sa=t&sourc...sDBl28cphoIxUQ

Along with this article (on Jos Stam's website) I found a link to a full C project written in openGL and GLUT creating this fluid simulation. You can download it yourself from his website if you want. I went ahead and packaged it in an xcode project already and you can see it here...

Welcome nitrexpro.com - Hostmonster.com

Just build and go to run. To add density you right click and hold and then click with left mouse button to apply forces. You can also hit "V" to see a line version of the velocity.

Anyway I'm trying to port this to iPhone which does not have GLUT and i am having some trouble. I know it can be done and a video using this exact code ported to iPhone can be seen here...

Besmoke - Interactive Fluid Simulation with iPhone and Sound Reactivity on Vimeo

Therefore i know it can be done but i cannot figure out the transition. If any of you are up for the challenge and have some spare time can you try to make the changes in code so it will run on iPhone. I dont need the velocity view with the lines and stuff, just the stuff with adding density and pushing it around (you will see). If not can you perhaps give me some pointers on what needs to be changed and where to look or start. This forum has been super helpful so hopefully someone can solve this problem too. Thanks a ton!

Nick
DanBourque is offline   Reply With Quote
 

» Advertisements
» Online Users: 486
18 members and 468 guests
AppsImpact, baja_yu, Brandt, BuzzingDanZei, Chickenrig, Domele, dtkamal, fschwehn, gbenna, JMLdev, mer10, Mrclam, nestochi, onenoc, stoone, toolifog, vbovio, Yoonoo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,549
Threads: 94,075
Posts: 402,717
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JMLdev
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:03 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.