A Flash Developer Resource Site

Results 1 to 18 of 18

Thread: VR Headtracking

Threaded View

  1. #14
    Senior Member AzraelKans's Avatar
    Join Date
    May 2002
    Location
    Hell... with frequent access to heaven ;)
    Posts
    409
    mr_malee:
    Actually you could use IR Leds instead of regular lights so you could use it on regular lighting conditions.

    Great Work jerryscript!

    Btw, I remember you mentioned this method to me when I was working with my OSR engine but I found is faster to

    -Store the image in a byte array (12 ms for a 320*240 image aprox.)
    -Analyze the bytearray for a lighting threeshold and store the result in a binary array.
    -Analyze the binary array instead.

    Is a LOT faster to analize an array in memory than using getPixel, getThreshold about 10 times faster actually. (a lot more coding is required though)
    Last edited by AzraelKans; 02-21-2008 at 02:13 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center