Find Jobs
Hire Freelancers

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

$30-250 USD

En curso
Publicado hace más de 9 años

$30-250 USD

Pagado a la entrega
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 del proyecto: 6883446

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 3 días
4,9 (38 comentarios)
5,6
5,6
7 freelancers están ofertando un promedio de $239 USD por este trabajo
Avatar del usuario
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 en 2 días
4,9 (647 comentarios)
8,8
8,8
Avatar del usuario
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 en 5 días
5,0 (38 comentarios)
6,1
6,1
Avatar del usuario
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 en 5 días
4,9 (19 comentarios)
5,8
5,8
Avatar del usuario
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 en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de NICARAGUA
San Marcos, Nicaragua
5,0
3
Forma de pago verificada
Miembro desde dic 11, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.