Author Topic: Framerate: RIP  (Read 2650 times)

0 Members and 2 Guests are viewing this topic.

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
I just loaded up a mission with the newest SCP code, and I noticed that the framerate is incredibly slow when facing capital ships.  I turned and faced an Arcadia, and the framerate dropped to around 10 per second (it went back to normal, almost, when I faced away).  Far too noticeable, and there weren't any enemies in the mission yet!

Bobboau, might this be because of your decal code?  Something's chewing up time somewhere, and the decals would seem to be the likely culprit.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
yes it is.
decals render very slow and are apllied inefecantly with beams, I was going to make decals render only on highest detail levels and disapear after a while, but I havn't done it yet, if you would like to take a crack at giveing them better rendering code go right ahead, I'm not sure why they are so slow
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 Inquisitor

If we can fix this slowness (and get some kind of OGL selector/launcher), I'd say there is enough for another release :)
No signature.

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
In the meantime, maybe we could leave the decal code out of builds?  I'm seriously looking forward to having them in, but if it is killing framerates like this it would make builds almost unplayable, and given the other functions that are being added in that people want, it'd be good to be able to have them without the framerate problem.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

  

Offline Unknown Target

  • Get off my lawn!
  • 212
  • Push.Pull?
Someone put decals into the engine? Can I see some piccies?
EDIT: N/M, saw them in the thread. Would like some more, though ;)
BTW, on that note, I think I know how to make it look like their was a hole blasted through the ship. Make a decal that's totally transparant. That would look neatio.
« Last Edit: December 10, 2002, 01:50:54 pm by 368 »

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Decals are cool.  If someone makes some brightly colored splotches, we'd be able to have a glorious paintball fight. :)

Transparency decals sound very cool.  Will they work that way, Bobboau?

Let's not release the next build until we have the distance-from-subsystem sexp (yeah, I know, that makes me the holdup :p).  This will allow ships to have the full-fledged ship-depart-into-hangar addition in the next official build.

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
Quote
Originally posted by Unknown Target
Someone put decals into the engine? Can I see some piccies?
EDIT: N/M, saw them in the thread. Would like some more, though ;)
BTW, on that note, I think I know how to make it look like their was a hole blasted through the ship. Make a decal that's totally transparant. That would look neatio.


Then we will have weapon fire seeming to hit "nothing"
dont think transparent decals would be looking good once yuo see sparks coming out of nothing, not to mention clipping errors previos hidden, will show.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline Inquisitor

Maybe phreak can take a look at the framerate :)
No signature.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I'm thinking this should have a comand line flag for the time beeing, though, if you don't have any weapons with decals enabled it shouldn't be called too oftene,
would a more experienced graphics programer look at the rendering code and tell me if I'm doing it horendusly wrong, wouldn't suprize me, before starting work on this I had literaly no C programing experience
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 Sesquipedalian

  • Atankharz'ythi
  • 211
Quote
Originally posted by Bobboau
before starting work on this I had literaly no C programing experience
Impressive.  Most impressive.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline Inquisitor

Make it optional then, Bob, and committ it.

We'll see who can give us a hand. Make sure it's entered into bugzilla so we don;t forget to come back to it.
No signature.