Author Topic: physics @ work!  (Read 15994 times)

0 Members and 1 Guest are viewing this topic.

Offline petmar

  • 24
    • http://web.njit.edu/~pmm4/
stuff from GalacticEmperor
I've been talking to 'Emperor again, and we've decided that the only real problem with weapon systems is the anti-fighter beams.  Imagine you're looking at a laser pointer. The only way to see it is by reflection off its target or by pointing it through particles, i.e. dust and/or fog. The beams just need to not be visible on the side.

And, also, let's not get into a realists/arcadists rift in this thread, k, people? I don't want two camps on any given issue... I'd like to all take objective perspectives.
"And it truly is the most godawful looking thing you will ever see in FreeSpace short of an entire TC of untextured superpowerful cubes named 'TeH DeStRoIeRR!!!!11!1!'" -- Stryke9

"There is an expanding frontier of ignorance." -- Richard Feynman

"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened." -- Matthew 7:7-8

"To every thing there is a season, and a time to every purpose under the heaven: A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted; A time to kill, and a time to heal; a time to break down, and a time to build up; A time to weep, and a time to laugh; a time to mourn, and a time to dance; A time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing; A time to get, and a time to lose; a time to keep, and a time to cast away; A time to rend, and a time to sew; a time to keep silence, and a time to speak; A time to love, and a time to hate; a time of war, and a time of peace." -- Ecclesiastes 3

 

Offline Stryke 9

  • Village Person
    Reset count: 4
  • 211
Beams aren't lasers.

 

Offline petmar

  • 24
    • http://web.njit.edu/~pmm4/
I am presently working on slightly modifying the physics library to account for newtonian and keplerian physics...  Calling all coders interested in helping!
"And it truly is the most godawful looking thing you will ever see in FreeSpace short of an entire TC of untextured superpowerful cubes named 'TeH DeStRoIeRR!!!!11!1!'" -- Stryke9

"There is an expanding frontier of ignorance." -- Richard Feynman

"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened." -- Matthew 7:7-8

"To every thing there is a season, and a time to every purpose under the heaven: A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted; A time to kill, and a time to heal; a time to break down, and a time to build up; A time to weep, and a time to laugh; a time to mourn, and a time to dance; A time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing; A time to get, and a time to lose; a time to keep, and a time to cast away; A time to rend, and a time to sew; a time to keep silence, and a time to speak; A time to love, and a time to hate; a time of war, and a time of peace." -- Ecclesiastes 3

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
IIRC, if you were to change around the physics so it would be real, you would also have to change around some of the ai code.  the ai doesn't seem to like making head on passes as opposed to a turning fight and the former would be seen much more often in such an environment.  a semi-skilled pilot could pull some maneuvers that would make it real easy to kill hordes of maras on insane
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline petmar

  • 24
    • http://web.njit.edu/~pmm4/
Well, why don't we try the mods first, then we'll see what changes propagate outwards that we need to fix?
"And it truly is the most godawful looking thing you will ever see in FreeSpace short of an entire TC of untextured superpowerful cubes named 'TeH DeStRoIeRR!!!!11!1!'" -- Stryke9

"There is an expanding frontier of ignorance." -- Richard Feynman

"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened." -- Matthew 7:7-8

"To every thing there is a season, and a time to every purpose under the heaven: A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted; A time to kill, and a time to heal; a time to break down, and a time to build up; A time to weep, and a time to laugh; a time to mourn, and a time to dance; A time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing; A time to get, and a time to lose; a time to keep, and a time to cast away; A time to rend, and a time to sew; a time to keep silence, and a time to speak; A time to love, and a time to hate; a time of war, and a time of peace." -- Ecclesiastes 3

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
seems reasonable.  just make sure there is an option somewhere to make it use arcade physics again
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
The best thing to do, it seems, is to make another branch. After 3.6 is out with all the bugfixes, Petmar can start on his own version with Realâ„¢ physics.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Quote
Originally posted by petmar
I am presently working on slightly modifying the physics library to account for newtonian and keplerian physics...  Calling all coders interested in helping!

