Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 23/3/09 6:32

coool
Member
From: China Haikou
Registered: 12/2/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 (23/3/09 6:57)

Offline

#2 23/3/09 8:48

Iritscen
Moderator
From: NC, USA
Registered: 22/10/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.


byproducts are fine, but where's the beef?

Offline

#3 23/3/09 9:19

coool
Member
From: China Haikou
Registered: 12/2/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 23/3/09 9:54

Iritscen
Moderator
From: NC, USA
Registered: 22/10/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


byproducts are fine, but where's the beef?

Offline

#5 23/3/09 10:42

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

Re: Some questions of moddle

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

CheapSunglasses.png

Offline

#6 23/3/09 12:57

Iritscen
Moderator
From: NC, USA
Registered: 22/10/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


byproducts are fine, but where's the beef?

Offline

#7 23/3/09 14:19

Gumby
Member
From: Seattle, WA, USA
Registered: 30/8/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 23/3/09 17:49

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/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 23/3/09 17:53

TomeOne
Administrator
Registered: 7/1/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 24/3/09 4:33

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

Re: Some questions of moddle

thank you guys,I'll try it again big_smile

Offline

Board footer

Powered by FluxBB