Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 03/23/09 06:03

coool
Member
From: China Haikou
Registered: 02/12/08

Some questions of moddle

First:I use "-create:trbs" to make .oni file,but the moddle looks not smooth(it's very clear to see that in face),I remenber that I asked this before adn EDT answered me,but I forgot how to do...

2nd:I saw the "-cel" command in wiki.oni2.net,I saw there are edges in the moddle,but it's not black in my moddle,how to change the colour?

==================================================

OK,I know the first question, I should add the command "-normals"

and another qestion, when I export dae file in blender,what should I choose? p.aspx?u=v20_img3_img_0903232032088910_27625.jpg



p.aspx?u=v20_img3_img_0903232000554361_27625.jpg

Last edited by coool (03/23/09 06:03)

Offline

#2 03/23/09 08:03

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Some questions of moddle

Yes, I believe you answered your own first question.

As far as the second question, I can tell you that the color of a line edge is actually taken from a corner of that part's texture.  Each texture has to be edited to have a black pixel on each corner to guarantee the lines will be black.  This also allows someone the option of purposely using non-black as a line color, which I personally find is an interesting idea for certain model parts that look better without dark lines in them.  (P.S.: Don't forget about the optional line weight with the -cel switch, e.g. "-cel:0.1", you can try out different thicknesses.)

Blender's export options, ah, how many times have I tried to get that part right?  I believe you want to select "Disable Physics", that's the most important thing.  It looks like you also have an issue with your axes.  What's the best solution for that, guys?  I've never been good at fixing that problem.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#3 03/23/09 09:03

coool
Member
From: China Haikou
Registered: 02/12/08

Re: Some questions of moddle

hmm..I don't understand much.
you mean,I should change some of the colour to black?
or maybe you can tell me how to do?

Offline

#4 03/23/09 09:03

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Some questions of moddle

coool wrote:

you mean,I should change some of the colour to black?

Yes, the color of the four corner pixels on each texture determine the color of the lines when OniSplit creates "cel shading".  Or possibly just one corner, but since I don't know which one, you should just change all corners to black smile


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#5 03/23/09 10:03

coool
Member
From: China Haikou
Registered: 02/12/08

Re: Some questions of moddle

huh...who can post me the texture of this konoko?

CheapSunglasses.png

Offline

#6 03/23/09 12:03

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Some questions of moddle

I'm checking with geyser to see if he has the texture.  But as far as I know it's quite simple to do.  Let's say that these smileys represent the pixels in a TXMP: big_smile = white, lol = black, tongue = red, smile = yellow, cool = blue

A 4x4 texture                   Same texture with all black corners
cool cool smile big_smile                 \    lol cool smile lol
smile tongue smile cool    -----------\   smile tongue smile cool
smile lol lol tongue    -----------/   smile lol lol tongue
cool smile tongue lol                 /    lol smile tongue lol


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#7 03/23/09 14:03

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Some questions of moddle

Neo says the top left corner.

(Might be bottom left though)

Just color that pixel in with your favourite image editing software. smile


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#8 03/23/09 17:03

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Some questions of moddle

When you are exporting to Blender you need to add the following parameters:  -noanim -zup to the command -extract:dae

Also, when creating TXMP for celshading, you need to add the parameters: -nouwrap -novwrap, otherwise you have to color all four corners of the TXMP.

Offline

#9 03/23/09 17:03

TomeOne
Administrator
Registered: 01/07/07
Website

Re: Some questions of moddle

Iritscen wrote:

I'm checking with geyser to see if he has the texture.  But as far as I know it's quite simple to do.  Let's say that these smileys represent the pixels in a TXMP: big_smile = white, lol = black, tongue = red, smile = yellow, cool = blue

A 4x4 texture                   Same texture with all black corners
cool cool smile big_smile                 \    lol cool smile lol
smile tongue smile cool    -----------\   smile tongue smile cool
smile lol lol tongue    -----------/   smile lol lol tongue
cool smile tongue lol                 /    lol smile tongue lol

Best use of emoticons ever.


Harry | oni.bungie.org

Offline

#10 03/24/09 04:03

coool
Member
From: China Haikou
Registered: 02/12/08

Re: Some questions of moddle

thank you guys,I'll try it again big_smile

Offline

Board footer

Powered by FluxBB