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.

Dark GDK / No shadow ? dbSetShadowPosition()

Author
Message
djbneben
17
Years of Service
User Offline
Joined: 6th Jan 2007
Location:
Posted: 1st Apr 2009 23:36
hello,
This command does not support DARKGDK! I give the code to see if it's coming from me!



.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 2nd Apr 2009 12:40 Edited at: 2nd Apr 2009 12:41
Certainly, they do not work.

I'm thinking about posting this in the bug forum...



This is the code for the pic above:



Well I have to say that the current DGDK shadows are from the 2003 version, as they behaved exactly the same.
Mike Johnson fixed them for DGDK 2005, and they were working solid.
What I don't understand is why we have again the 2003 shadows for DGDK 2008.
It should be quite simple to bring in Mike's 2005 fixing, uh

djbneben, a couple of comments about your code:

- You must position light 0 in the sun position. Light 0 is the only one that can cast shadows, do something like this:



- I don't understand why you set the dbSetShadowShadingOn mesh parameter to -1:



Are you sure that's right?

Attachments

Login to view attachments
djbneben
17
Years of Service
User Offline
Joined: 6th Jan 2007
Location:
Posted: 2nd Apr 2009 13:24
Ok, thx for answer!
i have just take the same of DBPRO :




And I made sure that the light moves vertically, just for me!

.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.

Login to post a reply

Server time is: 2024-09-30 21:26:28
Your offset time is: 2024-09-30 21:26:28