Shadows

Blitz3D Forums/Blitz3D Beginners Area/Shadows

Nate the Great(Posted 2008) [#1]
Does anyone know of any free dlls to make shadows.


GfK(Posted 2008) [#2]
Hank Marvin has a good one.


puki(Posted 2008) [#3]
Not so much dlls, but there are a few free shadow systems - "jfk" has one - there is the Devil one too - there are a few in the code archives.

HOWEVER, The Devil Shadow System is the most impressive free Blitz3D one on the planet:
http://www.devil-engines.net/


Nate the Great(Posted 2008) [#4]
Thanks!!! The devil shadow system will really make my game look a lot more finished.

[edit] I can't get the examples to work even though I put the userlibraries in my userlib's folder. Why doesn't it work?


puki(Posted 2008) [#5]
Define 'I can't get the examples to work'.

I assume you are talking about running the Blitz3D code for each example - what happens when you try to run them - any error messages?

Do, the .exe files run? If so, then we can deduce that your hardware is okay. If they do not - does anything happen?


Nate the Great(Posted 2008) [#6]
Some of the .exe files run, but when I run it in Blitz3D, it says function does not exist and opens up one of the includes.


puki(Posted 2008) [#7]
Which Function(s)?


Nate the Great(Posted 2008) [#8]
Getcamrangestart()

It is in one of the include files.

[edit] Could it be a problem with vista?


puki(Posted 2008) [#9]
That's internal to the DevilShadowSystem_B3D.dll

However, on the site, the highest update to DSS is 1.35 - yet, I have 1.38a which I have had for over a year.

What version of Blitz3D are you running and which version of DSS did you install?


Nate the Great(Posted 2008) [#10]
I have blitz3d v 1.99.

I installed the full version of Devil Shadow System.


puki(Posted 2008) [#11]
I'm not sure.

InitVolumes would be the first thing to fail if DSS was not set up right.

The site has other versions - try all of them. Remember to overwrite the 3 files in UserLibs before testing each one.


Nate the Great(Posted 2008) [#12]
I tried the update to dss 1.35 and it can't find the function DX7_SetSystemProperties. The weird thing is I have DirectX 9.


Gabriel(Posted 2008) [#13]
Have you tried spelling Properties with an E instead of an O?


Nate the Great(Posted 2008) [#14]
Ohh sorry That was a typo by me but it still doesn't work.


Gabriel(Posted 2008) [#15]
Well DX7_SetSystemProperties sounds like something from Tom Speed's dll. Are you sure there isn't anything in the DSS docs about another DLL/Userlib being required?


Nate the Great(Posted 2008) [#16]
I'm pretty sure There wasn't anything extra, but if there was I wouldn't be able to find it.


Gabriel(Posted 2008) [#17]
After a little bit of searching ( which you could easily have done yourself ) it seems that you haven't followed the installation instructions. You haven't copied the userlibs to the right folder.

http://www.blitzbasic.com/Community/posts.php?topic=67854#758122


Nate the Great(Posted 2008) [#18]
Ohh!
Sorry. I'm kind of new to this blog, so I didn't think of searching. Thanks!

P.S. I made my own very slow shadow system. Here it is.



Thanks for the help!

You may have to wait a moment for the shadows to kick in.


Nate the Great(Posted 2008) [#19]
Never mind it's still not working. What exactly is the "real" userlib's folder.


Nate the Great(Posted 2008) [#20]
Could someone please tell me step by step what to do once I download Devil Shadow System to get the DLL's working. Sorry. I'm new to this and I just can't get it working.


puki(Posted 2008) [#21]
Some of the .exe files run...


With regard to the .exe files, the one(s) that didn't run successfully, exactly what happened when you launched them? Any error messages?


Nate the Great(Posted 2008) [#22]
The only one that did work was Sample 4 Island.exe All of the others said Memory Acces Violation. Could it be because my screen is an odd size (1440*900)?


puki(Posted 2008) [#23]
The Mav is possibly just media related - in terms of the exe was not finding the required files.

Your screen size is hardly-standard (I've never used it), I would certainly try running it in a more standard size - 1280 x 1024 or 1024 x 768 or 800 x 600

Try running one of the exes at a standard resolution and report back. Just to rule out any MAV due to the resolution.


puki(Posted 2008) [#24]
I just downloaded and tested the exes on both ATI and nVidia cards.

What make and model graphics card do you have? Not all cards will support the features of DSS.


puki(Posted 2008) [#25]
If DSS just won't run for you then try "jfk's" simple one:

http://www.melog.ch/screens/norc_shade1.zip


Nate the Great(Posted 2008) [#26]
Thanks. I would assume that my graphics card is pretty good considering I just got this laptop last week, but jfk's shadow system works well.


Gabriel(Posted 2008) [#27]
Never mind it's still not working. What exactly is the "real" userlib's folder.

That depends on where you installed Blitz3D, as it's relative. Assuming a default installation, the userlibs folder is at

C:\Program Files\Blitz3D\userlibs


Nate the Great(Posted 2008) [#28]
Ok. That's where I put my .decl files and I put my dlls in the samples folder. Am I doing this right. Also, are the new commands supposed to be highlited in yellow like the normal blitz commands, because they aren't.


Billp(Posted 2008) [#29]
put the dlls in userlibs as well


Nate the Great(Posted 2008) [#30]
still not working!!! I guess I'll give up the shadow system for now.