Ah... geocities are going down, here is some fun
while it lasts... GAFFER: This is actually quite
a black art and Ive found very little documentation or
papers on the game specific implementations of this, so
if anybody has some to share or perhaps some good
search terms to hop off on a research expedition on this,
id really appreciate it
ABARABA:
Isnt it hilarious? You wrote article about it, you
know? Hahaha!
Are you really going to appreciate the answer? Lets see,
here it is:
http://www.gamedev.net/community/forums/topic.asp?topic_id=546652
I have a new link for you, its my newest set of
highly popular articles concerning neural networks and
AI. As usual, it did not take long until I made some
discoveries in this field as well. I actually solved
Tic-Tac-Toe game with only a single layer perceptron
network, by hand! Yes, my friend, I mapped 255,168
combinations into only 81 bytes of connectivity logic. I
even implemented it all in parallel and no one of course
realized the importance of it, nor do I expect you will,
but I dedicated the last post to you, so Id like you
to know about it:
http://www.gamedev.net/community/forums/topic.asp?whichpage=3&pagesize=25&topic_id=546912
And, in case you forgot:
A.) Physics. You are failing to apply primary school
physics. 10 year old kids can do the free fall, and
any other situation with uniform or constant acceleration
without any error. If you use any kind of
interpolation/extrapolation with uniform acceleration
_you are bloody idiot, mate.
B.) P2P. Grasp how EXTRA latency inexorably comes with
the server approach, and understand LATENCY is the most
important factor in online gaming. P2P does not have
bandwidth problems, it is actually more suitable for
low-bandwidth situations, it can support more players
than server based approach, and most importantly it is
not as limited by location and distance.
***
Originally Posted by monjardin:
"Yes, but that is not what Gaffer said. How do you
propose integrating that over time without error? To
argue that Euler integration is exact on top of this
other crap gets my vote for banning you from the
forums"
http://en.wikipedia.org/wiki/Kinematics
http://en.wikipedia.org/wiki/Uniform_acceleration
Code:
//******************************************************
//** KINEMATIC EQUATIONS, 10sec free fall
//**
//** s = ut + 1/2at^2
//** v = u + at
//** s = ((u + v)t)/2
//**
//******************************************************
#include <stdio.h>
int a= 10; //gravity or acceleration
int s= 0; //distance or 'delta distance'
int u= 0; //initial velocity
int v= 0; //final velocity
int dt= 1; //delta time or FIXED-TIMESTEP
int main(void){
for(int time=0; time<=10; time+=dt){
printf("t= %d position= %d velocity= %d\n", time, s, v);
u= v;
v= u + a*dt;
s+= ((u+v)*dt)/2;
}
}
--- OUTPUT:
t= 0 position= 0 velocity= 0
t= 1 position= 5 velocity= 10
t= 2 position= 20 velocity= 20
t= 3 position= 45 velocity= 30
t= 4 position= 80 velocity= 40
t= 5 position= 125 velocity= 50
t= 6 position= 180 velocity= 60
t= 7 position= 245 velocity= 70
t= 8 position= 320 velocity= 80
t= 9 position= 405 velocity= 90
t= 10 position= 500 velocity= 100
**** Gaffer says:
Code:
t=0: position = 0 velocity = 0
t=1: position = 0 velocity = 10
t=2: position = 10 velocity = 20
t=3: position = 30 velocity = 30
t=4: position = 60 velocity = 40
t=5: position = 100 velocity = 50
t=6: position = 150 velocity = 60
t=7: position = 210 velocity = 70
t=8: position = 280 velocity = 80
t=9: position = 360 velocity = 90
t=10: position = 450 velocity = 100
...so, he tells you to do something like this:
Code:
void integrate(State &state, float t, float dt)
{
Derivative a = evaluate(state, t, 0.0f, Derivative());
Derivative b = evaluate(state, t, dt*0.5f, a);
Derivative c = evaluate(state, t, dt*0.5f, b);
Derivative d = evaluate(state, t, dt, c);
const float dxdt = 1.0f/6.0f * (a.dx + 2.0f*(b.dx + c.dx) + d.dx);
const float dvdt = 1.0f/6.0f * (a.dv + 2.0f*(b.dv + c.dv) + d.dv)
state.x = state.x + dxdt * dt;
state.v = state.v + dvdt * dt;
}
whichever you prefer, my dear.
--- moving....
-----
Three bugs with
one stone.. allegory
continues
RealTime
Allegory Novella, Technical Paper and Chronological
account of an Algorithm discovery
by Zeljko
Aksentijevic, 30-Sep-2008 (..to my mother and father, to
all my teachers)
This story
is based on facts,
any similarity with fictional events or characters is
entirely coincidental
This story is also an actual technical paper about the
algorithm,
about important loop used in real-time animation software
such as video games..
Actually, this story
might still be present on the interenet in full,
double drama takes place on forums, in what was then, and
maybe still is, the real-time..
***
-"What
is The Matrix?
Control.
$___________________________________________[|
The Matrix is a computer generated dream
world
built to keep us under control in order to
change
a human being
into this.
########
##BATTERY#
########"
Minutes
(-"Snake!
You can't do that! ..You'll create a time
paradox!!")Time-Paradox
..as i collected all the stuff
from many different forums,
deleted -most-of-the- garbage & bloat ..and
there is this stuff that was removed from public
forums and therefore can not be found anywhere
else but in this book - basically, i collected
(preserved) the information, filtered it and put
it all in one place..
>>"Mr(s) abaraba, do you think
you could possibly behave a little less.. like
yourself?"
- that sounds
interesting,
"wording", color of the font, color of
the skin.... or language does not matter - words
offer only means to meaning and 'the meaning', as
long as it is true, is all what matters - only
the Value and Veracity of such..
some words carry more meaning than other,
and some "spells" - say algorithms in
C++ or plain sentences in English like this one -
could be 'cast' easier (faster or more potent)
with some words, or some combination of some
words, than with some other words.. terms
to simply answer your question - you're right,
i do it for the 'joy' of it, and if i was aware
of any negatives i would sure consider them and
try to modify my behavior to fit "more
general" purpose
..but until then,
im guided by my subjective views and purpose - to
evolve i need external input, something i would
need to adjust to.. evolution, mutation,
necessity ..so to say, i need a chaos as a means
to create a harmony
and of course,
its all Vaudeville, as i said ..i am a CLOWN
indeed, but this clown carries a mirror, its a
special sort ..it's a Kind of Magic sort, and boy
let me tell you - it reflects!
|
i appreciate your opinion,
still, i have mine to which i firmly hold ..until proven
wrong
(\___/)
(='.'=)
(")_(")
-"When you
understand why you dismiss all other gods you will
understand why I dismiss yours"
Stepping
the simulation correctly - living la vida
loca
(Intel
Software Network, Havok Physics Engine Public
Forum)
September
25, 2008
ahm.. there are two stories here, (@..alegoria
continua)
one story is 'obvious story', its just what it is
- a conversation on public forum where im trying
to argue, somewhat emotionally, a validity of
this bug-report and propose solution to
which i would like to have some feedback on.
now,
the other story is a little sci-fi 'Cyberpunk
NOVEL', kind of like the Matrix trilogy, hence
the preluding quote, but this tale is all in
ALLEGORY, i.e. it has symbolic or figurative
meaning and its already told, its woven within
this real-time dialog/monologue on public forums,
its a "real-time allegory novel" if you
will, i hope you will like it..
- its about
"good and evil" (Intel/Havok), about
the beginning of time (let there be light),
creation (Designing API), it is about existence
and life (ANIMATION), about humans
("Newbies"), human behavior (ALGORITHM)
and "soul" (Source Code)
[MISSING-REPEAT]
both
tales, tho completly unrelated, progress
chronologically and coincidence in
"spirit",
follow very specific and yet very different
themes, but still, they both 'come up' as
"true"
but hey,
dont forget.. the algorithms are still real!
|
(From IBM advertisement for Linux: "The future is
open"...)
-"This
is business.
Faster. Better. Cheaper. Constant improvement."
(CEO)
-"A
player who makes a team great is more valuable than a
great player.
Losing yourself in the group for the good of the group,
that's teamwork."
(John Wooden)
-"So,
you wanna fly, huh?
Wind speed, thrust.. it's physics."
(Pilot)
-"We've
always watched the stars.
If you look at the sky, you can see the beginning of
time."
(Astrologer)
-"Res
publica, non dominetur!"
(Latin Teacher)
-"Collecting
data is only the first step toward wisdom,
but sharing data is the first step toward
community."
(Henry Louis Gates)
-"Everything's
about timing, kid."
(Penny Marshall)
-"Speak
your mind. Don't back down!"
(Muhammad Ali)
-"One little thing can solve an incredibly complex
problem."
(Sylvia Nasar)
Deus ex machina
-"All
truth goes through three stages. First it is
ridiculed, then it is violently opposed,
finally it is accepted as self-evident." (Schopenhauer)
"NUMERICAL INTEGRATION":
Interpolation, Extrapolation, Verlet, Runge
Kutta, Taylor, Modified Euler...
let
me argue these two:
A.)
"NUMERICAL INTEGRATION" is completely
misplaced in its practical implementation, time
stepping algorithm
B.)
"NUMERICAL INTEGRATION" is completely
NOT NECESSARY in this algorithm, and as such, it
is actually a cause of inaccuracy and slowdown
"Euler method" is all you need.. but
maybe i can argue 3rd point as well
C.) Not even "Euler method" is
required, all you need is basic kinematic
equations and you solve the problem in easy three
steps, just like you did in high school:
STEP
1: calculate INSTANTANEOUS acceleration (this is
the ONLY topic for discussion)
then
calculate position at the end of the step as
usual...
STEP
2: v=a*dt
STEP 3: s=v*dt
--->REPEAT
i dont see why would that be called "Euler
method" and why would there be any kind of
"numerical integration" ..sure, since
it is iterative loop it is some sort of
"integration" in its nature, but
calling it fancy names while it is a matter of
simple kinematic equations is misleading, yes?
...and once we agree,
we have a chance of making a really nice, general
and universal algorithm... having in mind that in
case where acceleration was uniform during the
time-step the INSTANTANEOUS acceleration is
nothing more but simple AVERAGE
so,
the REAL QUESTION is - what is the
"AVERAGE" of INVERSE SQUARE change of
rate in acceleration (jolt, surge)
--- THE TRICK ---
because you not quite sure what is the
acceleration at the end of the step - you are not
quite sure about the "average" ..and
even worse you are not quite sure even about
acceleration at the begging of the time-step,
since you calculated it with this same
uncertainty the last time as well
..kind of like 'Schrodinger's cat' and thing
about determining the position of an electron in
atom orbit, you can not know velocity, mass and
position in the same time.. interestingly, in
analogy we could achieve COMPLETE SPATIAL
ACCURACY, by giving up the certainty of TIME, but
sure without knowing "what time it is"
during the simulation, we cant quite iterate to
the next step and we would not know what time it
is "around" other objects ..ah damn
quantum mechanics!
all
i wanted is to make the bloody Moon spin around
the Earth ..sheesh! can human not do anything on
this planet without bumping into some PARADOX?!
let me repeat this now,
- this is COMPLETE and EXACT solution with
constant gravity (constant altitude), simply
because we KNOW the exact acceleration at ANY
time and so we can calculate that average
acceleration easy: (a1+a2)/2
so
again,
the REAL QUESTION..
The
Ultimate Question of Life, Universe and
Everything:
what
is the "AVERAGE"
of INVERSE SQUARE change of rate in acceleration
?
42?
answer
that question,
and, in return, i'll simulate 'LIFE' inside the
computer.. virus or bacteria perhaps, on atomic
or molecular level ...how does that sound?
--- PROBLEM, "NUMERICAL INTEGRATION"
aka "INTERPOLATION" ---
(Runge
Kutta, Verlet, Taylor.. and other fancy pants)
//-------------------------- *** ORIGINAL algo -
capping the NUMBER
cnt= 0;
time= 10;
maxSteps= 5;
while(time > 0 && cnt < maxSteps)
{
step(); cnt++;
time--;
}
//--------------------------
Iterations, cnt= 5
"Time left", time= 5
---
SOLUTION, "TEMPORAL DISTRIBUTION" ---
Date:
Sep 2, 2008
Algorithm: "La Vida
Loca"
//--------------------------
*** 1st algo - scaling the TIME
"inside"
cnt= 0;
time= 10;
scaleFactor= 1;
while(time > 0)
{
step(); cnt++;
time--; time-= scaleFactor;
}
//--------------------------
Iterations, cnt= 5
"Time left", time= 0
//-------------------------- *** 2nd algo -
capping the TIME "outside"
cnt= 0;
time= 10;
if(time > 5) time= 5;
while(time > 0)
{
step(); cnt++;
time--;
}
//--------------------------
Iterations, cnt= 5
"Time left", time= 0
//----------------------------------------------------------------------
(R) All rights
reserved, dont you dare use this code unless you
can prove to me you're human being.
Use of this algorithm in commercial products
without my permission will be cheerfully taken to
court.
|
***
Fugue,
uvertira
-"Good
evening, Earth.
Allow
me first to apologize for this interruption.
I do, like many of you appreciate the comforts of
the everyday routine, the security of the
familiar, the tranquility of repetition.. I enjoy
them as much as any bloke.
But
in the spirit of commemoration - whereby those
important events of the past, usually associated
with someone's death or the end of some awful
bloody struggle, are celebrated with a nice
holiday - I thought we could mark this day, a day
that is sadly no longer remembered, by taking
some time out of our daily lives to sit down and
have a little chat.
There
are, of course, those who do not want us to
speak. I suspect even now orders are being
shouted into telephones and men with guns will
soon be on their way. Why?
- Because while the truncheon may be used in lieu
of conversation, words will always retain their
power. Words offer the means to meaning and for
those who will listen, the enunciation of truth..
Cruelty and injustice...
intolerance
and oppression.
And
where once you had the freedom to object, to
think and speak as you saw fit, you now have
censors and systems of surveillance, coercing
your conformity and soliciting your submission.
How did this happen? Who's to blame?
Well certainly there are those who are more
responsible than others, and they will be held
accountable. But again, truth be told... if
you're looking for the guilty, you need only look
into a mirror.." (V4Vendetta)
Fix Your Timestep!, Unstable Physics & Smooth
Animation
(NVIDIA Developer Forums, PhysX SDK - PhysX SDK 2.8.X)
Oct 1, 2008
in
case you've been using some implementation of simulation
stepping function based on, or similar to what is
described in this article: "Fix Your Timestep!"
..then, you might be interested in 2nd opinion on these
matters,
actually, after completing intensive research there was a
realization that it turns out almost "everyone"
is using some version of this algorithm with
interpolation or some kind of numerical integration,
including popular Physics engines and libraries used not
only in Computational Physics, Chemistry, Biology and
similar scientific simulations, but also in commercial
console and PC games
..anyway, there is "a paper" on this,
and some 'bonus material' that actually turns this tech.
paper into an Allegory Novella and couple of more other
things... -"How beautiful, is it not! (eccentric
guffaw) ..But on this most auspicious of nights.. permit
me then, to suggest the character of this 'dramatis
personae'."
Kapitoly:
I) Genesis, anecdote
II) Divina Commedia, abysm spirale
III) Seraphim and Nephilim, the chronicles
IV) Aspidochelone, physiologus
V) ..alegoria continua
..among other themes,
book most obviously and most practically addresses these
issues:
Common
bugs
in Havok, PhysX, Bullet, ODE, Ogre, Newton..
SOLVED!
Bug
1.) Few subSteps: "Moon gravity
effects"
bUg 2.) A lot of subSteps:
"Spiraling to death"
buG 3.) Interpolation VS.
Temporal Distribution
Common mistakes
related to fixedTimeStepping - UNCOVERED
a.) Design-Time Planning and Recognition
of Hardware Min. Sys. Requirements
b.) "Scaling the World" - Gravity,
Mass, Size and Hidden Effects of fixedStepping
c.) Jitter, Wobbles, Choppiness and Slowdowns:
Unstable Physics & Smooth Animation
Common pitfalls
for any kind of simulation, say - MOLECULAR
DYNAMICS
-"Error and timing analysis
of symplectic multiple time-step integration
methods for molecular dynamics"
-"In
molecular dynamics simulations,
'Energy Drift' is the gradual change in the total
energy of a closed system"
-"Multiple
time-step integration
hampered by parametric resonance exhibits the
instability phenomenon"
|
Oct 1, 2008
>>"Haven't
you already spouted this on every remotely related board
existing on the internet?
And
haven't the reception on pretty much all of those boards
been rather negative.."
- yes.. can
you explain the reason for that?
why would anyone have negative response on BUG-FIXES ?!
>>"..at
which point you refuse to listen?"
- you silly human person,
i fixed THREE huge bugs and lots other errors that were
connected to these issues ..if you do not care - go away
so, you
want me to keep this for myself,
that is an option, sure ..and you better watch out if you
going to use these algorithms - you failed as human being
and so you do not have my permission to use them
Oct 1, 2008
>>"abaraba,
focus your energy on knocking up some sort of
tutorial/demo.."
- what the ?!
you silly human person, why would i do that.. i already
found these bugs and i found solution and how in a world
you find appropriate to lecture me what else i need to do
for you so you could fix your own bugs?!
btw, i did
set up all the demos and tutorials, sheesh!
-------------------------------------------------------------------------------------
this is ONLY for people that use fixed time step,
and therefore KNOW about these problems
- if you do not use, do not know or do not care, than
this discussion is not for you
also, if you going to pretend that you know,
or that you knew all along, then be ready to prove it,
otherwise please stay out ..or you might end up as a part
of the book
-------------------------------------------------------------------------------------
Oct 2, 2008
>>"Lol
obviously we're all inferior to your species."
- i dont think so and i certainly hope thats not
very true
>>"I
look forward to reading your book"
- i hope that will explain
Oct 2, 2008
>>"The
subject is something very badly documented wherever you
look.."
- yes.. yes, indeed ..how peculiar isn't it?
and guess what.. i documented it in full, and guess again
- everyone hates me for it.. hahahaa!
..don't
hate me just because im cool ;-)
>>"..I
would like to shed up some light"
- ah, if you only omitted that sentence,
if you go on pretending that you know - you will never
learn
>>"..since
I don't really understand how to integrate/interpolate
all my objects."
- why did you put so much effort into
"explaining it", when you really have no idea
what is it you're talking about
>>"Ok
this guy obviously have some issues and no reasoning
capabilities.."
- if you want to blame me for your inability to
understand.. feel free,
anyone else is free to ask any question and i'll try to
explain as best as i can, i'll even explain it in your
terms, as long as you define them and/or more precisely
describe what is it you do not understand or dont agree
on
>>"Now,
the answer to what I ask might have been said by the OP,
the Gaffer "Fix Your Timestep" article."
- your sentance does not make sense,
Gaffer "Fix Your Timestep" article. is WRONG!
>>"While
I like it, I have no idea how to change my simple
update(deltaT) design to this."
>>"I also don't want to work too hard if it's
not the right path. "
- stop
insulting yourself already, you lazy human kind of person
>>"..and
something some big choppiness but most of the time it's
smooth, unfortunately if I stress the video card to lower
the FPS, the movement get slower too, and that's
unwanted."
- ok you too can continue to use your buggy old algorithm
and better watch out if you going to use my algorithms -
you failed as human being and so you do not have my
permission to use them
>>"Any
article I might have missed who explain the principle
would be greatly appreciated. "
- its too late for you now,
you missed it, it was right in front of you
+++ do you all understand that i came here to HELP you?
there is no reason,
what so ever, for any of you try to put me down
i fixed
THREE bugs for YOU, ok?
- you can say "thank you"
- you can ask anything
- you can agree
- you can disagree and we can discuss it until one is
proven wrong
* but what ever you say, you MUST QUOTE what are you
referring to and use ARGUMENTS to support your oppinion,
NOT GUESSES, NOT ASSUMPTIONS - so we can make it clear
for everyone and continue the discussion
TAKE IT or
LEAVE IT !
Oct 2, 2008
Ylisar,
nonsense,
you contradict yourself in almost every sentence..
>>"First
of all the source on his page is both badly structured
and unexplained. I've spent a few minutes reverse
engineering it from the little context that is offered.
From that it's obvious that he hasn't "solved"
anything.""
- ah, what a strange logic
its obvious that you simply failed to understand
..and you could ask,
as i said, i would have made it more clear for you if you
were SPECIFIC about it, but if you just go on saying
stuff "is bad" without an argument, then thats
just plain rubbish talk
can you not read?
>"- but what ever you say, you MUST QUOTE
what are you referring to and use ARGUMENTS to support
your oppinion, NOT GUESSES, NOT ASSUMPTIONS - so we can
make it clear for everyone and continue the
discussion"
in any case,
you are free to clog my thread as much as you would like
me to clog your
>>"First of all it's not bugs at
all,"
- false statement,
they are bugs, quite a HUGE bugs actually ..ask Dunge, or
any other 90% of all people using physics engines that
are having problems because of this, in one way or
another.. did you miss that there are SIX points, six
quite HUGE BUGS:
1.) Few subSteps: "Moon gravity effects"
2.) A lot of subSteps: "Spiraling to death"
3.) Interpolation VS. Temporal Distribution
4.) Design-Time Planning and Recognition of Hardware Min.
Sys. Requirements
5.) "Scaling the World": Gravity, Mass, Size
and Hidden Effects of fixedStepping
6.) Jitter, Choppiness and Slowdowns: Unstable Physics
& Smooth Animation
>>"the
reason for why this isn't encapsulated in the physics
engine is because different applications wants different
solutions."
- false statement,
it is encapsulated in physics engines, but my solution
works equally no matter where it is implemented
>>"The
proposed solution has several problems.."
- hey, you said there ain't any bugs,
so what are you talking about then? ..this obviously does
not concern you:
----------------------------------------------------------------------------
this is ONLY for people that use fixed time step,
and therefore KNOW about these problems
- if you do not use, do not know or do not care, than
this discussion is not for you
----------------------------------------------------------------------------
>>"Imagine
the case of the game running in 59 FPS with a
fixed.."
- i do not need to imagine anything,
i have tested practically all three algorithms, so
basically what im telling you is that your 'imagination'
is a bit off this time, sorry you're WRONG
>>"The
"moon gravity effect" which he talks about is
most likely the effect which.."
- so, you too have no idea what are you talking
about and yet you put all this silly effort to say that
im wrong ..based on your IMAGINATION?!
>>"This
is a side effect of the imperfection of the integrator
used in modern phyiscs engines, where time steps size
affects system stiffness."
- hey, didnt you say how this is not implemented
in physics engines?!
- hey, didnt you say how there are NO bugs?!
wait, i see ..you call these bugs "side
effects" ..ok
>>"This
is also a lot easier to debug."
- no, no..
you should call it "de-sideEffect", there are
no bugs only side effects
>>"Another
problem with trying to simulate the physics.."
- huh, they "problems" now,
problems, side effects ..bugs - whatever you want to call
them, i took care of all of them ..but if you did not
have any problems in the 1st place, what are you doing
here then?
TO SUMMARIZE: you're wrong,
and you will see that for yourself once you actually test
algorithms and stop using your imagination for argument
..why do you bother, i wonder
Dunge,
>>"Your ways of insulting and getting
aggressive on people.."
- hey, thats my line!
it was you who first said stuff like this:
>>"this guy obviously have some issues and
no reasoning capabilities"
>>"As I understand (and what abaraba
don't)"
.. and since you >>"I agree myself not to
know the subject"
then i find rather strange you said such things to
someone who wrote a book on the subject, eh?
(and all that without even reading the book)
>>"..before
you started on your religious quest to spread your
knowledge."
- that sounds rather interesting!
>>"That's
also why I wrote this long reply... Did you answer
them?"
- yes, i did
its all explained in the book
>>"Gaffer
sure don't explain in a easy way neither, but at least it
make more sense."
- its all explained in the book,
all i ask is - if you're too lazy to see it for yourself,
please start your own thread, id rather not repeat all
the stuff ..i can only try to re-phrase stuff for you and
make it more clear, but please if you want to discuss
these matters here in my thread, then its only fair to
listen(read) what i have to say about it first, right?
>>"Anyway,
my previous post questions are still open for anyone ELSE
who would want to answer them. Thx. "
- again,
all your questions are answered, but i cant transfer that
information telepathically, not to you at least ..so, you
need to read it, and feel free to skip whatever is of no
interest to you
if you refuse to listen to me,
than please start you own thread, thanks
Oct 2, 2008
Ylisar, Dunge,
>>"It
actually don't explain anything, but have a badly
formatted code with no comments and incoherent variable
naming conventions." >>"Unfortunately
your implementation use Bullet, and my project is
configured with PhysX so I can't try it."
>>"First of all the source on his page is both
badly structured and unexplained."
>>"I've spent a few minutes reverse
engineering it from the little context that is offered.
From that it's obvious that he hasn't "solved"
anything.""
- i simply can not believe this!?
who are you people?! ..algorithm has THREE lines of code,
ok!?
so you suggesting this is:
- too complicated, badly structured, unexplained, badly
formatted, no comments, incoherent variable naming
conventions??
#define
STEP 0.0167f
static float accum;
void simulateAndRenderOneFrame(float deltaTime)
{
accum+= (deltaTime < STEP*2)? deltaTime : STEP*2;
while( accum >= STEP )
{
world->stepDeltaTime(STEP);
accum-= STEP;
}
renderScene();
}
>>.."and
my project is configured with PhysX so I can't try
it."
- uh, id put you in jail for saying that
hehee.. just kidding, i like you ..you amuse me
>>"I've
spent a few minutes reverse engineering it.."
- hahaa, what are you talking about, algorithm
is 3-5 lines of code
>>"
.. from the little context that is offered."
- well, all you need is those couple of lines
above, how silly, eh?
but,
actually there is quite a bit of context offered - have
you ever read a book in your life that has two different
stories told in the same text?
>>"Oh,
and where can I find this book of yours? "
- you are unbelievable,
you should be put in jail really, and im not kidding
now.. just read my 1st post AT LEAST ONCE
...and why
did you quote all that?
go away from my thread, i should have your job, you human
bloat-monster!
Oct 2, 2008
>>"Unfortunately
you didn't explain some of my questions.."
- sure,
you're not required to believe me, of course not!
but you failed to read or try and see for yourself,
ignorance is bliss, eh?
..so, why
don't you two just go and discuss that somewhere else?
>>"Ylisar
thanks for... I believe
you
are right as it's pretty much the same thing which is
being said"
- sweet!
let me now quote how Homer Simpson comments on religion:
-"..and all they ask for is a little bit of
blind fate."
how wonderful,
thank you everyone, you made it to the new chapter, i
told ya!
of course,
there is room for more..
Dunge,
just go away, dont you realize how silly look?
Oct 2, 2008
>>"The
|| sentence I said you quoted was not
meant to you but
to >>>>>>>>> Ylisar."
- yes, of course,
and thats why i said: >"..so, why don't you
two just go and discuss that somewhere else?"
>>"Now
what do you think look the more silly?"
- what in the world are you doing?
if you get formatting screwed like that then check you
browser, i tested it on IE, Opera and Firefox on Linux
and Windows so i can assure you that it is YOU who look
silly
>>"But
I can assure you WE TRIED IT!!!"
- you better not use it in commercial products,
i told you - too late!
>>"Trying
to explain you are strange (and wrong) or writing this
way? "
- you're trying to explain something to me?
i do not want to talk to you after all what happened
...go away, how many times i need to tell you, this is my
thread here and you are not welcome
you had
your chance,
i told you, i explained all the reasons and mistakes even
before you made them all ..go away
i report abuse,
someone please get this person from here
Oct 2, 2008
- Ylisar,
>>"Everything
which Gaffer writes is easy to do in PhysX.."
- who are
you talking to?
- what are you doing here?
- do you not realize that you are wrong?
- whats wrong with you?
GO AWAY,
TELL LIES SOMEWHERE ELSE !!
i report abuse,
someone please get this person from here
Oct 2, 2008
>>"I'll probably exit the discussion
with the clown. "
- hehee..
and what you quote is 'Bullet implementation'
AND STILL look at the second algorithm - FIVE LINES !!!
..go away
you human simpleton!
Oct 2, 2008
Dunge,
>>"Sorry
for my last post, but that guy was getting on my nerves.
"
- this is insane, what are you doing here then?!
you are in my thread and you are not welcome ..in my
thread ok? you are getting on my nerves because you are
in my thread, i can not possibly be getting on your
nerves because it is you who came here uninvited,
insulted me, refused to communicate and is now refusing
to leave
Violation,
transgression,
intrusion, obtrusion.. occupation, invasion!
THIS IS MY
THREAD, GO AWAY!
(you're still amusing tho, but i have to put some drama
(alludes) for my book ;-)
Oct 2, 2008
Nigel @ NVIDIA,
how
wonderful!
have you noticed that i found quite a few bugs around
PhysX design and propose solutions?
* would you
agree algorithms i propose address and solve the
mentioned THREE problems?
(YES/NO)
*whats your
opinion on how they work in practice - visual appearance
compared to original?
(DESCRIBE)
>>"There
is an expectation of polite and constructive discussion -
not insults and chest thumping."
- great,
then you will make sure Dunge and Ylisar do not post in
this thread and that i do not get put down for trying to
help, right?
>>"No,
it is not your thread"
- yes, it is 'my thread'
since i started it and its only fair that the matter in
my original post is discussed, is there any logic for you
to allow people coming here, insult me and than start
talking lies and ignoring me completely even tho i proved
them wrong - do yo agree?
Oct 2, 2008
Nigel
@ NVIDIA,
do you see
now what am i talking about? what is going on?! i proved
him wrong, he admitted and now he is just doing some
copy/paste to clog my thread, is there any logical
explanation for that..
- can you
please make them discuss that wrong technique somewhere
else?
- public would most benefit if we do not confuse these
two techniques, do you agree?
Oct 2, 2008
you remember what i told you before?
>"you are free to clog my thread as much as
you would like me to clog your"
you really do not need to believe in anything,
but to be HUMAN to appreciate the universality,
truthfulness and SIMPLICITY of such basic
philosophical/theological moral principle ..and Occam
here agrees with me
anyway, id
argue any day,
that's pretty much all you have to 'believe in' - so,
basically,
you failing as a human being by failing the most basic
human principle:
-"What
thou thyself hatest, do to no man." (Tobias 4:15, c. 180 B.C.)
Oct 3, 2008
Nigel
@ NVIDIA,
>"do
you agree?"
>>"No, I don't. Treat others with
some respect, and the result might surprise you."
- what the?
what are you talking about?
almost all of my questions to you were in the yes/no
form, what is it you referring to?
maybe this:
>"- public would most benefit if we
do not confuse these two techniques, do you agree?"
- if so,
you're WRONG
maybe this:
>"since i started it and its only
fair that the matter in my original post is discussed...
- do yo agree?"
- if so,
you're WRONG
but i didnt come here to argue with you or anyone, i've
come here to HELP you and tell you about these bugs and
solutions. whats wrong with you putting me down.. i treat
everyone as they deserve, it is not me who needs to
correct the behaviour (algorithm), but you and your
friends
please.. please, lets clear this up,
call your boss or someone else who knows..
its quite an important issue, so its only fair to address
these questions first:
* would you agree algorithms i propose address and solve
the mentioned THREE problems?
(YES/NO)
* whats your opinion on how they work in practice -
visual appearance compared to original?
(DESCRIBE)
- you can
say "thank you"
- you can ask anything
- you can agree
- you can disagree and we can discuss it until one is
proven wrong
* but what ever you say, you MUST QUOTE what are you
referring to and use ARGUMENTS to support your opinion,
NOT GUESSES, NOT ASSUMPTIONS - so we can make it clear
for everyone and continue the discussion, everything else
is rude, unclear or unnecessary
i can see you,
but you can not see me ..im not one, but many
- and so i represent the public, and this public says:
TAKE IT or LEAVE US !
//---"Vox
populi, vox dei"
Oct 3, 2008
makiolo,
- hey, thats perfect!
i wish i started to write this book from past to present
..instead, i did it the other way around.. uh, never mind
that
ok, i
really thought about it, thanks again, and even tried to
put it as first quote in the book - it doesnt work for
me, i think it would be way too cheeky, because im kind
of quite serious about all the subjects in question
throughout the book ..but, of course that is no reason
not to be humorous about it all!
so anyway,
how about something along these lines:
Agent
Ylisar :
- Me... me... me...
Agent Ylisar Clone (Dunge):
- Me too!
Agents Ylisar & Dunge (talking interchangeably):
- Why Mr. Anderson? ..Why? ..Why do you do it?
..Why? ..Why get up? ..Why keep fighting? ..Do you
believe you're fighting for something? ..For more than
your survival?, can you tell me what it is? ..Do you even
know? ..Is it freedom? ..or truth? ..Perhaps peace?
..Could it be for love?
..Illusions, Mr. Anderson, vagaries of perception. The
temporary constructs of a feeble human intellect trying
desperately to justify an existence that is without
meaning or purpose. And all of them as artificial as the
Matrix itself. Although, only a human mind could invent
something as insipid as love. You must be able to see it,
Mr. Anderson, you must know it by now. You can't win,
it's pointless to keep fighting. Why Mr. Anderson? ..Why
do you persist?
Neo No.7:
- y's#%$@!
Neo No.17:
- Hey, Mr. Agent dude ..don't hate me just because
I'm cool!
Neo No.71:
- For the Value and Veracity of such...
Oct 4, 2008
>>"Nobody
is obligated to endlessly debate with you, regardless of
whether you're right or wrong... I'm here to request some
more civility on this
forum."
- i agree,
actually that is, kind of, my point - why is everyone
thinking that i want or require anything from anyone?
nothing you need to do for me ..except to leave me be,
everything else you may do for yourself, if you wish, and
i even offer to help you there
or, maybe we shall ask 'other public' that makes visits
here,
if no one really cares, then fine, i'll keep this for
myself and everyone will go back home with few lessons
learned.. actually that makes it even easier for me,
since the book is done i surely have no more of my own
interest in this but to be helpful, therefore i will not
tolerate any criticism without arguments, but -with
arguments- you can try and piS_ on my head if you like,
just watch for the wind..
actually, i
look forward to be proven wrong,
equally as i look forward to be confirmed - in either
case I LEARN
>"Freedom
of speech must be allowed.
[..//.. but everything else should be allowed and
encouraged in conversation, we should challenge and
question one another in order to improve and get closer
to truth - that's what freedom of speech is all
about."
//----------------------------------------------------------------
Evey:
- Are you like a crazy person?
V:
- I'm quite sure they will say so. (giggles)
-"Voila!
In View, a humble Vaudevillian Veteran...
cast Vicariously as both Victim and Villain
by the Vicissitudes of fate.
This Visage, no mere Veneer of Vanity...
is a Vestige of the Vox populi,
now Vacant, Vanished.
However, this Valorous Visitation
of a bygone Vexation stands Vivified...
and has Vowed to Vanquish these Venal
and Virulent Vermin Vanguarding Vice...
and Vouchsafing the Violently Vicious
and Voracious Violation of Volition.
The only Verdict is Vengeance,
a Vendetta...
held as a Votive not in Vain,
for the Value and Veracity of such...
shall one day Vindicate the Vigilant
and the Virtuous.
Verily, this Vichyssoise of Verbiage Veers most
Verbose."
Finch:
- Can you prove any of this?
V:
- Why do you think I'm still alive?
Genesis,
Sunday
----------------------------------------------------------------------------------------------

This
book is subject to the condition that reproduction or
translation of this book or part thereof in any form
shall not, by way of trade or otherwise, be lent,
re-sold, hired out, or otherwise circulated without the
publisher's prior consent in any form of binding or cover
other than that in which it is published.
abaraba1@yahoo.com
http://www.oocities.org/ze_aks/myos.htm
|