Jump to content



Photo

Better Arcade Mode - MOD for Future Pinball


  • Please log in to reply
918 replies to this topic

#461 ckovanda

ckovanda

    Enthusiast

  • Platinum Supporter
  • 55 posts

  • Flag: United States of America

  • Favorite Pinball: attack from mars

Posted 09 August 2013 - 09:18 PM

 

I tried using a 360 Kinect last night and it wasn't detecting it.  I installed the SDK and when I went to choose kinect mode, the camera worked for a bout 5 seconds, then froze.  after that toggling back and forth id' get a camera not detected, plugin disabled error.

 

do i have to be using a kinect for windows specifically?  is anyone else using a 360 kinect successfully?

Well... , i can't confirm if Kinect 360 works.

Microsoft Kinect SDK licence for devs don't alow me to "...assist, encourage..." to use Kinect for XBOX 360 with  Kinect for Windows Applications.

http://www.microsoft...p/sdk-eula.aspx

 

... but i don't have "Kinect for Windows"... and i think on my video You can see "360" on "black shiny" device.

  ;)

 

make sure:

- have sdk 1.7

- uninstall not microsoft sdk version

- Your Kinect is to conected to PC as "only one" to USB port "pair". 

 

 

can you explain what you mean by "only one" to USB port "pair"  right now it's plugged in to the two USB ports on the front of the computer, should i unplug the other usb item from the front of the PC?



#462 ravarcade

ravarcade

    Enthusiast

  • Members
  • PipPipPip
  • 363 posts

  • Flag: Poland

  • Favorite Pinball: none

Posted 09 August 2013 - 09:27 PM

can you explain what you mean by "only one" to USB port "pair"  right now it's plugged in to the two USB ports on the front of the computer, should i unplug the other usb item from the front of the PC?

 

All USB port are in pairs. If Your MB have 6 ports, You have 3 pair. In one pair are 2 close USB ports.

You know that thru USB port You can send ~25-30MB/s. It is not exacly true. You can set it thru one pair. So if You have 2 devices connected to one pair. They will share same bandwith.

Kinect Send a lot of data and it is best, if it is "alone".

 

Second thing. If You connect Kinect to front panel of You PC chasie, You do it thru "usb cable extender". Not all devices work correct on long cables. Please connect Kinect to USB port on back of computer.


BAM page: http://www.ravarcade.pl

current BAM version: v1.5-317,  released: Oct 11, 2020


#463 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,471 posts
  • Location:Embrun, Ontario, Canada

  • Flag: ---------

  • Favorite Pinball: Superman, Firepower & Tron



Posted 09 August 2013 - 09:30 PM

Yes. I think when paired, there is voltage sharing. I think this was mentioned earlier in the thread. So if possible, plug it on its own when in a dial USB port.

Btw for some cases/motherboards the usb ports at the front of the case are sometimes not as strong voltage wise as ports in the back.

Edit: beaten by Rav lol

Edited by The Loafer, 09 August 2013 - 09:31 PM.


#464 ckovanda

ckovanda

    Enthusiast

  • Platinum Supporter
  • 55 posts

  • Flag: United States of America

  • Favorite Pinball: attack from mars

Posted 10 August 2013 - 06:08 AM

Yes. I think when paired, there is voltage sharing. I think this was mentioned earlier in the thread. So if possible, plug it on its own when in a dial USB port.

Btw for some cases/motherboards the usb ports at the front of the case are sometimes not as strong voltage wise as ports in the back.

Edit: beaten by Rav lol

well, I tried plugging it in in the rear port all by itself, uninstalled the old drivers and reinstalled them again but now BAM doesn't even have the kinect view as an option.  before it was there as an option, it just didn't work.



#465 ravarcade

ravarcade

    Enthusiast

  • Members
  • PipPipPip
  • 363 posts

  • Flag: Poland

  • Favorite Pinball: none

Posted 10 August 2013 - 07:16 AM

 

Yes. I think when paired, there is voltage sharing. I think this was mentioned earlier in the thread. So if possible, plug it on its own when in a dial USB port.

Btw for some cases/motherboards the usb ports at the front of the case are sometimes not as strong voltage wise as ports in the back.

Edit: beaten by Rav lol

well, I tried plugging it in in the rear port all by itself, uninstalled the old drivers and reinstalled them again but now BAM doesn't even have the kinect view as an option.  before it was there as an option, it just didn't work.

 

Do any Kinect aps from sdk works?

