Water

  • Aizria
    4th Aug 2010 Member 0 Permalink
    You only really have to check 3 or 4 points as the surface settles (I think) and this could even be done in a separate process. (please don't shoot me for making a generalized suggestion.)
  • triclops200
    4th Aug 2010 Former Staff 0 Permalink
    it would be possible with threading, but still to coding-ly (can't find right word ) hard.
  • Aizria
    4th Aug 2010 Member 0 Permalink
    Yes, I admit that this wouldn't be very easy code-wise (), but it's definitely possible.
  • ssc4k
    4th Aug 2010 Member 0 Permalink
    But I just don't see how you can program it in... how are you supposed to know if a body of liquid is touching wall (solids such as metal might be easier)? How are you supposed to actually move the particles around how they should once you find out they need to be leveled? How are you going to handle different liquids interacting? How will you properly change the pressure when the liquid moves? Once you do all of this how is it supposed to run in real-time?

    All of these reasons and more are reasons a grid based simulation of this type just doesn't work well with proper fluid physics.
  • Aizria
    4th Aug 2010 Member 0 Permalink
    ssc4k

    1.) Take a look at the psuedocode

    2.) It's *twitch* only a *twitch* simple, over-generalized *twitch* pseudocode *twitch* example to *twitch* give an idea *twitch* *twitch* of a possible way *twitch* that something *twitch* like this could be done! *twitch* *twitch* *twitch* *seizure* *ta-twitch* *twitch* *twitch*.

    Ahhhhh! I feel better now with that off of my chest!
  • lolzy
    4th Aug 2010 Former Staff 0 Permalink
    You alright there twitchy?
  • Aizria
    4th Aug 2010 Member 0 Permalink
    I am now! Oh...wait...*twitch!* Okay, now I am.
  • ssc4k
    4th Aug 2010 Member 0 Permalink
    I looked at the pseudo code and from what I understood it said is how you would calculate the local gravity effect, it doesn't say how you would select which particles (under) the surface get what gravity or any of the other problems listed in my above post :/.

    I'm not trying to be a dick or anything as I really would love better physics (wouldn't we all? :p) but it's just not reasonably feasible to code and it certainly never will never make the performance requirements to get in.
  • Aizria
    4th Aug 2010 Member 0 Permalink
    I'll see about trying to implement better fluid physics once I set up a github account and begin work on my own little mod of PT. I may as yet be able to get it to work well. Or mabey not. We'll see.
  • bbqroast
    4th Aug 2010 Member 0 Permalink
    Might as well ask here (all tghis talk about OE and stuff makes it appropriateish)
    What is powder written in??
    C,JAVA, what is it...
    With the amount of people who have the source i can't see it being a secret...
    BBQROAST
Locked by cracker64: Necrooo