Add texture coordinate (vt) processing and other features to existing OpenGL GLUT C++ code for Wavefront OBJ ( repost )
$30-250 USD
In Progress
Posted over 9 years ago
$30-250 USD
Paid on delivery
Note: I am re-listing this project because the person I awarded it to is not reading/following my specifications. Please only bid if you are willing (and able) to read my specifications and the comments in my code so there will be no need to ask questions I've already answered here.
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]
Hello ,
I have 12+ years of experience in OpenGL and GPU programming with C/C++. i am very fast in development and very good and documentation.
I my past project i have submitted complex system code with sufficiently commented with supporting document with explanation of concept/theory implemented.
Feel free to discuss further.
Deepa RS