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 glasses does not work with dbpro !??

Author
Message
Toto
21
Years of Service
User Offline
Joined: 9th Feb 2004
Location:
Posted: 9th Feb 2004 20:40
Hi,

I currently test E-dimensional 3D glasses on my computer
and it works very well with all my DirectX programs except
with dbpro...
Does anybody know how to activate or use these glasses from dbpro ?
May be there is a problem with a key mapper or is it a sync problem ?
thanks a lot for your help
yours
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 9th Feb 2004 21:15
what kind of 3D glasses are they? The headset, or the red/blue ones?
For the Red+Blue you can use a code somebody posted here somewhere.
If you're talking about the headset, I can't help you there.

Why do programmers always mix up Christmas and Halloween?
Because DEC 25 = OCT 31
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 9th Feb 2004 21:59
My web site has a code snippet for this:

http://www.davidtattersall.me.uk/db/snippet_3d.htm

"They misunderestimated us" - George Bush
"The box said 'Requires Windows 95 or better'. So I installed LINUX. "

Formerly David89.
Proteus 1935
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Brazil
Posted: 9th Feb 2004 22:27
I think he's talking about those that come with expensive video-boards...

@TKF15H
Eu lembro dessa sig
"Why do programmers always mix up Christmas and Halloween?
Because DEC 25 = OCT 31"

Currently coding: VideoCapture Plug-in (cameras)
Recent coding: Momentum concervative collision response
Proteus
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 9th Feb 2004 23:21
Quote: "I think he's talking about those that come with expensive video-boards..."


The video card jsut produces the image, and I think he's having trouble with producing an image which will work with red/blue glasses.

"They misunderestimated us" - George Bush
"The box said 'Requires Windows 95 or better'. So I installed LINUX. "

Formerly David89.
TwoSheds
21
Years of Service
User Offline
Joined: 24th Jan 2004
Location: ATLGAUS
Posted: 9th Feb 2004 23:25
I'm pretty sure he's talking about these http://www.mmorpg.com/edim_review.cfm. It's a "sponsered link" so caveat your emptor if you know what I mean.

The manufacturer's site is http://www.edimensional.com/Merchant2/agent.mv?AG=mmorpgdotcom&SC=PROD&S=edimensional&P=3DWLESS.

For what it's worth it sounds pretty interesting, but I'd like to see it before I cough up USD100 on it.

"Do not worry too much about your difficulties in mathematics, I can assure you that mine are still greater." Albert Einstein
Proteus 1935
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Brazil
Posted: 10th Feb 2004 03:56
That's what I was talking about, a friend of mine bought something like this (each eye is sync'd with a diferent image)...

Currently coding: VideoCapture Plug-in (cameras)
Recent coding: Momentum concervative collision response
Proteus
Dave J
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 10th Feb 2004 07:28
I've used them with Raven Shield and excuse my french but it looks f*cking awesome. The realism is unbeleivable, I felt like the gun my character was holding was physically there. The only problem is that it's impossible to shoot because the crosshair is 2D so it has like 2 positions and it makes the game very unplayable.


"Computers are useless they can only give you answers."
CloseToPerfect
22
Years of Service
User Offline
Joined: 20th Dec 2002
Location: United States
Posted: 10th Feb 2004 07:37
they should work with any directx 3d output, the ones I've tried worked fine. DBP should not make any diffrence since it uses directx 3d. odd. I tried the ones that come with the ati card, where did yours come from?

RGT may be gone but the best DBP forum is still alive and kicking, check it out.
http://www.dannywartnaby.co.uk/rgt/
Toto
21
Years of Service
User Offline
Joined: 9th Feb 2004
Location:
Posted: 10th Feb 2004 10:10
Yes, they work with any directx 3d output, except that to start
the automatic sync for each eye (created by glasses) by pressing a hot key does not work in dbpro programs.
you should see the glasses at http://www.edimensional.com/Merchant2/agent.mv?AG=mmorpgdotcom&SC=PROD&S=edimensional&P=3DWLESS
like TwoSheds wrote.
I think hot keys to activate glasses (CTRL+T) can't be used
inside dbpro engine but I don't know why and don't know how to avoid this.
When I start any game (except a dbpro one), I just need to press CTRL+T inside
the game to start the stereo system. Immediatly 2 images are
created on the screen and they are synchronized with the glasses
to see in 3D.
It should work exactly in the same way in dbpro but something
inside dbpro engine seems to block my hot key CTRL+T
which activate the stereo system...

thanks if somebody can help me again.. really..
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 10th Feb 2004 14:28 Edited at: 10th Feb 2004 14:36
it could be that DB/DBro traps the keyboard event handler. If thats the case, a work around would involve an API call such as
PostMessage(hWND,Msg,wP,lP)
but obtaining a window handle to your device can be tricky.
Also, you would need to post a message for each keypress...
And, if done from within DB, you would need to look up the API lib
dll to load. You could try setting the hWND value to HWND_BROADCAST
and then prevent DB from using your "keystrokes" for a few secods while sending them to the other app.

Just providing a place to start.
WARNING: use of API calls WILL CRASH PC from time to time.
expect this and always save your code.

