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 / How to make shadows

Author
Message
hpfan273
17
Years of Service
User Offline
Joined: 19th Jan 2007
Location:
Posted: 31st Jan 2007 03:59
how doo i make shadows..... it is realllyyy reallllyyy needed in my game.... and i can't figure it out...... help plz.... here is my LEVEL 1 code allready....



THANKS FOR STOPING AT A RED LIGHT... AND LETTING ME CRASH INTO YOU AT 80 MILES AN HOUR!!!
UltraG
17
Years of Service
User Offline
Joined: 19th Jan 2007
Location: Right here, where I am.
Posted: 31st Jan 2007 04:57
Try Turning on light shading for all the objects. That should work. If it doesn't, go to the basic 3d commands in the help file and look for something that will help.
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 31st Jan 2007 07:58 Edited at: 31st Jan 2007 10:00
gimme teh codez post i see....
o well lol i used to do it ages ago i probably still do sometimes without noticing

anyway im sorry but i dunno how to make shadows

EDIT: sorry i wasn't trying to sound mean... but other people may flame you for saying, heres some code tell me how to make it have shadows if you know what im saying... I won't flame you but i wish i could help

~Kieran
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 31st Jan 2007 10:30
There is a manual full of code examples...and there is even a code like this:

"Set object Shadow Shading on"<<<Could be wrong about the syntax<<<

-Prince Of Darkness>>>WTF? I cant change my forum name?<<
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 31st Jan 2007 20:27
@ prince of darkness
i think that works for things like Make object sphere 50
but it doesnt work for .x models very well

~Kieran
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 31st Jan 2007 23:05
Ugh! What is up with the indenting?

Quote: "
i think that works for things like Make object sphere 50
but it doesnt work for .x models very well
"

It works for any object but admittedly it isn't great. Hopefully DBP x10 will solve that.

Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 31st Jan 2007 23:35
Quote: "Quote: "
i think that works for things like Make object sphere 50
but it doesnt work for .x models very well
"
It works for any object but admittedly it isn't great. Hopefully DBP x10 will solve that."


Yes i know it works for them but what i meant is it looks like doodoo on .x models

~Kieran
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 1st Feb 2007 04:06
yeah, doodoo

thx
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 1st Feb 2007 16:39
To be honest it even messes up on the primitives, at least it does for me. But yeah, I wasn't suggesting you didn't know. Sorry if you thought I was patronising/insulting your intelligence or whatever because I can assure you that wasn't the intention.

Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 1st Feb 2007 19:30
Quote: "To be honest it even messes up on the primitives, at least it does for me. But yeah, I wasn't suggesting you didn't know. Sorry if you thought I was patronising/insulting your intelligence or whatever because I can assure you that wasn't the intention."


no no not at all lol...it just sorta seemed you were implying that i said it didn't work at all lol but i said it works but not very well

~Kieran
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 1st Feb 2007 20:59
Ok, good stuff!

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Feb 2007 00:44
shadows are spawned from light zero, move light zero regardless if its turned on and you will see a good result.

Login to post a reply

Server time is: 2024-11-26 21:33:24
Your offset time is: 2024-11-26 21:33:24