Author Topic: Smoke Test!  (Read 1819 times)

0 Members and 1 Guest are viewing this topic.

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Okay, we're going to try subjecting the FS2 engine to one of the most stressing smoke tests ever conceived.  And we need your help. :)

One of the possibilities with change-model is to slideshow a bunch of models back to back, so that they look like they're animated.  We need to know if this is actually feasible in-game or if the engine will choke.

So I request some valiant modder to take some ship model and animate it in some way.  Just make a bunch of slightly different models that we can change, in sequence, to achieve the animation effect.

It doesn't even need to be complicated - even taking the Faustus and saving a couple different POFs, each one with the solar panel slightly moved from its previous position, would work.  (That actually might be the best option to run the test with.)

I await a response. :cool:

  

Offline diamondgeezer

If you're going to use SEXPs to trigger each frame of the model change, wouldn't each frame be at least on second apart (I assume you'd use a delay of one second between sucessive SEXPs)? Is that going to be smooth enough?

Unless you can change the code to allow SEXPs to fire at shorter intervals or you have some other fancy plan up your sleeve...

But even then, will there be enough SEXP nodes per mission to allow more than a few transformations? Unless you can change that, as well, I suppose...

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
I'd make one sexp, with one condition and a bunch of change-model actions.  Or I'd chain them.  I think every sexp is evaluated once per frame.

But keep in mind, this is a test.  No cool implementation planned yet. :)

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Maybe some sort of transforming subobject could be used, like a rotational subobject?

Might need pof formatr changes though :ick
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
I haven't tried this yet, but if Ronin's transformation code for the RTMOD was based around these functions, then I think there may be a slight pause each time the ship type changes due to the fact that it would be loading the POF file and textures in game rather then before the mission starts. (The length of that pause may vary depending on the user's computer.)
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
There is a pause, but only if the model wasn't loaded previously.  If there's another model of the same type used in the usual way, there's no pause.

I'm going to look at having the model loading code search through the sexps and load any of the models that might be used.

 

Offline ZylonBane

  • The Infamous
  • 29
Quote
Originally posted by Goober5000
So I request some valiant modder to take some ship model and animate it in some way.  Just make a bunch of slightly different models that we can change, in sequence, to achieve the animation effect.
How will this stress-test FS2 any more than just using the existing models?
ZylonBane's opinions do not represent those of the management.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
well if he knew that he wouldn't need to test it now would he :)
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 vyper

  • 210
  • The Sexy Scotsman
Quote
Originally posted by ZylonBane
How will this stress-test FS2 any more than just using the existing models?


Because you're loading them IN-MISSION (possibly) rather than pre-loading. Also, you're having several models in memory for the one 'instance' if you will. (Oh forget it, I'm just out of an O&A exam!)
"But you live, you learn.  Unless you die.  Then you're ****ed." - aldo14

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
The object is not to stress-test FS2 specifically - the object is to test whether animation is feasible.

I could just load a bunch of different models and flip between them, but that'd look dumb.  I'd rather test the animation effect with models that will actually produce an animation, rather than do a seizure of different models being switched back and forth very fast.