texture/animation sizes - readme if your running an mod project -1 reply

Please wait...

Freyr VIP Member

A2Files Staff

46,875 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#1 10 years ago

If your making a mod, would you personally be happy including 4x4 blocks at 256x per frame for special effects such as explosions?

That works out at 1024x per anim block. File size for the Targa output would be 3MB. The current size of a 4x4 animation block is 32 pixels a frame at 128x (48k file size) Not an insignificant number of ships are now being published using texture sets exceeding ~6MB. Considering this, I don't think using some extra texture memory on the commonly special effects is unreasonable.

To illustrate exactly what I mean I have produced these images. This explosion effect is one of the graphic effects that I designed at 512x a frame originally. I have scaled up to 256 to show the amount of damage done by ingame bicubic scaling.

Spoiler: Show
32x @ 256x 32-256.png 256x@256x 256.png

As you can see, being displayed at this size utterly annihilates the details in the explosion texture at this size. Worse, the current trend in the POTD is for higher resolution pictures at very close ranges to the camera which actually shows this off.

Anyway. Would you personally be happy including 4x4 blocks at 256x per frame for special effects in your mods?




Dan1025

Adopt, adapt, improve

50 XP

24th February 2007

0 Uploads

1,454 Posts

0 Threads

#2 10 years ago

Yeah I would, its not a massive file and it improves the look of the game no end. Nice job :)




Guest

I didn't make it!

0 XP

 
#3 10 years ago

Well, my weapon sprites are larger than the standard size (128 per frame I think) but, I haven't any explosion sprites that large. If I had em I'd use em!




Achilles

I stole fire from the lighter!

50 XP

13th January 2003

0 Uploads

1,596 Posts

0 Threads

#4 10 years ago

well I can see the point it'd be death to my mod, it's quite possible for hundreads of ships to die in a very short time.




delta_dids

What Lies Beyond...

50 XP

9th December 2006

0 Uploads

145 Posts

0 Threads

#5 10 years ago

If it looks that good, I'd add it.




Guest

I didn't make it!

0 XP

 
#6 10 years ago

Anything which improves the look of the game, I am all for it. A little judiciously applied common sense by the person who downloads these should cause few problems.




Jetfreak

The Real Awesome

50 XP

20th April 2007

0 Uploads

7,526 Posts

0 Threads

#7 10 years ago

As long as you have the system to support it, it's all good.




Majestic-MSFC

Majestic is thy Name!

50 XP

2nd April 2006

0 Uploads

2,152 Posts

0 Threads

#8 10 years ago
thunderfoot006;4214926Anything which improves the look of the game, I am all for it. A little judiciously applied common sense by the person who downloads these should cause few problems.

I agree with what thunderfoot has said.




Guest

I didn't make it!

0 XP

 
#9 10 years ago

Sure if the engine can handle it I'll try it.




Freyr VIP Member

A2Files Staff

46,875 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#10 10 years ago

Achilles;4214656well I can see the point it'd be death to my mod, it's quite possible for hundreads of ships to die in a very short time.[/quote]

Armada was designed to run with 8MB of texture memory and seems to incorporate a few tricks to save memory. I am not sure if anybody else has ever done some research into this but it appears as if when an animation is displayed every animation on the screen is played at the same frame. Its most apparent with torpedoes in large fleet battles however I beleive the effect extends to every texture animation.

Spoiler: Show

I have just dipped into my old collection of screenshots to get this picture. It represents V1.0 about four years ago, not my more recent work.

If you look closely you can see this in two places. Firstly the torpedoes, despite being from different sources are being animated at the same rate. Secondly, look closely at the defiant thats dying in the top left.

Now, compare that to the damage explosions being displayed on the Galor. You can see the bit in the top left of the explosion is also visible on the defiant. Snapshot003.PNG

I used to play multi online for several years, so explosion effects are something I am fairly used to seeing in fleet battles. In stock 1.1 you usally only either see one or two explosions at once (which makes it difficult to see), or an entire screen when you use an area effect weapon. I know that with kills from an area effect weapon every explosion is displayed at the same speed and I think the same is true even if the ships are killed half a second apart.

I am fairly confident I am right on this, but I would welcome other people looking into it.

[quote=jetfreak;4215316]As long as you have the system to support it, it's all good.

If I am correct with what I have said above it means that the entire requirement for this is 3MB on the graphics card which shouldn't be a significant overhead in itself. That having been said, if I end up going to this size on to many files its possible it could cause issues.

That said by my understanding of the Level of Detail system when I use extra files for the LOD (explosion_1.tga explosion_2.tga etc) they get displayed as I get further away. The 3MB versions would only be shown when your looking at it from about an inch away. Zooming out even slightly *should, by my understanding* be shown at one of the other detail levels. That would go down to 768k at _1 and 192k at _2.

So it might not cause issues even if I did literially everything with 256x per frame.