Find Jobs
Hire Freelancers

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

$30-250 USD

Em Andamento
Publicado há mais de 9 anos

$30-250 USD

Pago na 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 do Projeto: 6883446

Sobre o projeto

7 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
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 em 3 dias
4,9 (38 avaliações)
5,6
5,6
7 freelancers estão ofertando em média $239 USD for esse trabalho
Avatar do Usuário
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 em 2 dias
4,9 (647 avaliações)
8,8
8,8
Avatar do Usuário
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 em 5 dias
5,0 (38 avaliações)
6,1
6,1
Avatar do Usuário
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 em 5 dias
4,9 (19 avaliações)
5,8
5,8
Avatar do Usuário
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 em 2 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
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 em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) NICARAGUA
San Marcos, Nicaragua
5,0
3
Método de pagamento verificado
Membro desde dez. 11, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.