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:
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
Post a Comment