Author Topic: Request for graphics assistance  (Read 1558 times)

0 Members and 1 Guest are viewing this topic.

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Request for graphics assistance
Hopefully somebody can help me out here.  I need the attached .ANI files resized to 1.6 times their present size, while keeping the palette information the same.  This will allow me to put the FS1 reticle into FS2.  Whoever does this will be credited in the FSPort. :)

[attachment deleted by admin]

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Request for graphics assistance
this is almost so trivial that by the time i finish somone else will post it :D


well i got most of them done but im getting some small glitches in a few, i wonder if its just a bug in aniview.

another update, i got a handle on the problem, i just have to use ac to extract the frames, pixel out the odd placed white pixels and reconvert. i just got 4 to fix and i can post it.

ok done :D

[attachment deleted by admin]
« Last Edit: May 26, 2007, 06:49:44 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Request for graphics assistance
Guess it's not so trivial after all. :p

Thanks. :)

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Request for graphics assistance
it was easy, first i extracted all the frames of all the animations to pcx with aniview saving to 4 letter names. then i opened photoshop, open the color dable and save it as pal, start recording a new action. convert to rgb, resize to 160% with bicubic filtering, apply blur and sharpen to resample the thing and get rid of any jaggedness, then convert to index color using custom and loading the pal file. save close and stop action. play back on every single frame of all the anis, then drag all your name0000.pcx files onto ac and rename back to their original names and youre done.

or not. while were on the subject, what is it with the ani converter changing the index on some of the pixels? every so often, dispite the fact that all images hold the same pallette, and are the same resolution. the images themselves were easy to convert. i get the feeling that the problem is a bug in ac.exe (is this in the scp, i thought i remembered seeing it in the repository). i noticed that the location of the bad pixels coincided with the data in the previous frame, as if the processing buffer isnt being cleard between frames.

anyway heres an examplethe first image is the preconverted frame, in the proper format with the proper palette. the next is the problem frame from the resized energy2.ani (ive doubled the size to make it easyer to see). anyway i noticed that the position of the added white pixels was in direct relation to the contents of one of the previous frames. energy2 is a 4 frame ani, the 3rd and 4th frame both carried over the error. so either ac isnt clearing the working buffer between frames, or its a size reducing feature (to not store redundant pixels betwen frames) that isnt working right. anyway ive super-imposed the 2 frames using screen and you can see that the positions lign up with data in previouse frames. it looks as if theres a multiply going on for them.

[attachment deleted by admin]
« Last Edit: May 26, 2007, 11:50:00 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Request for graphics assistance
Hmm.  Try using ANIBLD32 instead of AC.  I've heard there are numerous bugs in AC which might screw things up.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Request for graphics assistance
i didnt even know there was a newer ani converter :D
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Topgun

  • 210
Re: Request for graphics assistance
did you use a blur to anti-alias pixulasation (or however it is spelled :rolleyes:).

  

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Request for graphics assistance
no i used bicubic filtering on the scale operation, and the blur->sharpen trick. either way you only get 15 useable shades of grey for the hud so when you convert to index, blur data would be lost anyway. so you do a sharpen operation. this cleans up the edges and makes il look as if the image wasnt scaled.
« Last Edit: May 29, 2007, 05:00:10 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN