x3dom影视作品
我用下面的代码在我的3d对象上放置了视频纹理。问题是它滞后了很多,特别是当它循环时。我正在寻找一种方法,使其渲染更平滑x3dom影视作品,3d,textures,x3d,x3dom,3d,Textures,X3d,X3dom,我用下面的代码在我的3d对象上放置了视频纹理。问题是它滞后了很多,特别是当它循环时。我正在寻找一种方法,使其渲染更平滑 <html> <head> <title></title> <script type='text/javascript' src='http://lala.cool/3d/schneosch/x3dom.js'> </script>
<html>
<head>
<title></title>
<script type='text/javascript' src='http://lala.cool/3d/schneosch/x3dom.js'> </script>
<link rel='stylesheet' type='text/css' href='http://lala.cool/3d/6328483_woesh/mesh/beertje.css'></link>
</head>
<body>
<x3d width='500px' height='400px'>
<scene>
<Shape>
<Appearance>
<MovieTexture repeatS="false" repeatT="false" loop='true' url='"http://lala.cool/3d/eh/schneosch011_1.mp4"'/>
</Appearance>
<Box/>
</Shape>
<Transform DEF="Camera_TRANSFORM"
>
<Viewpoint DEF="CA_Camera"
centerOfRotation="0 0 0"
position="5.00491 -6.73519 -5.43948"
orientation="0.18804 0.92111 -0.34086 2.41421"
fieldOfView="0.8"
/>
它在我的电脑上正常工作。在代码级别您无能为力,因为您无法控制渲染或任何可能加快场景速度的参数。在不同的浏览器中,甚至在不同的计算机上,尝试您的示例。这可能就是你的问题
</scene>
</x3d>
</body>
</html>