Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

cell shaded models pt.1 && 2

Learn more on how to use Sandbox, or submit your own tutorials or resources.
Post Reply
offtools
Member
Member
Posts: 125
Joined: June 23rd, 2009, 2:10 pm
Name: offtools
IRC Username: offtools

cell shaded models pt.1 && 2

Post by offtools »

hi there,

yesterday there was a discussion about cell shading on irc. i want to show a simple method to cell shade your player models in blender.

first open the ogro model in blender. you can do that either by importing the md3 or use the blend file:
cell-shading03.jpg
select the ogro, change to into edit mode and select all vertices:
cell-shading04.jpg
now duplicate all vertices of our ogro by using SHIFT-D. press ENTER. the new vertices on the same position than the old. to find these new vertices again, create a new mesh group, name it cellshading and assign the new (hopefully still selected) vertices to this group.

now scale the vertices along the normals. use the Mesh Menu [MESH->TRANSFORM->SHRINK/FLATTEN ALONG NORMALS] or simply press ALT-S.
cell-shading05.jpg
the scaled shape will be used as our black edges or cell shader.

ok. we go on to the next part. :)
Last edited by offtools on August 15th, 2009, 3:31 pm, edited 1 time in total.
offtools
Member
Member
Posts: 125
Joined: June 23rd, 2009, 2:10 pm
Name: offtools
IRC Username: offtools

cell shaded models pt.2

Post by offtools »

how does the cell shading trick work. in generally, give the outer shape (our scaled vertices) a black color and flip normals. the outer shape will now appear invisible from outside. the visible is inside and will appear as a black edge around our model.

steps (after scaling):

*select all vertices of the outer shape
*flip normals
cell-shading08.jpg
now open uv-editor and open the skin.png file. press U to unwrap the new shape. as the orgo has already a black part. just scale the unwraped part very smale and move it into the black section.
cell-shading10.jpg
you can play with the thickness of the edges by scaling (ALT-S) the new shape again.
here it is. now export your modified orgro and load it into pas.
cell-shaded-ogro.png
User avatar
undo2
Member
Member
Posts: 11
Joined: August 5th, 2009, 11:43 am
Name: beth
IRC Username: none yet

Re: cell shaded models pt.1 && 2

Post by undo2 »

that's very nice. you did a good job!
User avatar
Calinou
Member
Member
Posts: 7
Joined: September 21st, 2009, 2:53 pm
Name: Hugo

Re: cell shaded models pt.1 && 2

Post by Calinou »

yeah, cool !

I am also a starter in modelling !
Regards,
Calinou :)
User avatar
Obsidian
Former Staff
Posts: 454
Joined: May 24th, 2009, 1:52 pm
IRC Username: Katana
Contact:

Re: cell shaded models pt.1 && 2

Post by Obsidian »

Haha, I just noticed the && in the title, good one offtools. I didn't catch that earlier. :lol:
うるさいうるさいうるさい!

github: https://github.com/damianb/
User avatar
Drago
Contributor
Contributor
Posts: 20
Joined: January 5th, 2010, 4:16 am
Name: Karim Haddad
IRC Username: Drago
Location: Egypt > Cairo
Contact:

Re: cell shaded models pt.1 && 2

Post by Drago »

Thank you very much it has been very useful for me ^^, thanks again
Congrats EGYPT!!!
7 times to win CAF and 3 times on series
I LOVE GEDO!!!
dannyjie
Member
Member
Posts: 10
Joined: April 22nd, 2010, 2:29 am

Re: cell shaded models pt.1 && 2

Post by dannyjie »

how to put the model that we design into the sandbox?
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: cell shaded models pt.1 && 2

Post by arcones »

Danny, check out your Support topic. I answered it there ;)

Arc :geek:
Image
Want a user bar like this one? PM Leo!
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: cell shaded models pt.1 && 2

Post by chocolatepie33 »

Great tutorial. I can't figure it out, but I have little experience, so it's not your fault. I think, if you modified enough models, you could make a
cell-shaded "Cartoon models" folder in the newer versions.
A request: Can you make a tutorial for animated md3s, including animating them and exporting them? Also, I have version 2.49, so...
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Post Reply