View Issue Details

IDProjectCategoryView StatusLast Update
0000162FSSCPgraphicspublic2005-03-14 03:15
ReporterHippo Assigned Totaylor  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Summary0000162: Player warp hole shrinks...
DescriptionTHe warp hole opened when the player presses Alt-J suddenly shrinks from normal size to about 2/3 size before ship reached opening... It does shrink correctly once the ship goes through...
Additional InformationNoticed while using Taylor's memory footprint reduction build (fs2_openT-20040401.exe)...
TagsNo tags attached.

Activities

RandomTiger

2004-04-04 22:26

developer   ~0000683

Screenshots would help

2004-04-05 00:14

 

shrinkingbefore.jpg (14,997 bytes)   
shrinkingbefore.jpg (14,997 bytes)   

2004-04-05 00:14

 

shrinkingafter.jpg (13,954 bytes)   
shrinkingafter.jpg (13,954 bytes)   

Hippo

2004-04-05 00:17

reporter   ~0000686

the after picture is as soon as i could press Print Screen when i saw it... is it almost immediately after the second picture that it starts shrinking normally... I don't know if this is in other builds, since Taylor's is the first to run on my system...

mrduckman

2004-07-07 01:24

developer   ~0001040

Is this still an issue?

Goober5000

2004-07-07 06:39

administrator   ~0001042

I think so. It only happens with the player's warp effect - none of the other ships do it. Mebbe I could grab a digital video of it.

kasperl

2005-03-12 20:27

developer   ~0001780

If this is still an issue, is anybody working on it?

Goober5000

2005-03-13 05:44

administrator   ~0001800

It's still an issue. I'd like to see it fixed, but I don't know how to fix it. :(

taylor

2005-03-13 05:49

administrator   ~0001802

I've never been able to recreate this otherwise I'd have a go at fixing it. Only really tried under Linux but never noticed with my few tests under Win2k either.

Goober5000

2005-03-13 05:54

administrator   ~0001803

If I could take in-game footage at more than 5 FPS I'd post a video. It behaves normally except for a split-second when the hole skips from fully open to 2/3rds open. It's as if you "microsleep" for an instant.

taylor

2005-03-13 06:01

administrator   ~0001804

You can't do "dump_frames" in a debug build and get it? "dump_frames" is only capturing at 15 FPS but "dump_frames30" may get it if the other doesn't. Should be able to make an AVI out of the individual frames in VirtualDub after that.

Goober5000

2005-03-13 06:21

administrator   ~0001805

Wait... FS2 has a built-in capture-to-video function? Since when? This is very good news. :)

Does it work in both debug and release? It should... assuming the framerate is good, this should greatly help with producing trailers and such.

If it works, I'll grab a video when I get back to school.

taylor

2005-03-13 08:03

administrator   ~0001807

Yep, always been there, though I just recently filled in the OpenGL functions. Should have already worked in D3D but I never tested it there. On works in debug builds but that can be worked around so it can work in release builds too.

For debug builds just bring up the debug console and type "dump_frames" (or "dump_frames30" for 30fps) and it will start recording (dumps frames in game directory with frm%.4 filenames). Do it again to stop recording. The 15fps version isn't very playable but it works. Typing "help" in the console will give the full list of commands or just search the code for those DCF() things to get the commands and options they provide.

Hippo

2005-03-13 12:26

reporter   ~0001814

i can get an avi of it if it still exists...

Hippo

2005-03-13 12:34

reporter   ~0001815

http://woodentoyandgift.com/files/rob/shrinking.rar

captured at about 30fps, though there is a massive fps hit right when it shrinks...

taylor

2005-03-13 20:53

administrator   ~0001858

What cmdline options are you using Hippo? Have you tried Lightspeed's new warpmap (the EFF one with DDS frames)?

I've got to wonder if this is somehow memory related. I couldn't make out the numbers but the memory count in the top left was moving pretty good when the problem happend. I'll play with this and try to recreate it on my end.

Hippo

2005-03-13 20:57

reporter   ~0001859

Last edited: 2005-03-13 20:57

that was with:

-spec -glow -pcx32 -jpgtga -d3dmipmap -nomotiondebris -2d_poof -cell -d3d_no_vsync -dualscanlines -ship_choice_3d -targetinfo -orbradar -ballistic_gauge -snd_preload -dnoshowvid -env -decals -fps -window -stats -show_mem_usage -ALLSLEV -FOV 0.39

I can get a higher res of it if you'd like...


And i haven't tried the new warps either...

edited on: 03-13-05 15:57

taylor

2005-03-13 23:14

administrator   ~0001861

Yeah, there is a lot of memory hungry stuff there. Last question before I go into all out bug-hunt mode, D3D or OpenGL?

Hippo

2005-03-13 23:37

reporter   ~0001862

I first noticed it in D3D, thouch that was filmed in OGL, so it is both...

taylor

2005-03-14 02:06

administrator   ~0001879

See, I just have to recreate the problem and all is good. ;)

WARPHOLE_GROW_TIME was changed from 1.5 to 3.5 back in 2002. This should have been evident since that change was made but it may not have been an issue until other warp changes were made in 2004. The problem stems from lifetime and radius. At 1.5 it quickly grows to it's full radius and stays there until the lifetime says to start shrinking. At 3.5 though is where the problem shows itself. It grows more slowly and stays fullsize a bit shorter ammount of time. This is where the lifetime comes into play since it needs to shrink at the proper speed but it's open too large at this point. There is a sudden drop in size to compensate.

Setting WARPHOLE_GROW_TIME to 2.5 seems to be enough to fix this so that's what I'm going to do. I'm updating my just released build so please give it a try Hippo and let me know if this is enough. If not then I'll lower it down more and commit it to CVS.

http://icculus.org/~taylor/fso/willrobinson/20050313-win32r.zip

No idea why I never noticed this before.

Hippo

2005-03-14 02:40

reporter   ~0001880

Last edited: 2005-03-14 02:41

Bingo, looks fine... And somehow it's bumped my framerate as well :)

BUT...

There's something up with that build, since as i run it windowed, the FS mouse AND the windows mouse move, and whenever i clicked, the windows mouse always took precidence... But thats an entirely different bug alltogether...

edited on: 03-13-05 21:41

taylor

2005-03-14 03:15

administrator   ~0001881

Fixered.

I noticed that mouse problem too. Going to have a look at it before the night is over.

Issue History

Date Modified Username Field Change
2004-04-04 21:12 Hippo New Issue
2004-04-04 22:26 RandomTiger Note Added: 0000683
2004-04-05 00:14 Hippo File Added: shrinkingbefore.jpg
2004-04-05 00:14 Hippo File Added: shrinkingafter.jpg
2004-04-05 00:17 Hippo Note Added: 0000686
2004-07-07 01:24 mrduckman Note Added: 0001040
2004-07-07 06:39 Goober5000 Note Added: 0001042
2005-03-12 20:27 kasperl Note Added: 0001780
2005-03-13 05:44 Goober5000 Note Added: 0001800
2005-03-13 05:49 taylor Note Added: 0001802
2005-03-13 05:54 Goober5000 Note Added: 0001803
2005-03-13 06:01 taylor Note Added: 0001804
2005-03-13 06:21 Goober5000 Note Added: 0001805
2005-03-13 08:03 taylor Note Added: 0001807
2005-03-13 12:26 Hippo Note Added: 0001814
2005-03-13 12:34 Hippo Note Added: 0001815
2005-03-13 19:40 administrator Assigned To => taylor
2005-03-13 19:40 administrator Status new => assigned
2005-03-13 20:53 taylor Note Added: 0001858
2005-03-13 20:57 Hippo Note Added: 0001859
2005-03-13 20:57 Hippo Note Edited: 0001859
2005-03-13 23:14 taylor Note Added: 0001861
2005-03-13 23:37 Hippo Note Added: 0001862
2005-03-14 02:06 taylor Note Added: 0001879
2005-03-14 02:40 Hippo Note Added: 0001880
2005-03-14 02:41 Hippo Note Edited: 0001880
2005-03-14 03:15 taylor Status assigned => resolved
2005-03-14 03:15 taylor Resolution open => fixed
2005-03-14 03:15 taylor Note Added: 0001881