Underground Mugen community specializing in advanced Mugen stages, screenpacks & Graphics

You are not connected. Please login or register

How to get a perfectly smooth looking sprite (no hard edges)

Go down  Message [Page 1 of 1]

jeanbureau

avatar


How to get smooth looking sprite like the vegetation in front of the characters ? especially appreciable with vegetation since it's a FUCKIN PAIN to cut manually... anybody who tried to cut out a tree out of an imag knows what I am talking about.



---------------

You need "2 LAYERS for each sprites". Let me explain myself.

You will first look for an image with transparency (a PNG image usually) like this one:


* Actually this image above is even smoother than the real original one I found because:
I duplicated the layer, gaussian blurred by 2% the layer on the top and made it using "Lighten" transparency mode. Then I re-merged them together. I use this technique very often because not only it smoothen the edges but it gives a nice shiny look.
Lighten trans mode is one of the several trans mode available in any decent image editor like "Screen" or "Overlay" or "Multiply" etc etc. If you don't have them, change your fuckin image editor...


----------------------

Then you create 2 layers with this image. (Remember it MUST have transparency initially, if not there are other methods but it's fucking annoying)

To create the "sub layer" you will turn the transparent image of the plant into this by increasing luminosity to the maximum.
Then you create a second layer, put the layer BEHIND the plant, paint the layer in black, and merge the 2 layers.



For this one you just create the black layer like explained above


Now in the DEF file ---> Code the colored image with transparency (trans = add) and code the black and white image with substraction (trans = sub)
The black and white image must be BEHIND the colored image, otherwise it will appear as a dark plant (because the coloured one will be covered by the dark sub layer)

--------

Now HOW do you GET an image with transparency you ask ? Well you can either

- Cut manually WITH ANTI ALIASING (= anti hard edges) but it's annoying most of the time adn you will suck at it lol.

- Find images on Google images or DevianArt (great website) by adding the keyword "PNG" or "alpha channel" or "stock" to your research.

- Use a function or plugin that substract colors: for example if you get an image of an eagle that has a perfectly black background, your plugin should be "intelligent" enough to erase the black behind the eagle. It will also erase the black inside the eagle but that's ok. recoloring manually the inside is much easier than cutting out borders, trust me. The black recoloring of the part inside the eagle that lost black, must be done on a separate layer BEHIND the actual eagle. Then you merge them together



[size=12pt]Voila bitch.[/size]




Last edited by jeanbureau on Sat Oct 13, 2012 4:10 pm; edited 1 time in total


________________________________________________________________________________________________________________________________________________________________________
MY STAGES ARE NOW HOSTED AT TRINITY MUGEN :)
GET ALL MY CURRENT STAGES COLLECTION HERE :
(MP3's are not ALL included for now sorry - only some of them)


http://www.trinitymugen.net/forum/index.php?action=tpmod;dl=cat294

G

avatar


Wow, this really did work for me thank you. Saves a lot of annoying work.


________________________________________________________________________________________________________________________________________________________________________

http://www.newagemugen.com/

Markpachi

avatar


This is just a hunch but I think Jean retired from Mugen. His name in the Guild changed to "ciao", which means goodbye? What's going on!?

Margatroid

avatar


I thought this method was known by more people, I figured it out while making the omk stages(since they require tons of these layers for brightness and good blending) yeah, it is great. :P

@MarkPachi wrote:This is just a hunch but I think Jean retired from Mugen. His name in the Guild changed to "ciao", which means goodbye? What's going on!?
I saw him logging in free for all yesterday. I've not seen him in guild tho.

jeanbureau

avatar


I left MFG in silence.

I have decided to redefine my priorities in life. You won't see me on MFG anymore at all.
Ironically I left for the same reason Jesuszilla left, and his website, TrinityMugen, will be the vestige of my work.
On the top of that, a second reason is that it is for the better. Less time on MFG means more time to be used constructively.

I won't post my new creations through topics anymore. You will have to check the stages section on TrinityMugen.

I might also create a list of "friends" that will have access to my stages if i was to make some more stages in the future. The downloads would probably be protected by a password I will give to this restricted list of persons.
But that's not sure yet. For now, everything remains accessible to the public.

For those who want to contact me, you can still pm me here or trinity but i will be less present than before.


________________________________________________________________________________________________________________________________________________________________________
MY STAGES ARE NOW HOSTED AT TRINITY MUGEN :)
GET ALL MY CURRENT STAGES COLLECTION HERE :
(MP3's are not ALL included for now sorry - only some of them)


http://www.trinitymugen.net/forum/index.php?action=tpmod;dl=cat294

G

avatar


We can respect that, Jean.

I hope everything works out for you and you're able to prioritize everything you must. Feel free to stop by anytime. We'll still be here.


________________________________________________________________________________________________________________________________________________________________________

http://www.newagemugen.com/

Demitri

avatar


damn just when i was gonna flood you with 21 questions...

Can't blame ya though.


________________________________________________________________________________________________________________________________________________________________________

Markpachi

avatar


Goodbye mentor. May you have a good one.

Vegaz_Parrelli

avatar


Dang...your good advice will not be in vain. Rest assured...


________________________________________________________________________________________________________________________________________________________________________




Do your best to become stronger. Become stronger, so you can do your best

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum