project-navigation
Personal tools

Author Topic: Animated Textures for UFOs [CODING HELP NEEDED !!!]  (Read 84173 times)

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #75 on: March 30, 2010, 07:30:59 pm »
BTW, Mattn what is the size limit of your e-mail limit  ::) ?
I have around 1700 (!) frames 4 you.

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #76 on: March 30, 2010, 07:31:49 pm »
& still far from finished  ;)

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #77 on: March 30, 2010, 08:39:14 pm »
I tried to record a video with fraps, but in the demo version you are limited to 30 seconds of video recording & the file seems to be uncompressed (600 MB for 30 seconds video), so I do not know if I should invest more energy in this project (recoding video, uploading masses of data), when in a short time everyone can take a look @ it in the 2.3dev version...

Anyway we should think about making a new promotional video 4 the game, since the last one I know of (which is really cool with all the slo-mos & zooms BTW) is kind of old & does not represent the current development @ all...
Wanted to write a feature request about that anyway...

You maybe have a cooler tool for recording stuff out of the game, Mattn ?!
You will get the textures & material definitions soon ;)
I am in the final phase, already adjusting the material defintions & with most of the animations finished...

There will be animated:

- Buttons (all kinds of ;))
- Displays (all kinds of)
- Screen-Overlays (Videophone [Taman], Alienbase anim, Harvester anim, Corrupter anim, Headscan anims, Text anims,...)
- Screens (Full-Screen animations for the big displays & also damaged screens animations)
- FX (ufo2_09, ufo2_10, ufo2_12, Floor, Lights, Flares, etc.)

Additionally there will be:

- Skins (for Metal-plates & other stuff)
- Variations (of existing 'more-than-once-on-a-ufo-used' Monitors & Panels) [to be integrated into the existing & coming U.F.O.s]

- A complex usage of the great material system with every texture defined regarding their material & regarding additional overlays, envmaps, flares, lightmaps & fx (pulse, rotate, stretch, scroll)

- Documented material files

Also I want to introduce a new folder named tex_ua (for all UFO animation-frames).
I will include a description regarding the textures there (readme.txt) for easy usage by the mappers.
The old tex_ufo folder should be deleted & replaced by a new one containing all the base original & new textures only (this means no animation frames & easy navigation there).

...
« Last Edit: March 30, 2010, 09:39:46 pm by MCR »

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #78 on: March 30, 2010, 08:51:21 pm »
Current W.I.P. mat file attached.
Did you all know that stuff like this is really possible with this system ?
I would encourage all the mappers to revisit their levels & tune them using the material definitions, we could make this game look so  8)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Animated Textures for UFOs [WIP]
« Reply #79 on: March 30, 2010, 08:59:21 pm »
then at least try to create some screenshots with r_materials cvar set to 1 and set to 0 and show them side by side to see the difference (even if we won't see the animation)

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #80 on: March 30, 2010, 09:16:15 pm »
Mattn, in the long term we should think about expanding the material system.
I think for someone who knows the code here like you do this would rather be easy & the effects would be minimizing the need for additional frames ;)
I would like to have some more commands:

animb - play backwards
animr - play forwards, after reaching last frame play backwards, then begin again
animp - pause the animation for x time @ frame y (animp a15 3.0)

Also we should add additional flares & envmaps, I have done experiments with that & it is working, I now can use 10 different flares with a simple command like 'flare 7', but the envmapping-function seems to have some kind of error, because it does not matter @ all which envmap you use, they look all the same in-game, maybe someone could take a look @ that also, I think there might be a bug hidden somewhere...

Would be happy to read some comments from the developers regarding my last posts here...
I hope you will like my work  ;)

P.S.:
then at least try to create some screenshots with r_materials cvar set to 1 and set to 0 and show them side by side to see the difference (even if we won't see the animation)
Will try that, but how exactly can I set the cvars (in the console ?).
How do I exactly start devmode (win32) to be able to change the cvars in the console ?

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #81 on: March 30, 2010, 09:36:51 pm »
BTW, if you tell me that your e-mail will deal with around 22 MB, I can send you my working version for review !?
You have the *.mat file, now you just need the 2 folders tex_ufo & tex_ua to get this workin' & see 4 yourself  ;)

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #82 on: March 30, 2010, 10:04:58 pm »
Okay got it, but setting r_material to 0 will not turn off the entire material system, bumpmapping & material values are still displayed, also the skins are blended, so this will turn off just the animations & the envmaps, even flares are still there  :P...
Will make some screens 4 you nevertheless...
... tomorrow  ;)
« Last Edit: March 31, 2010, 12:41:52 am by MCR »

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #83 on: March 31, 2010, 11:40:52 am »
First Screens:
==========

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #84 on: March 31, 2010, 11:42:01 am »
max 1024kb  :P

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #85 on: March 31, 2010, 11:43:15 am »
 :P

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #86 on: March 31, 2010, 11:46:11 am »
 :(

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #87 on: March 31, 2010, 11:50:38 am »
Rotating Yellow Light, Pulsating With Green Version Of Itself + Panel + Floor Pulsating With Brighter Version Of Itself

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #88 on: March 31, 2010, 11:52:04 am »
 :P

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Animated Textures for UFOs [WIP]
« Reply #89 on: March 31, 2010, 11:55:08 am »
Some more: