문제

Is it possible to add sprite feature in XTK ?

I need to render large number of point data. I was able to render it as X.displayable.types.POINTS. But it would be great if i can render the points with texture. I am looking for something similar to the one available with three.js https://github.com/mrdoob/three.js/blob/master/src/objects/Sprite.js

도움이 되었습니까?

해결책

Look at the following example which is kind of a sprites approach. The difference is that still each object gets pushed separately to the shaders so that it is rather slow. This is due to XTK's background of being optimized for rendering large objects than a lot of objects.

http://jsfiddle.net/haehn/jjzuD/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top