0
我設法使用以下代碼在我的3d物體上放置可視化紋理。問題在於它滯後很多,特別是當它循環時。我正在尋找一種讓它更流暢的方式。x3dom Movietexture滯後
<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>
在這裏你可以看到它在行動:http://lala.cool/iwasreadingabookoflovestory.html