Yeah, and heres' something that I have wondered about for a very long time: Why did the chicken cross the mobius strip?Originally Posted by Hunter2
Regards,
Dave
Yeah, and heres' something that I have wondered about for a very long time: Why did the chicken cross the mobius strip?Originally Posted by Hunter2
Regards,
Dave
Last edited by Dave Evans; 09-28-2004 at 08:04 PM.
Isnt' repeating forever infinity? So an infinite plane would be like a car racing game driving into the horizon forever.
"Knowledge is proud that she knows so much; Wisdom is humble that she knows no more."
-- Cowper
Operating Systems=Slackware Linux 9.1,Windows 98/Xp
Compilers=gcc 3.2.3, Visual C++ 6.0, DevC++(Mingw)
You may teach a person from now until doom's day, but that person will only know what he learns himself.
Now I know what doesn't work.
A problem is understood by solving it, not by pondering it.
For a bit of humor check out xkcd web comic http://xkcd.com/235/
>>So an infinite plane would be like a car racing game driving into the horizon forever.<<
yes, that is what I wasthinking about, but with the ability to go back - that is where it gets tricky, because you have to either have some way of storing what happened or follow certain rules, which lead to repetition etc etc.
some entropy with that sink? entropysink.com
there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka
If you want to create 3d animation and dont want to touch opengl :-) then you could use a developers toolkit ie OpenInventor or open scene graph.
These integrate into c++ and remove much of the coding ie 50 lines of ogl code can be 2 lines in OIV.
You would never be able to track a truly infinite plane (and be able to go back). You could track a large one, though, so long as you have a nice way of recreating it from stored parameters or actually reversing the function. (Of course, it really doesn't have to be a plane, per se.)
>>You would never be able to track a truly infinite plane (and be able to go back).
Not even with an incredibly ingenious random generation algo?
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
According to quantum therory, everything (time, mass etc.) comes in very small packages.Originally Posted by Hunter2
The shortest amount of time is around 10^-43 seconds.
The shortest distance is 10^-35 meters.
http://www.physlink.com/Education/AskExperts/ae281.cfm
Infinite precision isn't neccessary, 256-bit integer will probably be enough.
Just make a loop like this to simulate movement:
Code:int256 time; while (true) { pos += speed * 1e-43f; time++; //Stepforward one interval }
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
Even with that brilliant algorithm. The problem is not the algorithm, but the data stored. Imagine that you used a true random source (regardless of wether or not you think such a thing exists, we'll assume it does) to generate frames of your plane (never mind tracking them), you only grab a finite (but perhaps very large) amount of data from it each time (measuring in bits seems natural). The result is that, no matter how big your parameters, they only have a finite number of possible states.
>>According to quantum therory, everything (time, mass etc.) comes in very small packages.
But what about very large packages? I.e. the edge of the universe and eternity? Or does it come down to the 'ol mobius strip of the universe where we keep going but end up where we started, thus creating only an illusion of infinity?
>>http://www.physlink.com/Education/AskExperts/ae281.cfm
Haha, I was just there yesterday as I went to look up "Planck Length", inspired by zach's post...
**edit**
>The result is that, no matter how big your parameters, they only have a finite number of possible states.
If you mean that eventually you'll run into an area of terrain which is a duplicate of another, that isn't really a problem is it? Because there's no physical rule of the universe that decrees that each object must be unique... it's just that you don't want to run into a loop that keeps generating the same terrain endlessly - but if by pure random chance you run into a clone of another area for an instant, that's entirely within the rules of the universe isn't it?
Last edited by Hunter2; 09-29-2004 at 05:03 PM.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
Perhaps the universe is infinite, but its mass isn't. There is no need to simulate the parts of the universe that has no mass.
Hehe, Google power...Originally Posted by Hunter2
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
>>Perhaps the universe is infinite, but its mass isn't. There is no need to simulate the parts of the universe that has no mass.
But if its mass is spread to infinity (and I suppose someone has already proven it isn't ), then the data used for storing the position data would also need infinity - unless, again, you're dealing with random terrain But if it's spread far enough that the amount of resources readily available on the Earth won't be enough to build a supersupersupercomputer with enough memory for it, then I suppose technically it still is impossible (assuming we run out of resources before colonizing other planets). [edit]I'll rephrase that, if we can't harvest enough resources without causing some drastic environmental disaster that will destroy the computer anyway [/edit]
**EDIT2**
[offtopic^2]
Well, you could create a 'universe'... like... the BattleTech universe. If you write a nice story and history, you can create a ripoff of the real universe and name it something else, and you'll have a whole new universe!
[/offtopic^2]
Last edited by Hunter2; 09-29-2004 at 05:19 PM.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
Well, as long as you don't mind looping through terrain you've already been through, you can continuously generate terrain as long as you want. Unless it is an easily reversible function (in which case, it is bound to be periodic simply due to the nature of functions that computers can deal with), you won't be able to back-track too long.
The theory isn't that the universe is a mobius strip, but rather that our particular three-dimensional space is inflating (like a balloon's surface in the two-dimensional case). We can see things speeding away from each other in this manner. And, if the universe had spread out infinitely, then we would not bee able to see the distant objects (the average matter density of the universe would be 0).
The problem with modeling every piece of matter in the universe is 1) the most efficient way would just be to put a particle there and ask it where it is, how massive it is, etc. (in other words, a one-to-one correspondence, the universe itself would have to be the computer, otherwise you would need more matter than exists -- but the mechanism for polling/communicating with these particles is unclear), and 2) you really have to take into account particle-wave duality.
>>the average matter density of the universe would be 0
Right, I realized that shortly after I posted
I didn't mean looping through terrain you've already been through - although I suppose that's what it would come to eventually... Perhaps you're right that it won't work. But it sure would be cool Just imagine the creatures in the universe... "Ahh, the camera's moving away, we're gonna go out of scope.. hurry, run!!!!!"Well, as long as you don't mind looping through terrain you've already been through, you can continuously generate terrain as long as you want. Unless it is an easily reversible function (in which case, it is bound to be periodic simply due to the nature of functions that computers can deal with), you won't be able to back-track too long.
>>the most efficient way would just be to put a particle there and ask it where it is, how massive it is, etc.
Well, if you have a really neat compression or prediction algo then perhaps it could be done
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
Yeah, it would start looping over eventually (there are only a finite, but really bloody large, number of possible states), but for all intents and purposes, it may have an "infinite" cycle.
Hehe.. I would be worried about the "lossless" part of the compression algorithm. "Oops. That galaxy appears to have been corrupted."