Image Processing & Communications, vol. 11, no. 2, pp. 75-82 75 A VERY SIMPLE APPROACH FOR 3-D TO 2-D MAPPING SANDIPAN DEY (1), AJITH ABRAHAM (2),SUGATA SANYAL (3) (1) Anshin Soft ware Pvt. Ltd. INFINITY, Tower - II, 10th Floor, Plot No.- 43. Block - GP, Salt Lake Electronics Complex, Sector - V, Kolkata - 700091 email:
[email protected] (2) IITA Professorship Program, School of Computer Science, Yonsei University, 134 Shinchon-dong, Sudaemoon-ku, Seoul 120-749, Republic of Korea email:
[email protected] (3) School of Technology & Computer Science Tata Institute of Fundamental Research Homi Bhabha Road, Mumbai - 400005, INDIA email:
[email protected] Abstract. libraries with any kind of system is often a tough trial. This article presents a very simple method of Many times we need to plot 3-D functions e.g., in mapping from 3-D to 2-D, that is free from any com- many scientific experiments. To plot this 3-D func- plex pre-operation, also it will work with any graph- tions on 2-D screen it requires some kind of map- ics system where we have some primitive 2-D graph- ping. Though OpenGL, DirectX etc 3-D rendering ics function. Also we discuss the inverse transform libraries have made this job very simple, still these and how to do basic computer graphics transforma- libraries come with many complex pre-operations tions using our coordinate mapping system. that are simply not intended, also to integrate these 76 S. Dey, A. Abraham, S. Sanyal 1 Introduction 2 Proposed approach We have a pictorial representation (Fig.1) of our 3-D to 2-D mapping system: We have a function f : R2 → R, and our intention is to draw the function in 2-D plane.