devils shadow system

Blitz3D Forums/Blitz3D Userlibs/devils shadow system

mtnhome3d(Posted 2008) [#1]
ok i'm new to this shadow system and i'm having some issues.
first i get some very weird z-order like issue. also if i use setshadowmesh on my cube character it no longer participates in collisions. heres the code.



jfk EO-11110(Posted 2008) [#2]
This code does not run. These are only a bunch of functions and no main program or init part etc. You can't expect us to hack this.


mtnhome3d(Posted 2008) [#3]
oops heres the rest of the code
;thursday,feburary 14,2008
;R. Manwiller
Include "DevilShadowSystem.bb"
Include "ShadowVolumes.bb"
Include "UserInterface.bb"

Graphics3D 1280,1024,128,2
SetBuffer BackBuffer()
AppTitle "BATTLE CART"
HidePointer
frametimer=CreateTimer(60)

Type char
Field e,x,y,z,fx,fy,fz,i,hp,wins
End Type

Type item
Field e,i_type,x,y,z,prob
End Type

Type gbox
Field e,x,y,z,i,time
End Type

Include "globals.bb"

Const player=1,pickup=2,goodie=3,world=4,bottom=5
Collisions player,world,2,2
Collisions player,pickup,2,2
Collisions player,goodie,2,2
Collisions player,bottom,2,2

loadlevel()
loadplayer()

While Not KeyHit(1)

updateplayer()
;updateitems()
updatelevel()
updatecam()

Render(2,1)
UpdateWorld
Text 0,0,TrisRendered(),0,0
WaitTimer frametimer
Flip
Wend
End
Include "data.bb"
Include "functions.bb" 



bytecode77(Posted 2008) [#4]
this code still is incomplete.
please send the entire source code with media and everything. if you cant or dont want to post it here, jus email me :)


mtnhome3d(Posted 2008) [#5]
i'll email you the source and media.