javascript - How to convert X,Y,Z cords into X,Y Cords in lua or c# or c++ -


does have function can convert 3d point 2d point drawing? wan't preferably in lua if have in 1 of these languages can convert lua :

lua,python,c++,c#,c,javascript,vb,vbs,batch

it depends on kind of drawing wish do. if want example top view, ignore z coordinate , draw x,y coordinates directly. if want perspective view, involve 4x4 matrices operations. if want parallel view, similar maths apply, except in special cases, top views or elevation views, can easier implementation ignoring coordinate, said @ beginning.

i see want perspective. opengl red book explains required maths in detail.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -