官方教程 收藏本版 +发表新主题
查看: 26455|回复: 0

魔眼junaio快速学习_X-ray效果

[复制链接]

魔眼junaio快速学习_X-ray效果

精华zhangmingjun 发表于 2013-4-25 00:19:54 浏览:  26455 回复:  0 [显示全部楼层] 复制链接
魔眼junaio - AR增强现实浏览器 下载


X-Ray Effect(X-ray效果)

What will you learn?
Scan the QR Code on the right with junaio to see the channel...
Using occlusion
Creating an effect like a x-ray scanner

How it works!
In this tutorial you have to use the setOccluding function to create an x-ray effect. After creating your objects you have to set the surrounding frame as an occlusion object.
$oObject->setOccluding(true);
The image below shows how to set up such an x-ray channel. The red frame is an obj object with a hole in the center. This will occlude just a part of the image which will set on top of the real pattern. The image which is placed on top of the pattern is just an inverted image of the original pattern, but could be any image you like.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright © 2013-2017 ARinChina-增强现实中国技术论坛   All Rights Reserved.