Find Jobs
Hire Freelancers

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

$30-250 USD

In Bearbeitung
Veröffentlicht vor mehr als 9 Jahren

$30-250 USD

Bezahlt bei Lieferung
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]
Projekt-ID: 6883446

Über das Projekt

8 Vorschläge
Remote Projekt
Aktiv vor 9 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
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 in 3 Tagen
4,9 (38 Bewertungen)
5,6
5,6
8 Freelancer bieten im Durchschnitt $235 USD für diesen Auftrag
Avatar des Nutzers
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 in 2 Tagen
4,9 (647 Bewertungen)
8,8
8,8
Avatar des Nutzers
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 in 5 Tagen
5,0 (38 Bewertungen)
6,1
6,1
Avatar des Nutzers
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 in 5 Tagen
4,9 (19 Bewertungen)
5,8
5,8
Avatar des Nutzers
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 in 2 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
I have experience with OpenGL and C++. I can do this work fast and very quality. If you will have any questions (but I think that my code is easy for understanding and my comments will explain all questions), I can answer via skype or email. I can do this work by steps (one day step) or with only one payment.
$200 USD in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
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 in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von NICARAGUA
San Marcos, Nicaragua
5,0
3
Zahlungsmethode verifiziert
Mitglied seit Dez. 11, 2014

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.