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 / SET SHADOW SHADING ON statement

Author
Message
Deva
19
Years of Service
User Offline
Joined: 3rd Oct 2004
Location:
Posted: 26th Jul 2007 16:11
I am a newbie to DBPro and DirectX.

I use a Fujitsu Siemens Amilo 1405 with Intel 82852/82855 GM/GME Graphic Controller and Intel Extreme Graphic Driver 2 for mobiles.
It has 64mb memory but no "Transform and Lighting" option.

My version of DBPro is 1.066 and the DirectX version accordingly to the Directx log is " 4.09.00.0904"

So far on my new project "dial", the objects, texture and lights seems ok but when I use my first shadows statement

SET SHADOW SHADING ON ball,-1,2000,1
when ball is the object
and -1 equals "no mesh"
and 2000 equals distance
and 1 to use the computer's shading rather than the video hardware

the compiler appears to work ok but the "dial.exe" fails with the error message:

"dial.exe has encountered a problem and need to close"

The error signature is:

Appname: dial.exe
appVer: 1.000
ModName: d3d9.dll
Modver:5.3.2600.2180

If I remove the offending statement, the program "dial.exe" works ok.

Any idea ?

Attachments

Login to view attachments
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 27th Jul 2007 04:21 Edited at: 30th Jul 2007 12:20
It program work for may PC.

try it
SET SHADOW SHADING ON ball,-1,2000,0

Referentially:
http://forum.thegamecreators.com/?m=forum_view&t=110626&b=1

.

Attachments

Login to view attachments
Deva
19
Years of Service
User Offline
Joined: 3rd Oct 2004
Location:
Posted: 27th Jul 2007 12:23
pcRaider, still the same problem
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 27th Jul 2007 14:53 Edited at: 27th Jul 2007 14:56
SET SHADOW SHADING ON

I think that this command depends on a video card.
I may be related to a version of DirectX.
I do not understand a detailed thing.
In other words when it is a different PC, I may not work.

Please test the following programs.


There is not no problem, and I am displayed.

Other all of you try to test it, too, and please teach a result.
Deva
19
Years of Service
User Offline
Joined: 3rd Oct 2004
Location:
Posted: 28th Jul 2007 16:51
pcRustler,

I tested your "code snippet"

On my computer,it failed exactly like my "dial" program , whether the statement "set shadow shading on " uses 0 or 1 (for software or hardware shading).

If I remove the ""set shadow shading on " statement, then your program works OK apart from the shadow.

Do anyone else have the same problem on laptops with the Intel 82852/82855 GM/GME Graphic Controller?
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 30th Jul 2007 15:13 Edited at: 30th Jul 2007 15:15
Hello, watch it
Is not there a person helping it?
It is an easy thing.
I run the program mentioned above, and the post please do whether You worked, or there was an error.

Thank you.

Login to post a reply

Server time is: 2024-09-27 02:23:35
Your offset time is: 2024-09-27 02:23:35