Overflow the image on the market
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
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/kig/JSARToolKit/issues/7.
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.