EDIT> another idea just occured to me
have you tried starting the syncing before launching your DB app?
Your glasses are very new and expensive (ish) so probably not alot of users testing them yet, including me. I just lately got my first game controller in over 20 years .... since atari made one for the C64.

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html
Toto
21
Years of Service
User Offline
Joined: 9th Feb 2004
Location:
Posted: 10th Feb 2004 18:37
Thanks Waffle,

I think you are right, dbpro should trap the keyboard.
I just tried today to make a dll with the function :

MYCOMMAND void SwitchToStereo( void )
{
// Simulate a key press
keybd_event( VK_F7,
0x45,
KEYEVENTF_EXTENDEDKEY | 0,
0 );

// Simulate a key release
keybd_event( VK_F7,
0x45,
KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
0);
}

but when I call this function from dbpro
which simulate a F7 press and release
(F7 is my hot key to start the stereo driver in any D3D application)
but nothing happened unfortunately...
I can't start the stereo mode before my dbpro application anymore...
I'm not sure to understand your proposition about PostMessage
but it seems interesting, in fact I'd really like to send to Windows
a F7 press and release to start the stereo driver whereas I'm inside
my dbpro application... it's to bad that this is so difficult...
Thanks for an idea or some lines of code...

regards
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 10th Feb 2004 21:36
@Proteus

Roubei um sig! Muahaha
É o seu? Não lembro de quem era.
Já vou trocar de novo.

Why do programmers always mix up Christmas and Halloween?
Because DEC 25 = OCT 31
Proteus 1935
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Brazil
Posted: 11th Feb 2004 03:56
@TKF15H
Não esquenta, pode usar a sig, eu já troquei

Currently coding: VideoCapture Plug-in (cameras)
Recent coding: Momentum concervative collision response
Proteus
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 11th Feb 2004 17:13
the problem with a DLL simulating keyboard events using the method you did is it would send those keystrokes to the current app (DB) and not to windows. The PostMessage API call with the broadcast flag would send that keystroke to all active apps.... including background ones.

Another Idea...
Can't you start your thing going using run program?

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html
Darkflame
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 11th Feb 2004 23:24
I have those exact same specs, and it works fine.

You must have full screen exclusive mode though.

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
Toto
21
Years of Service
User Offline
Joined: 9th Feb 2004
Location:
Posted: 12th Feb 2004 16:37
Waffle, the code :

:ostMessage(HWND_BROADCAST,WM_KEYDOWN,VK_F7,0);
:ostMessage(HWND_BROADCAST,WM_KEYUP,VK_F7,0);

in my function SwitchToStereo works well but unfortunatly
my dbpro .exe does not activate my stereo driver

I don't know how to do more without any comment of dbteam
about dbpro engine... any idea again ?
thanks Waffle to have taken some time...

Darkflame, you say you use the E-D 3D glasses and you say
it works inside a dbpro .exe ???
please can you specify me what exactly is your configuration ?
I tried every video mode... what do you mean about exclusive mode ?

thanks a lot agin for your help...

Cheers
TheCyborg
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Denmark
Posted: 13th Feb 2004 14:25
Fullscreen Exclusive mode is real fullscreen... Windowed Fullscreen, wich is the default setting, only lays the application on top of the desktop.

Member of Tjald - Targeted Joint Addicted Liberation Diplomacy

I am (currently) 42% addicted to Counter-Strike. What about you?
Darkflame
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 13th Feb 2004 17:45
Yes, its absolutely essiental that you compile your game with Full Screen Exclusive
Just change the settings on your project.

For the record:
I have the latest DirectX, Windows2000, GForceFX5200.
I am using both the stero drives and the graphic drive on the CD that came with the glass's.
("Version 3.0 Serial 257-0002500")


I cant seem to get Nvidias latest drivers too work though.
Oddly it seems there new "Forcefire" stuff or whatever it us, isnt fully compatble with their own stero drivers.
Hopefully this will be fixed soon.

Also worth noteing, in the project settings, remember to set the resolution to the one that gives you the best possible refresh rate
(makes the 3D effect flicker less).

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 13th Feb 2004 18:50
great
I'm sure you'll get the rest figured out after some serious zombie bashing....

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html
theDK
21
Years of Service
User Offline
Joined: 20th Jan 2004
Location:
Posted: 15th Feb 2004 11:06
"Oddly it seems there new "Forcefire" stuff or whatever it us, isnt fully compatble with their own stero drivers.
Hopefully this will be fixed soon."

on a side note ... these drivers that nvidia releases are compatable with a specific set of display drivers ... what I mean is that when you download the drivers you should also note what version of display drivers you can use with thses stereo drivers ...
I've always been a nvidia fan ... now that I've switched to ati after the fuzz that was going on about nvidia cheating and all that stuff i became to miss nvidia cards ... at least I was able to use my stereo glasses
Toto
21
Years of Service
User Offline
Joined: 9th Feb 2004
Location:
Posted: 16th Feb 2004 11:46
THANKS A LOT EVERYBODY !! REALLY !! IT WORKS !!!

EXCLUSIVE FULLSCREEN WAS THE ONLY KEY


BEST REGARDS

Login to post a reply

Server time is: 2025-05-29 08:52:27
Your offset time is: 2025-05-29 08:52:27