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.

DarkBASIC Professional Discussion / 3d Goggles and Dark Basic Gaming

Author
Message
Yummy Paint
20
Years of Service
User Offline
Joined: 21st Feb 2005
Location:
Posted: 21st Feb 2005 07:28
Hi everyone,
I recently purchased a pair of 3d goggles (wired lcd), which use very fancy drivers to produce 3d from any OpenGl or Directx game regardless of if it was designed for use with 3d goggles. I have tested them with games like Halo for PC, and EvE online, neither of which have any special code for use with 3d hardware, and they perform admirably. However, when it comes to using them with darkbasic programs, they just don't work. I wrote a simple program that rotates a cube, but it only displays in 2d. I have also checked that hardware acceleration is on, and fiddled with the code a bit, but have had no luck. Any tips? Thanks!
Clueless
21
Years of Service
User Offline
Joined: 16th Feb 2004
Location: Corbin, KY, USA
Posted: 21st Feb 2005 13:01 Edited at: 21st Feb 2005 13:02
There is a command called PERFORM CHECKLIST FOR CONTROL DEVICES. The help specifically mentions head-mounted display devices, so it might be worth issuing that command from your program and seeing if your goggles are even showing up in the list. I'm curious which goggles you purchased? Last year I saw an incredible 3D IMAX film on outer space. The audience all received wireless goggles as they trundled into the theater. AWESOME tool!

Obviously they're being detected as some type of display device 'cause you're seeing output. My wild guess is that they're defaulting to a generic VGA or SVGA device as far as DBP is concerned. I'm also wondering if the goggles might be one of the things for which DirectX offers full support, but not all that support has been added to DBP again.

It might also be worth a shot to go into your Control Panel and check out any listed devices under Display and/or Gaming devices -- could there be a setting for your goggles that you need to manually configure to have the recognized properly -- one that Halo and others know about and so are setting for you at run time?

Sorry I can't be of more help than that. If you do make progress I'd be very interested in hearing how it turns out (as would probably most everyone in the forum). I got to play with early 3D goggles on my first job 20 years ago, when they cost so much you had to mortgage your home to buy them. I've wanted my own ever since.

If my memory hasn't failed me, NASA has online 3D photo galleries available for download. Talk about having some cool background imagery in your games!
Yummy Paint
20
Years of Service
User Offline
Joined: 21st Feb 2005
Location:
Posted: 21st Feb 2005 13:54
thanks for the advice, I tried the command you specified, but it only found my joystick. The goggles i have can be purchased from www.xforce3d.com. They are unlike "virtual reality goggles," which use screens mounted into the goggles themselves, because they make use of your monitor. They achieve a 3d effect by having the monitor display at double the normal refresh rate, and then the lcd shutters built into the goggles turn on and off in sync with the monitor refreshing, that way a given frame can be assigned to either eye. this is what produces the 3d effect.

When i turn on the goggles at any time, they have built in hardware which makes them shutter in sync with the monitor, so the problem i am having does not involve hardware at all, but the question of why other directx based programs automaticaly display a "double image" on the monitor, but mine does not. I was very encouraged to find that the highly featured game "room war," available in the downloads section of this site, performed brilliantly in 3d! This makes me wonder if it's a compiling issue or if theres some piece of "finnishing touch" code that I'm forgetting.

Also, if I cant get the special drivers to work, I can create the 3d effect myself (because the goggles shutter regardless), if I can get the frame rate of the game perfectly synchronized with my monitor refresh rate. Understandibly, the SYNC RATE command produces a varying frame rate.
RiiDii
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 21st Feb 2005 17:48
I think it might be because you are only testing with a single cube; the 3d isn't dramtic enough for you to decern the double image (which is pretty difficult to do in real 3d with only a single object). Try several object at varying distances. Also, movement helps add to the 3d effect.

"Droids don't rip your arms off when they lose." -H. Solo

REALITY II
Yummy Paint
20
Years of Service
User Offline
Joined: 21st Feb 2005
Location:
Posted: 27th Feb 2005 06:56
I dont think im having a depth issue. I have tried a variety of objects at different positions and with different lighting etc, but still nothing. If the 3d goggle driver doesnt not need a pre-existing dark basic command, then there must be some other piece of specialized but universal code that programs like Room War, Halo, Cow abductor, Roswel racer, and eve online all have. I have no idea what this may be, but if anyone knows of any commonly used graphics commands that arent included with dark basic they would be of great help.

Login to post a reply

Server time is: 2025-06-04 19:07:58
Your offset time is: 2025-06-04 19:07:58