A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Webcam image + 3D texture mapping

  1. #1
    Senior Member dipkya's Avatar
    Join Date
    Mar 2001
    Location
    Mumbai (India)
    Posts
    158

    Lightbulb Webcam image + 3D texture mapping

    Hi

    Is there any way to capture an image from webcam and replace it with your 3D object?
    Suppose you are buying a Curtain cloth but you want to see how it looks as curtain.

    You will select your choice of cloth and show it to camera.
    Camera will store the image/texture of cloth.
    ON Display TV 3D application is running which will show the selected texture on 3D curtain.

    Can we add a texture in runtime in 3D scene.

    Please guide
    dipkya
    ---------------------------------------------------------------
    SO MUCH HAVE TO DO, SO LITTLE HAS DONE!

  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    You should be able to construct an appropriate Material for use with Papervision using a bitmap captured from a webcam feed (I know I saw a demo of a cube textured with webcam input). The problem is that the rendered scene will be highly subject to factors such as lighting and subject orientation. And getting the proper scale set up for actually getting the pattern at the right size will be difficult. You can build it, but don't expect it to work magic.

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