Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overflow the image on the market #7

Open
kevinbheda opened this issue Feb 8, 2013 · 2 comments
Open

Overflow the image on the market #7

kevinbheda opened this issue Feb 8, 2013 · 2 comments

Comments

@kevinbheda
Copy link

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

@kig
Copy link
Owner

kig commented Feb 8, 2013

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 [email protected]

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.

@kevinbheda
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants