glTF模型中的错误裁剪-AFrame [英] Wrong clipping in glTF-model - AFrame
问题描述
视频预览: https://i.imgur.com/VMhJV8v.mp4
我有一段时间的裁剪问题了,不知道是什么原因造成的,但是到目前为止,唯一的解决方案是将对象移近相机并缩小比例(上面的视频预览链接)
I'm having clipping issues for quite some time now, not sure what causes this but so far the only solution is to move the object closer towards the camera and scale it down ( video preview link above )
我尝试弄乱相机的剪辑设置(更改了far / near值)。尝试使用3d对象透明度和容器标记可见性( 1 )-无骰子,尝试更改 renderOrder
( 2 ), frustumCulled
( 3 )递归值,没有任何运气...
I tried messing around with the camera clipping settings ( changed far / near values ). Played around with the 3d object transparency and container marker visibility (1) - no dice , tried to change renderOrder
(2) , frustumCulled
(3) values recursively without any luck ...
- 将最新的基于ARjs + Aframe图像的标记与动画3d模型配合使用
推荐答案
当我将图像标记从990x990缩小到375x375并以相同比例减小a-entity的比例值后,问题就消失了(确定位置对于不同的DPI设备仍然有些棘手)
The issue disappeared once I scaled down the image marker from 990x990 to 375x375 and reduced the a-entity scale value by the same ratio ( nailing down the position is still a bit tricky for different DPI devices )
¯\_(ツ)_ /¯
¯\_(ツ)_/¯
这篇关于glTF模型中的错误裁剪-AFrame的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!