Find Jobs
Hire Freelancers

interactive drawing and 2D transformation

$10-30 USD

已关闭
已发布大约 5 年前

$10-30 USD

货到付款
part 1: Specifically, you will develop an OpenGL program that allow a user to draw a circle in a position of the OpenGL window by clicking the left button of a mouse. Furthermore, your program should allow the user to draw multiple circles. When the user is done with drawing, he/she can terminate the program by entering the ’q’ or ’Q’. Your code will need to maintain a data structure to record the position of each left-click of mouse. For simplicity, you can use a 2-dimensional array, and assume that the maximum number of left-click is 100. Each time, when there is a GLUT LEFT BUTTON event, your code should insert the current mouse position to the 2-dimensional array. There are two different coordinate systems in this simple drawing. The mouse position is under the matrix coordinate system, and a vertex for drawing OpenGL geometry primitive is under the geome- try coordinate system. So your code should transform the mouse position from matrix coordinate to geometry coordinate. For simplicity, you can assume the height of the window is fixed. part 2: You will develop an OpenGL program that allow a user to perform 2D affine transformation, including translation, scaling, rotation, on a 2D object (e.g., a solid square), by selecting an transformation item from the popup menu. In this project, you can have two-layer menu as follows: • Translation – Horizontal increment – Horizontal decrement – Vertical increment – Vertical decrement • Scaling – Horizontal enlarging – Horizontal shrinking – Vertical enlarging – Vertical shrinking • Rotation – Clockwise – Counter-clockwise Your code will need to maintain several geometry parameters of an object, including horizontal and vertical translation, orientation, and scaling factors. You code should include a function (called menu), in which you should update the geometry parameters of the object. The object should be “complicated”, i.e., a composition of at least 2 OpenGL geometry primitives. The following parameters should be used for an individual 2D transformation: • 10 pixels for horizontal increment/decrement • 2 for horizontal enlarging, and 0.5 for horizontal shrinking • 20◦ for a rotation.
项目 ID: 18830522

关于此项目

5提案
远程项目
活跃5 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
5威客以平均价$83 USD来参与此工作竞价
用户头像
Hello, I am an expert with opengl, c, c++ .... please, let me know the deadline. Should I use C or C++ ? Best regards!
$100 USD 在3天之内
5.0 (138条评论)
7.4
7.4
用户头像
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$100 USD 在3天之内
4.9 (165条评论)
7.1
7.1
用户头像
Hi, I have many years of experience in C++ and OpenGL. I know GLUT. I have read the entire description. I can finish this in 1 day. Please message me to get started..
$70 USD 在1天之内
4.9 (110条评论)
6.3
6.3
用户头像
Hello sir, I am bidding for 3 days for this project. I am using glut for the project. Can I use glut for the project? If so then I'm up for it. Thank you.
$80 USD 在3天之内
5.0 (29条评论)
4.6
4.6
用户头像
I have experience in openGL application development, for more information please look at my profile.
$66 USD 在5天之内
3.8 (1条评论)
1.8
1.8

关于客户

UNITED STATES的国旗
COLUMBUS, United States
4.5
4
付款方式已验证
会员自11月 11, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。