Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / cartoon shading question

Author
Message
Steverino
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United States
Posted: 3rd Oct 2002 14:56
The command goes:
SET CARTOON SHADING ON Object Number, Shade Image, Edge Image

The manual says, "The shading image and edge image require layout for the toon shading to work correctly." What does that mean exactly? What should those images look like? A small simple demo would be most welcome.
Surrealist writing toy -- http://www.iconpoet.com
Zero
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location: Finland
Posted: 3rd Oct 2002 15:50
I think they are same as the textures, but edgemap with outlines bolded..
Shade image is a plain-color texture some dark and light parts highlighted.. I think.

In fact I have no idea.

The evil plan is now even closer!
- - - - - - - - - - - - - - - - - - - -
Specs:- P3 550 Nvidia TNT2M64, 192Mb RAM
EgoAnt
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Canada
Posted: 3rd Oct 2002 23:24
I'd really like the answer to this one as well.
Steverino
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United States
Posted: 4th Oct 2002 05:50
I was thinking the edgemap was probably something like what Zero describes, but think about the black outline of a cartoon character's cheek when he turns his head. The outline is always representing a different part of his face. I don't see how something that's basically a variation on a texture map could describe that.

Surrealist writing toy -- http://www.iconpoet.com
Zero
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location: Finland
Posted: 4th Oct 2002 11:52
Hmm.. good point. DBS should include some more information about cell shading and usage of this feature to the manual/help files.

The evil plan is now even closer!
- - - - - - - - - - - - - - - - - - - -
Specs:- P3 550 Nvidia TNT2M64, 192Mb RAM
exLRT
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: Belgium
Posted: 4th Oct 2002 15:45
In fact I think that the manual needs more improvement than the software itself!!!

Ulric
ASUS A7M266 - AMD Athlon 1.4GHz - 512MB DDR266 - CreativeLabs GeForce4 Ti4600 - Windows XP Pro SP1
Richard Davey
Retired Moderator
21
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 4th Oct 2002 16:55
Hi guys,

The edge image file is used to give an almost "halo" like effect the object - it doesn't map to the actual mesh, just the outline of it (which is constantly changing) otherwise it'd look like chunky wireframe mode was on

The edge image really only needs to be a BMP file of 16x1 pixels in size and solid black.

For the shade image again create a similar size BMP and put 16 shades of a colour in it going across, these are the colours that will be used to "fill in" your cartoon. It doesn't have to be this size (or those colours) so experiement a bit with this one.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Steverino
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United States
Posted: 4th Oct 2002 17:14
Thanks, that should be enough to get us started.

Surrealist writing toy -- http://www.iconpoet.com
Zero
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location: Finland
Posted: 6th Oct 2002 13:26
Thanks rich

The evil plan is now even closer!
- - - - - - - - - - - - - - - - - - - -
Specs:- P3 550 Nvidia TNT2M64, 192Mb RAM

Login to post a reply

Server time is: 2024-04-19 19:35:07
Your offset time is: 2024-04-19 19:35:07