Woah, hold on there a minute. When you say "to account for", do you mean you're replacing Freespace physics with newtonian physics, or making it toggleable between the two? I haven't seen much support for your ideas so far (Out of a community of 500). I don't see anything wrong if you're making everything optional and off by default (More options are good :D), but actually changing the physics engine wholesale is almost certainly going to spark protest.

Oh, and a while back there was some discussion on making it possible to have turrets face sideways...IIRC, there was some major physics reworking that would be needed in order to make it work. Since you'll already be digging around in the physics code, you might be able to modify some stuff to make it easier for a more determined attempt. (WARNING: I have done almost no research whatsoever on this. ;) )

Edit to replies: Actually, IMHO, realistic physics should be toggleable on a per-mission basis
« Last Edit: May 08, 2003, 09:14:05 pm by 374 »
-C

 

Offline Starks

  • 29
Wasn't there a www.freespace2.com code in the game for Descent physics?
Formerly of the Dark Wings and Legion of Apocalypse

 

Offline petmar

  • 24
    • http://web.njit.edu/~pmm4/
Excellent ideas, all! I'll definitely sortie one of my minions to look into the turret rotation thing, and I'm going to want to be able to both toggle realPhys as a set, but also by separate attributes, such as weapon visibility and gravity, etc. Does that sound good to everybody?
"And it truly is the most godawful looking thing you will ever see in FreeSpace short of an entire TC of untextured superpowerful cubes named 'TeH DeStRoIeRR!!!!11!1!'" -- Stryke9

"There is an expanding frontier of ignorance." -- Richard Feynman

"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened." -- Matthew 7:7-8

"To every thing there is a season, and a time to every purpose under the heaven: A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted; A time to kill, and a time to heal; a time to break down, and a time to build up; A time to weep, and a time to laugh; a time to mourn, and a time to dance; A time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing; A time to get, and a time to lose; a time to keep, and a time to cast away; A time to rend, and a time to sew; a time to keep silence, and a time to speak; A time to love, and a time to hate; a time of war, and a time of peace." -- Ecclesiastes 3

 

Offline petmar

  • 24
    • http://web.njit.edu/~pmm4/
Quote
Originally posted by petmar
Does that sound good to everybody?

Huh? Does it? Huh? Don't MAKE me do a poll! :ick
"And it truly is the most godawful looking thing you will ever see in FreeSpace short of an entire TC of untextured superpowerful cubes named 'TeH DeStRoIeRR!!!!11!1!'" -- Stryke9

"There is an expanding frontier of ignorance." -- Richard Feynman

"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened." -- Matthew 7:7-8

"To every thing there is a season, and a time to every purpose under the heaven: A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted; A time to kill, and a time to heal; a time to break down, and a time to build up; A time to weep, and a time to laugh; a time to mourn, and a time to dance; A time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing; A time to get, and a time to lose; a time to keep, and a time to cast away; A time to rend, and a time to sew; a time to keep silence, and a time to speak; A time to love, and a time to hate; a time of war, and a time of peace." -- Ecclesiastes 3

 

Offline Stryke 9

  • Village Person
    Reset count: 4
  • 211
Weapon visibility is a mod thing, not a source thing.

 

Offline petmar

  • 24
    • http://web.njit.edu/~pmm4/
Quote
Originally posted by Stryke 9
Weapon visibility is a mod thing, not a source thing.

I should probably move this into general fs2, then, because this aspect will take on dimensions of both modding and coding... any suggestions about this, anyone?
"And it truly is the most godawful looking thing you will ever see in FreeSpace short of an entire TC of untextured superpowerful cubes named 'TeH DeStRoIeRR!!!!11!1!'" -- Stryke9

