Examples?

Advanced game related topics
stevev4v
User
User
Posts: 18
Joined: Fri Jan 06, 2006 7:50 pm
Location: United States

Examples?

Post by stevev4v »

Hi,

Are there any examples using the new 3D engine in PB4? Physics, shadows and what not?

Thanks!
AMD Athlon64 X2 4200+, eVGA GeForce 7950GT KO, 1GB PC3700, Creative X-Fi. 200GB SATA Striped RAID.
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

Example physic and shadow
http://www.purebasic.com/odetest3d.zip
Please correct my english
http://purebasic.developpez.com/
stevev4v
User
User
Posts: 18
Joined: Fri Jan 06, 2006 7:50 pm
Location: United States

Post by stevev4v »

Thanks for the demo... I am not seeing any shadows though I do have the latest Radeon drivers installed... any idea?
AMD Athlon64 X2 4200+, eVGA GeForce 7950GT KO, 1GB PC3700, Creative X-Fi. 200GB SATA Striped RAID.
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

Works for me with shadows ... have you tried the otehr shadow Mode ?

WorldShadows(#PB_Shadow_Modulative) ?

Greets, Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
stevev4v
User
User
Posts: 18
Joined: Fri Jan 06, 2006 7:50 pm
Location: United States

Post by stevev4v »

I have tried the other mode and still no joy. weird.
AMD Athlon64 X2 4200+, eVGA GeForce 7950GT KO, 1GB PC3700, Creative X-Fi. 200GB SATA Striped RAID.
Invizix
New User
New User
Posts: 5
Joined: Thu Jul 06, 2006 5:32 am

Post by Invizix »

The example provided in this posting does not seem to compile, it gives the following error...

Code: Select all

Line 35: Bad parameter type, number expected instead of string
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

There's two OpenWindow statements in that source with the old parameter order. Just move the window name from the end of the line back to before the flags for those two lines and it'll work.
BERESHEIT
Post Reply