I been working on app that simulates the 100+ particles (sphere) inside a box, that move around colliding with each other and wall of box in a attempt to demonstrate the "kinetic theory of gases".But rendering became too slow and thought better option to represent the sphere particle is by circle (WireRegularPolygon) that always faces the camera.
Tried circle.lookAt(cam.postion); but failed coz that made the plane of circle parallel with line ( from cam position to particle.postion).But to make it look more like sphere seen from distant, the plane of circle should be perp to line (from cam to particle position). I know it involves some vector transformation and I tried some and failed. isnt there any simpler ways to it or to increase the rendering speed in this special case.. thank in advance..