Are You sure, that You install SDK 1.7 (from link on my site)?


BAM page: http://www.ravarcade.pl

current BAM version: v1.5-317,  released: Oct 11, 2020


#466 ravarcade

ravarcade

    Enthusiast

  • Members
  • PipPipPip
  • 363 posts

  • Flag: Poland

  • Favorite Pinball: none

Posted 10 August 2013 - 02:23 PM

BAM Update
 
 
1. Fixed creashes on some tables (like Stern Tron, Robot Invasion, and probly many others). Error appears on v0.9-42 release . So if You have any crashes... update to v0.9-43
 
2. PostFX - "non-tracking" plugin. Create "gloom" effects. Go to "config"->"plugins" -> here are options:
- Gamma - Used to distinguish bright / dark pixels
- BlurScale - Increase range of blur
- BlurStrength - Increase brightnes
Here is link to source of PostFX:
(It is example of non tracking plugin and how to use "BAM" to hook opengl or other system functions)
 
3. WIP "New Render Path" - still a lot of work on it but now You can "play" with lights. Go to "config" -> "Rendering Engine":
- Mode:  here You can enable now path. "OddFrames" - evere second frame is rendered "new way". If You select "Stereo 3D Mode" : SideBySide - You will see on one half of screen "old render path" and on other half "new render path"
- MagicVal - don't do anything (it is "debug" leftover)
- Light - here is some cool stufs:
-- You can change "diffuse" brighnes and light position same way as in "Table & Light"
-- You can change "constant" and "quadratic" attenuation of main light
    If You increase "constant" You will make light darker.
    If You increase "quadratic" You will decrease range of light
-- You can do same thins with all lights on table, so You can make main light vary dark (Main Light constant attenuation for example = 5.0) and set  light on table bright ("table light constant attenuation = 0.050"). Same time if You increase "table light quadratic attenuation" You can limit range of table lights.
 
In new render path all lights sources are point lights.
Params of "Render Engine" are not saved. This release is only for play with lights for.
This release on new render path works only in "arcade renderer".

Edited by ravarcade, 10 August 2013 - 03:53 PM.

BAM page: http://www.ravarcade.pl

current BAM version: v1.5-317,  released: Oct 11, 2020


#467 dfarley

dfarley

    Neophyte

  • Members
  • Pip
  • 5 posts

  • Flag: United States of America

  • Favorite Pinball: Big Shot

Posted 10 August 2013 - 03:42 PM