"There is an expanding frontier of ignorance." -- Richard Feynman

"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened." -- Matthew 7:7-8

"To every thing there is a season, and a time to every purpose under the heaven: A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted; A time to kill, and a time to heal; a time to break down, and a time to build up; A time to weep, and a time to laugh; a time to mourn, and a time to dance; A time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing; A time to get, and a time to lose; a time to keep, and a time to cast away; A time to rend, and a time to sew; a time to keep silence, and a time to speak; A time to love, and a time to hate; a time of war, and a time of peace." -- Ecclesiastes 3

 

Offline Stryke 9

  • Village Person
    Reset count: 4
  • 211
Separate things. You make your own invisible-gun mod, or get someone to do it for you, and I think the gravity and such are already on the to-do list, but leave that here anyway.

 

Offline Starks

  • 29
This should have its own project forum.
Formerly of the Dark Wings and Legion of Apocalypse

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
wait a sec are you offering to code in newtonian physics code you're self,
oh hell yes!
just make it posable to swich between the 'normal' physics and the 'corect' physics, preferably on the fly, defanatly with a comand line option
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 Starks

  • 29
The name of this topic sounds just like SETI@Home.
Formerly of the Dark Wings and Legion of Apocalypse

 

Offline petmar

  • 24
    • http://web.njit.edu/~pmm4/
Quote
Originally posted by LLivingLarge
The name of this topic sounds just like SETI@Home.

physics@work... seti@home... Coincidence? We think not.

As for the coding, I have finals this week, so I can't really do that much, but I hope to have an .exe for the physics engine by the end of the month.
"And it truly is the most godawful looking thing you will ever see in FreeSpace short of an entire TC of untextured superpowerful cubes named 'TeH DeStRoIeRR!!!!11!1!'" -- Stryke9

"There is an expanding frontier of ignorance." -- Richard Feynman

"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened." -- Matthew 7:7-8

"To every thing there is a season, and a time to every purpose under the heaven: A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted; A time to kill, and a time to heal; a time to break down, and a time to build up; A time to weep, and a time to laugh; a time to mourn, and a time to dance; A time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing; A time to get, and a time to lose; a time to keep, and a time to cast away; A time to rend, and a time to sew; a time to keep silence, and a time to speak; A time to love, and a time to hate; a time of war, and a time of peace." -- Ecclesiastes 3

 

Offline Alan Bolte

  • 28
  • Deneb III
    • @Compellor
Hmm, interesting. I was thinking about this recently.
For some games currently under development which try to combine more realistic physics with great gameplay, check out Homeplanet and Starshatter.
As to FS2, changing the physics engine significantly will essentially create an entire new game. By the time you're anywhere at all I suspect you'll havesomething half original. Not that I know anything about coding. Anyway, just wanted to say that realistic can be fun, and if you're going to go realistic, you may as well go all the way. I look foreward to hitting full thrust and going nowhere, then burning for too long and shooting past my enemies without exchanging a hit.
Anything worth doing is worth analyzing to death -Iranon

 

Offline petmar

  • 24
    • http://web.njit.edu/~pmm4/
You know, it's always way more fun that way.:lol:
"And it truly is the most godawful looking thing you will ever see in FreeSpace short of an entire TC of untextured superpowerful cubes named 'TeH DeStRoIeRR!!!!11!1!'" -- Stryke9

"There is an expanding frontier of ignorance." -- Richard Feynman

"Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened." -- Matthew 7:7-8

"To every thing there is a season, and a time to every purpose under the heaven: A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted; A time to kill, and a time to heal; a time to break down, and a time to build up; A time to weep, and a time to laugh; a time to mourn, and a time to dance; A time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing; A time to get, and a time to lose; a time to keep, and a time to cast away; A time to rend, and a time to sew; a time to keep silence, and a time to speak; A time to love, and a time to hate; a time of war, and a time of peace." -- Ecclesiastes 3