Nameless Voice on 26/1/2014 at 11:04
What's APNG like in terms of memory usage compared to single-frame PNGs? Is it the same?
I was worried that the whole pack might start using up too much memory and I'd have to convert everything to DDS at some point down the road.
C-BEAM on 26/1/2014 at 13:46
Voodoo: that sounds great !
NV: I want to use one animated PNG 16x256 instead of 6x128 ... it should be like one 1024px texture. Or maybe 16x512 (2048px)
Nameless Voice on 26/1/2014 at 13:48
Fair enough. Any idea how it interacts with frame counts?
C-BEAM on 26/1/2014 at 14:29
Voodoo: zase máš plnú schránku, tak napíšem to sem : ak by to mal byť väčší problém tak to nechaj tak, použijem jednotlivé snímky ako png textúry ... išlo mi iba o to mať to z hľadiska komfortu v jednom súbore, o nič viac.
Zrejme teda každá z tých textúr animácie bude mať svoj mtl s časom kolko má byť zobrazená, je tak ? aký parameter mám teda v mtl zadať na nastavenie tohoto času ? díky !
voodoo47 on 26/1/2014 at 14:49
yeah, inbox full again. anyway;
Quote:
ani_rate <int>
--------------
Animation rate, specified as milliseconds per frame, for animated textures. Default is 250.
The "Texture Anim Data" property in DromEd overrides any material setting, unless "force_ani_settings" is
set. If the texture isn't animated the parameter is ignored. This parameter only has an effect on objects
where "Texture Anim Data" would also have an effect.
Ex:
ani_rate 33
ani_frames <int>
----------------
Animation frames. Default is 0, which means the frame count is determined by the number of files found.
While not required it may be good practice to set this param, this avoids conflicts with other mods. For
example if one mod overrides the water textures and has 15 frames, then another mod has 20 frames. Without
setting ani_frames this can result in 15 frames from one mod being used and the last 5 frames from the other.
If the texture isn't animated the parameter is ignored.
Ex:
ani_frames 20
ani_mode <"WRAP" | "REVERSE" | "PINGPONG">+
----------------------------------------------------
Animation mode flags, related to the "Texture Anim Data" property, one or several flags can be specified
separated with spaces. Default is WRAP. PINGPONG and WRAP are mutually exclusive. The "Texture Anim Data"
property overrides any material setting, unless "force_ani_settings" is set. If the texture isn't animated
the parameter is ignored. This parameter only has an effect on objects where "Texture Anim Data" would also
have an effect.
Ex:
ani_mode WRAP REVERSE
ani_mode RAND
force_ani_settings [<0,1>]
--------------------------
Apply material animation rate and mode settings even if the texture has a "Texture Anim Data" property.
see material-format.txt in the NewDark docs. also, I don't think you can have variable animation rate (like for example, displaying frame1 for 1 second, and frame2 for 2 seconds).
//doesn't seem like apng is supported, so I would avoid using it.
C-BEAM on 26/1/2014 at 14:54
thank you.
Nameless Voice on 26/1/2014 at 15:05
For animated textures, you might consider just zipping them and sending them to me, as it'll be a pain to post so many frames here (and peel them back off the page.)
You can email, or upload them (
http://nameless.zanity.net/epterrain/upload/) here.
LarryG on 26/1/2014 at 23:46
:thumb::thumb::thumb:
When do you sleep?
TheDuriel on 27/1/2014 at 03:34
awesome
but are you able to bump the fps to 24? or double the current 16 and blurr the moving part every second frame
16 feels a bit choppy