Author Topic: the reintegration  (Read 10371 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I am starting to reintegrate my stuff, before I start adding back in some of the cooler features I have to add some of the foundation stuff that I added to get the other stuff working, so first off I have not only reimplemented index buffers but I have one so at a higher level and in a way that will alow for dynamic reordering of the geometry without the assosiated perfomence costs of earlier implementations of such functionality. this will go a long way for alowing for properly done alpha blended textures, in addition to posably faster rendering of larger objects.

this is based on the current CVS repository, wich is basicly vanila 3.6, after I get this working and am fairly confedent that it's bug free I'm going to commit it and begin working on some of the other low level foundations that were nesicary for decals and environment mapping (ect) and I am going to try to implement them in a non-hack like way if I can.

I want someone to compare the performence of this with standard 3.6, and confirm weather or not the framerates are better or not. preferably someone with a relitively low end system.

http://freespace.volitionwatch.com/blackwater/fs2_open_Bobboau_6-26-04.zip
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 WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
Bobb, you mean the current CVS, which is basically vanilla plus modular tables, custom hud gauges, a few movable default gauges, -nomotiondebris and -target info command lines, an enlargeable escort list and PCX compression? :p

Minus the bugfix for targetinfoed weapons, though, I suspect.

Downloading now...
-C

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
ill give it a go.
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
Hail to the King Bob Baby! Rock solid 10 FPS min (in place of 2-5) and a nicely playable mission inside of a nebula! Loading time cut in nearly half for my side, and the loadout screen is working too!

Only complaint is that it CTDs if you try to play the movies, but switching the option off from the launcher fixes this.
EXCELLENT!
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 
Most of the time i have CTD while loading a mission. It happens in standart FS2-campaign and also on mods and non-mod campaigns like homesick. But when it´s running it´s pretty fast. But i really do miss the env-mapping. Until this is working i have to use 05_28 (for me the only stable env-build without that flickering-thingy 06_10 does). Keep on your excellent work, oh master :) .

BTW: Do you plan to compile speech in it in the near future?
« Last Edit: June 27, 2004, 05:34:12 am by 1875 »

 

Offline WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
Here's some fun stats on a certain Derelict mission, it's the one where you have to defend the jump node w/ 5 mjolniers

5-26 build: CTD after clicking the ready room, before the loading screen appears
5-25 build: Pretty consistent CTD around the Corvette or Cruiser jump out
5-22 build: I've gotten til after the Shivan fleet jumps in, a lil bit after I died.
Another time I played it, I accidentally pissed Command off by hitting a Mjolnier too much, and my punishment was a CTD.
-C

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Don't try Derelict missions. They were even unstable with normal FreeSpace. It is no surprise for me that FSO crashes to desktop too many times with Derelict missions.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 
This build (like WMCoolmon's other build) also crashes multiplayer. This build won't even load the mission before it CTDs. :sigh:

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Multi isn't up.
Freelance Modeler | Amateur Artist

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Quote
Originally posted by WMCoolmon
Here's some fun stats on a certain Derelict mission, it's the one where you have to defend the jump node w/ 5 mjolniers

5-26 build: CTD after clicking the ready room, before the loading screen appears
5-25 build: Pretty consistent CTD around the Corvette or Cruiser jump out
5-22 build: I've gotten til after the Shivan fleet jumps in, a lil bit after I died.
Another time I played it, I accidentally pissed Command off by hitting a Mjolnier too much, and my punishment was a CTD.


so how's the 6-26 build?
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 Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Seems the closer to this date, the worse the crash... Interesting.


I'll play with it soon, too. As soon as I figure out how to make a custom HUD for my Tamnanki. :D
Freelance Modeler | Amateur Artist

 

Offline WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
Indeed. I just compiled a build today, w/o Bobboau's new stuff, and have the same problem as his build :wtf:

Maybe we're allocating an array size depending on the time. :p
-C

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
yep, found (and fixed) some bugs some in my code (any mission with a jump node may crash), and the new escort list stuff trys to display the last escort list even when there are none, with results in the value it uses to determine this being set to an uninitalised value, moveing that code within the code block directly above it fixes the problem (seemingly). I'll post a new build after I do a bit of testing on this.
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 WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
Bobboau - My mistake, all the 5s in there should be 6s.

I managed to fix that mission by bumping MAX_SUBSYS_STATUS to 300. (In my build that was CTDing during load)

Want to put up a debug build for us peeps?
-C

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
the bug I found was in hud_display_escort, don't see any 5s or 6s, I just moved
Code: [Select]
//Last one
x += current_hud->Escort_entry_last[0];
y += current_hud->Escort_entry_last[1];
GR_AABITMAP(Escort_gauges[2].first_frame, x, y);
hud_escort_show_icon(x, y, i);

into the    if(Num_escort_ships > 1) block, seems to have fixed the problem, but I may have inadvertantly keeped it from drawing the last item in the list
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 WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
You should only have to move the decrement and increment of Num_escort_ships outside the if statement, like so:
Code: [Select]
//This is temporary
Num_escort_ships--;

if(Num_escort_ships > 1)
{
for(i = 0; i < Num_escort_ships; i++)
{
if(i != 0)
{
x += current_hud->Escort_entry[0];
y += current_hud->Escort_entry[1];
}
GR_AABITMAP(Escort_gauges[1].first_frame, x, y);

//Now we just show the ships info
hud_escort_show_icon(x, y, i);
}
}

//Back to right #
Num_escort_ships++;

//Last one
x += current_hud->Escort_entry_last[0];
y += current_hud->Escort_entry_last[1];
GR_AABITMAP(Escort_gauges[2].first_frame, x, y);
hud_escort_show_icon(x, y, i);


You'll notice if there are no escort ships to display then  the function returns without doing anything, the if statement there was just to see if the entries before the last one needed to be shown.

I'd commit it myself, but with the new HUD stuff that code is ifdef'd out in my version.
-C

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
OK updateing the zip, redownload and try it out, there shouldn't be any more CTDs, or at least fewer ones.
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

 
Tested the new one with a few missions, that didn´t run before and which are now working. The framerate lies on my system (amd64 3200, ati9700 pro) 5-10 frames above 05_28. OK, there are still no jumpnodes and i can´t wait, till you get env-mapping into it.

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Oh, I think I have a jumpnode model... I'll upload it soon... ish.
Freelance Modeler | Amateur Artist

 

Offline Whitelight

  • 29
  • Thing, man like
Cool, fps are up from 24 to 42 for me running on a 600mhz pc ,  128 mb ram and an outdated Radeon  7600 64mb vid card.. Flags -spec -glow -jpgtga

No crashes woohoo..

Thanks Bob :D

Question
Did have a go at dds maps, they don`t seem to work, I get a white pof in fred2 and an  invisible pof without collision in fs2 which is odd.. What am I doing wrong..  

Anyone have a solution :confused:
Simpicity of character is the natural resualt of profound thought