質問

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