Author Topic: moment of inertia  (Read 4363 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
we all know that this has been a bit of a thorn in our sides, this little 3x3 matrix in all the V models that we haven't been able to figure out how to calculate, and thus our models when converted don't act corectly.
well over the last day or so, I've been doing quite a bit or research, it turns out that this isn't simply a matrix, but it is in fact a tensor.
further, I have managed to figure out a partal formula for figureing it out, I am posting my findings now in hopes that someone else can figure it out, and so I don't foget.

Code: [Select]

[
[ƒ°(y^2+z^2)],  [-ƒ°(x*y)],     [-ƒ°(x*z)],
[-ƒ°(x*y)],     [ƒ°(x^2+z^2)],  [-ƒ°(y*z)],
[-ƒ°(x*z)],     [-ƒ°(y*z)],     [ƒ°(x^2+y^2)]
]


that'd be the sum of every particle * mass/n_paricles as n_particles->infinity, x,y and z are the coords of °th particle

(ƒ° == sum, screwy font...)
« Last Edit: October 02, 2004, 09:05:25 pm by 57 »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline redsniper

  • 211
  • Aim for the Top!
finally someone's starting to figure this out. good job as usual, bob. :yes:
"Think about nice things not unhappy things.
The future makes happy, if you make it yourself.
No war; think about happy things."   -WouterSmitssm

Hard Light Productions:
"...this conversation is pointlessly confrontational."

 

Offline Liberator

  • Poe's Law In Action
  • 210
Dear God, I started bleeding from my nose and ears just from reading that link...:shaking:
So as through a glass, and darkly
The age long strife I see
Where I fought in many guises,
Many names, but always me.

There are only 10 types of people in the world , those that understand binary and those that don't.

 
IF (math > 5th grade Dutch high school) THEN {
CRASH and BURN
}
Else{
be-bored
}


cough

nyway, this is a bit too advanced for me, but it looks like a good job.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline magatsu1

  • 210
I have no idea what this thread is about...:nervous:
Blitzerland: Knows what he's talkin' about

 
Great job! Decode that spagetti logic! :p

Really wish :v: would have documented some of that code.

 

Offline KARMA

  • Darth Hutt
  • 211
    • http://members.fortunecity.com/aranbanjo
I think that just making this post in public you prevented lots of people to try learn programming eheh :)

 

Offline Lightspeed

  • Light Years Ahead
  • 212
I just copy it from similar V models and it worked like a charm so far. :p

If you use models from FS1, you'll have to apply specific multipliers to the values for things to work properly. I figured those out once, some years ago.
Modern man is the missing link between ape and human being.

 

Offline magatsu1

  • 210
I thinl he posted a load of complicated looking giberish just to try and look cool. :p :D
Blitzerland: Knows what he's talkin' about

  

Offline aldo_14

  • Gunnery Control
  • 213
Quote
Originally posted by Lightspeed
I just copy it from similar V models and it worked like a charm so far. :p


Doesn't work for me.  CoW suffered big time from this.

 

Offline Deepblue

  • Corporate Shill
  • 210
Hmmmm. Since I do not understand the contents of this thread may I hope that you will implement semi-newtonian physics into the SCP?

 

Offline Lightspeed

  • Light Years Ahead
  • 212
no. This is about the POF settings FS2 always had, and most mods ignore (fools! harrrrrrr.) :)
Modern man is the missing link between ape and human being.

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Another reason TVWP will be superior. :p
Freelance Modeler | Amateur Artist

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i wish people would start explaining how theese settings work in a manner that those of us who suck at math can understand.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline aldo_14

  • Gunnery Control
  • 213
http://en.wikipedia.org/wiki/Tensor

In mathematics, a tensor is a certain kind of geometrical entity which generalizes the concepts of scalar, vector (spatial) and linear operator in a way that is independent of any chosen frame of reference. Tensors are of importance in physics and engineering.

While tensors can be represented by multi-dimensional arrays of components, the point of having a tensor theory is to explain the further implications of saying that a quantity is a tensor, beyond that specifying it requires a number of indexed components. In particular, tensors behave in special ways under coordinate transformations.

 

Offline KARMA

  • Darth Hutt
  • 211
    • http://members.fortunecity.com/aranbanjo
the funny thing is that I thought bob was discussing about some piece of ununderstanded code related to the game physic :D
well, maybe not so funny:nervous:

 

Offline Flaser

  • 210
  • man/fish warsie
AFAIK know a tensor is a special matrix, which can be used as an operator.

The said matrix multiplied by a vector may give you another vector.

Oversimplifid one dimensional example is mass as the tensor and aceleration as the vector and as a result you may get the velocity.

What Bob diged up seems early similar to the tensor we use in Strudiness (a matter I study at uni).

It is a 3x3 matrix, where the main diagonal has the secondary inertia of the particle for both axeses, while the other components have the simple secondary inertia.
« Last Edit: October 04, 2004, 05:40:58 pm by 997 »
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
so how does this relate to the ships physics characteristics in the game?
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
AH.... It all makes sense now.

::downs tequila shot::

Its clear as crystal. What? huh!?

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
this means that if you have a 20 mile long ubber destroyer and it gets hit by a 5kg missle going 10 m/s the ship won't spin around. moment of inertia is basicly how hard it is to turn something.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together