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 / 3D Model viewer

Author
Message
gsd
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: London
Posted: 4th Sep 2003 20:29
Hi

Im creating some 3d models with Canvas Pro and want to make a viewer using DarkBASIC. Something similar to most FPS Games now where u can spectate other players using the mouse to control the camera.
I'm pretty new to this program and thought id get away with just rotating the object based on mouse movement which was Ok but not if I plan to use BSP worlds, collisions etc.
Can someone tell me the best camera commands to use?

gsd
Lampton Worm
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 9th Sep 2003 20:38
Hi,

If you have DBP it's worth checking out the FPS example, that would be perfect for you wandering about a BSP level.

Online ref for DBP camera commands:
http://www.realgametools.net/glossary/index.php3?theme=1&level=3&chapitre_id_select=17&document_id_select=3

Some other peeps have written model viewers in DB so may be worth scouring the forums for source code examples.

Hope it helps,
Cheers.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 9th Sep 2003 22:06
plan to be disappointed when you want to use BSP collision and Automatic Standard Collision at the same time (regardless of which objects have them applied) they don't work together.

It's a known bug

-RUST-
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 10th Sep 2003 07:42
gsd i have a free snippet that a few people have pulled apart to make there own model viewer.

http://www.lunarpixel.com/code.htm

help yourself.

http://www.lunarpixel.com
It's already tomorrow in Australia
gsd
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: London
Posted: 10th Sep 2003 14:15
Thanks for the help guys. The code is useful indi ive been looking through it. Ive got DBP on order ill check out its examples too

Cheers

gsd

Login to post a reply

Server time is: 2024-11-25 06:34:48
Your offset time is: 2024-11-25 06:34:48