2017-02-04 14 views
0

다음 코드로 내 3D 객체에 비디오 텍스쳐를 넣을 수있었습니다. 문제는 특히 느리게 진행될 때 많이 뒤쳐지는 것입니다. 좀 더 부드럽게 렌더링 할 수있는 방법을 찾고 있습니다. x3dom Movietexture Lagging

</scene> 
</x3d> 

    </body> 
</html> 

<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" 
        /> 

여기 당신은 행동에서 볼 수 있습니다 : 그것은 내 PC에서 확인을 작동 http://lala.cool/iwasreadingabookoflovestory.html

답변

0

. 렌더링 속도 나 장면을 빠르게 할 수있는 매개 변수를 제어 할 수 없으므로 코드 수준에서 수행 할 수있는 작업은 없습니다. 다른 컴퓨터에서도 다른 브라우저에서 예제를 시험해보십시오. 이게 당신 문제 일 수도 있습니다.