Skip to content

Overflow the image on the market #7

Open

Description

@kevinbheda

Hello
I was playing around with ur demo Ar_mediaStream.html
and wanted to do something like this https://www.youtube.com/watch?v=0J0fwQqCIuE
only the tshirt superimposed on the marker part
But i saw the magi,js cube part code was to complex to understand
can u suggest me what to do with magi js to draw this way
Like overflowing image on the marker

Activity

  1. kig commented on Feb 8, 2013

    @kig
    Owner

    You could use Three.js for a more popular 3d lib (see
    http://www.html5rocks.com/en/tutorials/webgl/jsartoolkit_webrtc/ the
    example & code at the bottom)

    If you want to just change the magi example to show a custom image, search
    the page source for image.setImage(photos.rotate()) and replace
    photos.rotate() with the url to your image.

    HTH,
    Ilmari

    2013/2/8 kevinbheda notifications@github.com

    Hello
    I was playing around with ur demo Ar_mediaStream.html
    and wanted to do something like this
    https://www.youtube.com/watch?v=0J0fwQqCIuE
    only the tshirt superimposed on the marker part
    But i saw the magi,js cube part code was to complex to understand
    can u suggest me what to do with magi js to draw this way
    Like overflowing image on the marker

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/7.

  2. kevinbheda commented on Feb 9, 2013

    @kevinbheda
    Author

    setimage
    hey i did try to replace photos.rotate with my custom image url but it didnt work out
    u can check out the attached image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions