0

What is difference between SVG path and Three JS X, positions? I want place object in same place in 3d view using svg X,Y position, How can I calculate X,Y, Z for 3D view using SVG path X,Y values?

Cœur
  • 37,241
  • 25
  • 195
  • 267
shamugam s
  • 45
  • 4
  • 2
    It's not clear what you are asking. SVG doesn't have a z, and x,y both start from lower left corner, as opposed to svg's top left as 0,0 for drawing axis, so you would need to take that into account. – Ian Feb 18 '17 at 08:26
  • i am just asking differnce between 3Js and SVG positions? – shamugam s Feb 20 '17 at 07:45
  • 1
    As mentioned, in svg x,y 0,0 starts at top left http://tutorials.jenkov.com/svg/svg-coordinate-system.html . In ThreeJS x,y,z starts at bottom left https://msdn.microsoft.com/en-us/library/dn479430(v=vs.85).aspx . – Ian Feb 20 '17 at 10:09

0 Answers0