Find Jobs
Hire Freelancers

Add texture coordinate (vt) processing and other features to existing OpenGL GLUT C++ code for Wavefront OBJ

$30-250 USD

进行中
已发布超过 9 年前

$30-250 USD

货到付款
I already have some C++ code which I will provide and want the programmer to add features to. The code already uses OpenGL and GLUT (glut-3.7.6-bin) to: 1) Open triangulated .OBJ file (filename passed as argv[1]) 2) Parse triangulated .OBJ file for vertices with scanf functions 3) Calculate normals from the vertices 4) Displays the model 5) Lets the user hit WASD keys to move around like the classic "Doom" games. Q and E sidestep and R and F move up and down. This is what I want you to add to my code: 1) I want to add processing of UV coordinates so that textures are displayed. I want to be able to export models from Blender or 3DSMax, include UV (so that 'vt' lines are present in the .obj file) and see the model with its textures. Example of what the code currently opens: v 0.999999 1.779754 1.000001 v -1.000000 1.779754 1.000000 v -1.000000 1.779754 -1.000000 usemtl Material s off f 2 3 4 f 8 7 6 The obj file with UV's included looks like this: vt 1.000000 1.000000 vt 0.000000 1.000000 vt 0.000000 0.000000 usemtl Material s off f 2/1 3/2 4/3 f 8/1 7/2 6/3 2) I also want this code to be clearly and profusely commented (like the code has been so far). I will read all the code and I need to understand it so I can explain how it works. 2) Also I want the work done in Visual Studio (I have 2010) so I can look at it and build it myself. 3) I will give you some some Blender and OBJ models to test with. The program must be able to open OBJ files *with* and *without the UV coordinates. In blender there are things you can include and exclude from the OBJ export, and the parsing should handle with/without textures. If the obj file has no texture coordinates, the plain model should be displayed as the code currently does. 4) I want the option to make the objects solid (collision detection) so that the camera will not pass through buildings/ground. 6) I need this code written and working within 5 days. The keys are working, but I want to be able to hit *more* than one key at a time for easier movement. The principle model I am working with is a city model that is too big to upload here. Here is a link to the blender model and the wavefront OBJ I export (without and with UVs) I have uploaded the VS project with some OBJ files to the urls: [login to view URL]~hubert/gl/[login to view URL] [login to view URL]~hubert/gl/city%[login to view URL]
项目 ID: 6883446

关于此项目

7提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hello. I am expert in OpenGL with C++. I can work well with Old and Modern OpenGL. I understand what you want but I think I can do all for you: - Create OpenGL app in MSVC, I am using VC++2013. - Load any .obj model - add key functions, keys at a time. - Collision between camera and ground, wall. Thank.
$133 USD 在3天之内
4.9 (38条评论)
5.6
5.6
7威客以平均价$239 USD来参与此工作竞价
用户头像
Hi I am very experienced in opengl and c++ programming. I can help you add the features you want. Please pm me. Best Regards
$210 USD 在2天之内
4.9 (647条评论)
8.8
8.8
用户头像
Hello, I have a good background in Computer Graphics (mainly with OpenGL and WebGL). I can implement for you an .obj file reader that will manage vertices, faces, normals and texture points. As a side note, your attached C++ code has at least one obvious bug, see line 109 and 115. You are basically returning an address that is invalid, the stack memory of the function is already gone when you return the array. This is a serious bug and you will get corrupted data. Thanks and let me know if you are interested to work with me, Paul
$500 USD 在5天之内
5.0 (38条评论)
6.1
6.1
用户头像
Hi, I have a good experience working in C/C++ and in 3D rendering. 1) I can read the OBJ file with or without texture coordinates. Do you want to read the texture image from the MTL file ? 2) I can do a collision detection with the bounding volume of the object. 2-1) If you want real time movement, the full collision with the object it can not be done on the CPU (Whatever the acceleration structure used in ray tracing) but on GPU. 2-2) It will cost very high, and takes time. 3) What do you mean by "be able to hit *more* than one key at a time" ? the only multiple keys that can be touched simultaneously are "CTR" & "ALT" + any key. Marouane Regards
$250 USD 在5天之内
4.9 (19条评论)
5.8
5.8
用户头像
I've got your program compiling and display the obj files in my environment. If you want to work together, I can have the features requested done by your desired timeframe. I've added the multikey (and smooth movement) code to your project quickly already. Update - taking a look at your code, I've added parsing for uv coords (with/without) - the file loads as expected. If you work with me - I can have this ready for you very quickly.
$250 USD 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi, I'm a researcher in CG and what you ask for me is easy to do. However we should clarify point 4) (collision detection) because there are many ways to implement it depending on: 1) how big is the whole scene? 2) what it supposed to happen when you hit a building? Bounce back? Stop? Slide along the wall? VS 2010 is fine to, I have that installed (x64, windows 8)
$222 USD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

NICARAGUA的国旗
San Marcos, Nicaragua
5.0
3
付款方式已验证
会员自12月 11, 2014起

客户认证

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