javascript - Three.JS path across a plane -


i have simple three.js scene: click

by supplying series of vectors 2d space (plotted camera view 0, 0, 200) e.g. {from:{x,:0, y:10}, to:{x:50,y:50}} able draw path across face of plane object following example image depicts:

enter image description here

i new three.js/ 3d in general , have looked @ vector3 , path object admit i'm little stuck on begin - can offer suggestions or ideally simple update jsfiddle posted?

i have updated jsfiddle wanted (i think): http://jsfiddle.net/evgeni_popov/ubqns/3/

the path in path variable. lines drawn z=1 not stuck in plane, @ z=0.

i have changed meshlambermaterial meshbasicmaterial can see lines better.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -