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]
Ταυτότητα εργασίας: 6883446

Σχετικά με την εργασία

7 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 9 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
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 freelancers δίνουν μια μέση προσφορά $239 USD για αυτή τη δουλειά
Avatar Χρήστη
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
Avatar Χρήστη
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
Avatar Χρήστη
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
Avatar Χρήστη
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
Avatar Χρήστη
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
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Δεκ 11, 2014

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.