This thing looks fantastic and I've also been trying to get it to work with a Kinect 360. I have the old-style Kinect with the separate power and USB. Windows recognizes the Kinect after I install the 1.7 SDK and I can get all the sample apps in the Developer Toolkit to work, but I can't get the Kinect plugin to appear in BAM. I also can't get the Simple Cam plugin to appear when a webcam is hooked up. I thought this was maybe a path problem to the plugins, but in the latest build the PostFX plugin appears and works. I've tried this on three different machines (Sony, Dell, home-built) on different USB ports as suggested with no luck (other than the SDK Toolkit says it's fine). I've tried to get the Simple Cam up and running with three different webcams, but no luck on that either. The only thing these computers have in common is they're all running Windows 7 64-bit and the 64-bit Kinect SDK. Could that be the problem? Otherwise BAM loads and works fine. Thanks. David



#468 ravarcade

ravarcade

    Enthusiast

  • Members
  • PipPipPip
  • 363 posts

  • Flag: Poland

  • Favorite Pinball: none

Posted 10 August 2013 - 05:05 PM

This thing looks fantastic and I've also been trying to get it to work with a Kinect 360. I have the old-style Kinect with the separate power and USB. Windows recognizes the Kinect after I install the 1.7 SDK and I can get all the sample apps in the Developer Toolkit to work, but I can't get the Kinect plugin to appear in BAM. I also can't get the Simple Cam plugin to appear when a webcam is hooked up. I thought this was maybe a path problem to the plugins, but in the latest build the PostFX plugin appears and works. I've tried this on three different machines (Sony, Dell, home-built) on different USB ports as suggested with no luck (other than the SDK Toolkit says it's fine). I've tried to get the Simple Cam up and running with three different webcams, but no luck on that either. The only thing these computers have in common is they're all running Windows 7 64-bit and the 64-bit Kinect SDK. Could that be the problem? Otherwise BAM loads and works fine. Thanks. David

I work on Win 7 64 bit (on two computers) with Kinect SDK - it is not a problem.

Did You use some other software for Kinect besides BAM and Kinect SDK? For example to use Kinect as webcam? 

 

You can remove from plugin dir unused plugins (like PS3Eye.dll) and left only plugins, You want to use.

 

If You try BAM witout Kinect connected, can You select Kinect plugin (and see message "No Kinect found!").?

------------------------

I checked again. On my notebook build in web cam works ok. On desktop PS3Eye Toy works as webcam too. Kinect on desktop works too (Win7 64bit + KinectSDK 1.7)


Edited by ravarcade, 10 August 2013 - 05:20 PM.

BAM page: http://www.ravarcade.pl

current BAM version: v1.5-317,  released: Oct 11, 2020


#469 dfarley

dfarley

    Neophyte

  • Members
  • Pip
  • 5 posts

  • Flag: United States of America

  • Favorite Pinball: Big Shot

Posted 10 August 2013 - 05:55 PM

Ok, so Win 64 isn't the problem.

 

I hadn't used the Kinect before on any of these computers, so only the Microsoft SDK and Toolkit is installed. There is a Microsoft webcam installed on two of them, but that software (LifeCam) and the Kinect software seem unaware of each other. (And the webcam is currently unplugged on the machine I've been using today so right now it's only the Kinect.)

 

I tried deleting all the plugins except for kinect.dll, but now I get the message "Plugins: No Plugins" again. I tried unplugging the Kinect and running BAM again, but I get the same result. I put the PostFX plugin files back in the plugins directory, and now PostFX appears again as the only plugin. It sounds like from your description the Kinect plugin should appear whether or not a Kinect is available.

 

Just out of curiosity I tried turning off Microsoft Security Essentials, but that had no effect. The only other odd thing I see related to plugins is, if I turn off the PostFX plugin it turns itself back on again next time I load a table. I'll keep fooling around with this - I feel like I must be missing something obvious as all the pieces are working separately. Thanks.



#470 ravarcade

ravarcade

    Enthusiast

  • Members
  • PipPipPip
  • 363 posts

  • Flag: Poland

  • Favorite Pinball: none

Posted 10 August 2013 - 06:11 PM

I tried deleting all the plugins except for kinect.dll, but now I get the message "Plugins: No Plugins" again. I tried unplugging the Kinect and running BAM again, but I get the same result. I put the PostFX plugin files back in the plugins directory, and now PostFX appears again as the only plugin. It sounds like from your description the Kinect plugin should appear whether or not a Kinect is available.

Not all dlls in plugin dir are plugins.

FaceTrackLib.dll and FaceTrackData.dll are libs used by Kinect.dll

To use Kinect plugin You need 3 files.

 

(Simple Cam use files from dirs: haarcascades and lbpcascades)

 

Just out of curiosity I tried turning off Microsoft Security Essentials, but that had no effect. The only other odd thing I see related to plugins is, if I turn off the PostFX plugin it turns itself back on again next time I load a table. I'll keep fooling around with this - I feel like I must be missing something obvious as all the pieces are working separately. Thanks.

This is probly my mistake.


BAM page: http://www.ravarcade.pl

current BAM version: v1.5-317,  released: Oct 11, 2020


#471 dfarley

dfarley

    Neophyte

  • Members
  • Pip
  • 5 posts

  • Flag: United States of America

  • Favorite Pinball: Big Shot

Posted 10 August 2013 - 07:22 PM

Since I messed around with it so much I uninstalled and did a complete reinstall of FP and BAM. The PostFX not keeping settings problem went away, but no luck with the Kinect yet. Am I correct that the plugins should appear as options whether or not the required device is actually attached? I tried plugging the webcam back in, too but didn't get the Simple Cam plugin either - just PostFX appears. Thanks.



#472 ravarcade

ravarcade

    Enthusiast

  • Members
  • PipPipPip
  • 363 posts

  • Flag: Poland

  • Favorite Pinball: none

Posted 10 August 2013 - 07:40 PM

Since I messed around with it so much I uninstalled and did a complete reinstall of FP and BAM. The PostFX not keeping settings problem went away, but no luck with the Kinect yet. Am I correct that the plugins should appear as options whether or not the required device is actually attached? I tried plugging the webcam back in, too but didn't get the Simple Cam plugin either - just PostFX appears. Thanks.

http://ravarcade.pl/...M_v0.9-43-2.ZIP

quick fix for PostFX - turn off

 

In "Config" -> "Plugins" only non tracking plugins are visible. There You will not find anything about Kinect or Simple Cam.

You have to switch "mode" to "Kinect plugin".


Edited by ravarcade, 10 August 2013 - 07:44 PM.

BAM page: http://www.ravarcade.pl

current BAM version: v1.5-317,  released: Oct 11, 2020


#473 dfarley

dfarley

    Neophyte

  • Members
  • Pip
  • 5 posts

  • Flag: United States of America

  • Favorite Pinball: Big Shot

Posted 10 August 2013 - 08:54 PM

I am so dumb.Yes, I found it now. I knew there was something I wasn't seeing. Thanks!



#474 ravarcade

ravarcade

    Enthusiast

  • Members
  • PipPipPip
  • 363 posts

  • Flag: Poland

  • Favorite Pinball: none

Posted 13 August 2013 - 10:13 AM

BAM update.
 
 
- BAM works with FP-Intercep: LedWiz/PinDMD.
- New "Set Focus on game start".

BAM page: http://www.ravarcade.pl

current BAM version: v1.5-317,  released: Oct 11, 2020


#475 ckovanda

ckovanda

    Enthusiast

  • Platinum Supporter
  • 55 posts

  • Flag: United States of America

  • Favorite Pinball: attack from mars

Posted 13 August 2013 - 01:34 PM

Well, I've gien up on trying to get the kinect to work. Now I'm going the dual ps3cam route. One question...why are infrared LEDs necessary? Can we not use standard white LEDs?

#476 neohusky

neohusky

    Enthusiast

  • Members
  • PipPipPip
  • 83 posts

  • Flag: Australia

  • Favorite Pinball: Addams Family

Posted 13 August 2013 - 02:23 PM

Can we not use standard white LEDs?


Yes , but the cameras have a hard time trying to see the white light in daylight or with other light sources in the room. Modifying the camera so it can not see daylight and only seeing InfraRed means it will work consistently all the time without detection errors.

#477 dejanne

dejanne

    Hobbyist

  • Members
  • PipPip
  • 36 posts

  • Flag: Belgium

  • Favorite Pinball: indiana jones-road girls

Posted 16 August 2013 - 03:02 PM

thx rav, finally all animations work in terminator2 and others, outstanding!!

but now bam is unaccesible anymore..


Edited by dejanne, 16 August 2013 - 03:37 PM.


#478 ravarcade

ravarcade

    Enthusiast

  • Members
  • PipPipPip
  • 363 posts

  • Flag: Poland

  • Favorite Pinball: none

Posted 16 August 2013 - 08:23 PM

but now bam is unaccesible anymore..

unaccesible ?

What do You mean ?


BAM page: http://www.ravarcade.pl

current BAM version: v1.5-317,  released: Oct 11, 2020


#479 pocketpal

pocketpal

    Hobbyist

  • Members
  • PipPip
  • 25 posts
  • Location:Illinois, USA

  • Flag: United States of America

  • Favorite Pinball: Old Chicago

Posted 16 August 2013 - 08:41 PM

 

but now bam is unaccesible anymore..

unaccesible ?

What do You mean ?

 

 

I suspect he's experiencing the same thing as I did:  once I installed v0.9-44, FP would display in static cam mode as it should, but 3D stereo view was off when it should be on, and I could not access the BAM menu at all.  I figured it had something to do with the changes made in this version, so I reverted back to v0.9-43 and all was well again.  I had been meaning to report the bug, but forgot.  :blush:


pocketpal___mini-pin.png


#480 ravarcade

ravarcade

    Enthusiast

  • Members
  • PipPipPip
  • 363 posts

  • Flag: Poland

  • Favorite Pinball: none

Posted 16 August 2013 - 09:03 PM

 

 

but now bam is unaccesible anymore..

unaccesible ?

What do You mean ?

 

 

I suspect he's experiencing the same thing as I did:  once I installed v0.9-44, FP would display in static cam mode as it should, but 3D stereo view was off when it should be on, and I could not access the BAM menu at all.  I figured it had something to do with the changes made in this version, so I reverted back to v0.9-43 and all was well again.  I had been meaning to report the bug, but forgot.  :blush:

 

I tested 3d stereo modes and all works ok. I can't now test active shutter glasse but i think it is not a problem.

I don't use FP-Intercept (and DMD). Maybe here is problem.

Can You check v0.9-44 without custom opengl32.dll in FP folder?


BAM page: http://www.ravarcade.pl

current BAM version: v1.5-317,  released: Oct 11, 2020