Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: KARMA on February 24, 2004, 05:56:32 pm

Title: A couple of problems with 1_20
Post by: KARMA on February 24, 2004, 05:56:32 pm
1: performance hits on background images.

I tryed the same 1024x1024 image in 2 versions: 8bit pcx and jpg full color (they were IIRC of the same order of size in kb)
While the 8bit pcx was working fine, the jpg caused a major performance hit (btw you know my system is crap..).
I tryed the same jpg image on a skybox (more than 500 triangles):
The skybox was mapped with two textures, one was the same background image I used above, another one (jpg 1024)was tiled 5 times over the rest of the skybox model.
The performance hit was IIRC half of the loss with the background image.
Since it was the same JPG image, maybe there is something specifically wrong with background images when using jpg images? I remember many reported some performance losses with some versions of lightspeed's planet, it may be the same problem?

Second:
I had a weird bug with skybox in 1_20, which I never had before.
When I move (even linear movement) the skybox "shakes", which caused me a terrible headache:).


request:
would it be possible to set the minimum % of stars generated by FS2 as 0% (no stars) instead of 10%?. There are issues with some kinds of background images (stars in the images stay still, stars generated by the game have motion blur)
Title: Re: A couple of problems with 1_20
Post by: Lightspeed on February 24, 2004, 07:12:36 pm
Quote
Originally posted by KARMA
Since it was the same JPG image, maybe there is something specifically wrong with background images when using jpg images? I remember many reported some performance losses with some versions of lightspeed's planet, it may be the same problem?


no.

no.

The shaking skybox thingy is the remnant of the 'skyboxes vanishing' bug - it is known and will be sorted out eventually.
Title: A couple of problems with 1_20
Post by: Bobboau on February 24, 2004, 07:37:28 pm
and eventualy means before 3.6
Title: A couple of problems with 1_20
Post by: KARMA on February 25, 2004, 03:50:16 am
btw I don't see anything strange with an 8bit pcx being rendered 4+ times faster than the true color version jpg,  althought the jpg is smaller in kb size.

I find instead at least pretty curious that the same jpg image on a skybox is rendered 2+ times faster than the SAME jpg as background image.

I thought it was going to happen the opposite: the skybox has a second jpg image of about same size/res, and many polys to be rendered. And I don't have an HTL hardware, so the skybox could be even faster.
The only counterpart is that the performance loss of the skybox is always present , the performance loss of the background image is present only when you face the image.

BTW not being a coder it sound pretty strange to me this performance difference between background images and skyboxes when using the SAME images...
Title: A couple of problems with 1_20
Post by: J3Vr6 on February 25, 2004, 08:01:42 am
I had a problem with 1_20...  Whenever a ship warps out, it shows up on the other side of the warp hole before it disapears.  So the warphole opens and the ship starts to go thru it but comes out the other side.  And once the whole ship is on the other side of the warphole will it disapear.

I don't know if this a known bug or not so I won't mantis it til someone says so.
Title: A couple of problems with 1_20
Post by: KARMA on February 25, 2004, 08:25:36 am
the phantom tie!:lol:
(http://www.3dap.com/hlp/hosted/swfs2/img/screen00a.jpg)

when zooming out it seem like if it intersect the background sphere. Is this normal?
Title: A couple of problems with 1_20
Post by: kasperl on February 25, 2004, 10:50:06 am
looks like z-buffer jokes, dunno for sure. is your skybox large and far away enough? OGL/DX? what are your specs? any additional flags?

just a list of standard issue questions, it might be usefull for a coder to have the anwsewrs to those.
Title: A couple of problems with 1_20
Post by: Bobboau on February 25, 2004, 11:27:55 am
1_20 I think still had the z buffer problem, it's been fixed, though skyboxes them selvs still jump around quite a bit
Title: A couple of problems with 1_20
Post by: KARMA on February 25, 2004, 11:29:03 am
mmmm I really thought that with the skyboxes it doesn't matter the size....ops:p
Title: A couple of problems with 1_20
Post by: Bobboau on February 25, 2004, 11:35:26 am
it doesn't, when it's working corectly