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.

Newcomers DBPro Corner / cant get cartoon shading to work!

Author
Message
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 20th Mar 2003 17:31 Edited at: 20th Mar 2003 17:33


Can't get cartoon shading to work for some reason looked in the index but that confused me more, can someone help please.




2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 20th Mar 2003 17:36
Look at the manual entry for set cartoon shading. You're supposed to give it the image numbers, not the paths, of the images to use. Load them up with "load image" like normal.

More important though will be the structure of your toon images but I can't see them so I don't know if they're right or not (they have to be very specific!).

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 20th Mar 2003 17:56 Edited at: 20th Mar 2003 17:58


I don't have the manual i'm using the demo till next week, the images are just plain coloured bitmaps one red and one yellow, it loads up now but the images do not get applied to the object.


Thanx





p.s i tried this as well.

2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 20th Mar 2003 18:01
Silly question - but you DO have a GeForce3 (or above) graphics card yeah? because this effect is hardware based and needs one.

Your code is fine but the images are not in the right format - there is a very specific way to draw an image for use in cel shading, there's an example of one on the site: http://www.darkbasic.com/files/cartoon.zip

Load that into Paint or something - that is how a cartoon file should be designed.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 20th Mar 2003 18:07
The zip file doesn't work.

Why the hell'd you ask me for crying out loud!?!
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 20th Mar 2003 18:11 Edited at: 20th Mar 2003 18:14
winzip says that download file is missing data and i have a geforce 4 on my pc i'll try it on that,

oh yeah and when is newsletter issue 3 out

thanx for your help

2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp

Login to post a reply

Server time is: 2024-11-24 06:08:22
Your offset time is: 2024-11-24 06:08:22