Import OBJ Model - Support Negative Indexes

  • Posted:
  • Proposals: 3
  • Remote
  • #1993983
  • Expired
Niraj K.Ronak P.Mario V. have already sent a proposal.
  • 7

Description

Experience Level: Entry
=========================================================
PROJECT
=========================================================

I'm looking for C++ programmers to help me develop CrackArt, an open source 3D painting and compositing application. I am in the process of updating CrackArt to a new user interface library (Qt) and display system (Vulkan), and I need a programmer to help me on a long time project, but managed by short and well-defined deliverables.

I'm a software engineer and each deliverable will be concrete, well defined and with clear completion criteria.

Current Milestone

- Finish OBJ import module.

Future Milestones

- Implement FBX import module.
- Implement glTF import module.

=========================================================
Current Deliverable Description (THIS PROJECT)
=========================================================

CrackArt imports 3D files in OBJ format. The current implementation is missing some OBJ features.

For this deliverable, I need the OBJ implementation to support negative index numbers.

https://people.cs.clemson.edu/~dhouse/courses/405/docs/brief-obj-file-format.html

It is also possible to reference points using negative indices, where the indices are specified relative to the current maximum vertex position (-1 references the last vertex defined). This makes it easy to describe the points in a face, then the face, without the need to store a large list of points and their indexes. In this way, "v" commands and "f" commands can be interspersed.

v -0.500000 0.000000 0.400000
v -0.500000 0.000000 -0.800000
v -0.500000 1.000000 -0.800000
v -0.500000 1.000000 0.400000
f -4 -3 -2 -1

I am attaching to this project a zip file that contains:

How To Build CrackArt
An HTML document that describes how to build CrackArt.

OBJ Files - Working
A set of OBJ files that CrackArt can import and display correctly.

OBJ Files Negative Indexes
8 simple OBJ files with negative indexes that CrackArt fails to import.

---------------------------------------------------------
Deliverables
---------------------------------------------------------

Update the Obj Importer Exporter code to support OBJ negative indexes. The files that need to be modified are:

https://sourceforge.net/p/sceneengine/code/HEAD/tree/trunk/LibsIn/SceneEngine/include/ScEng/ImpExp/Obj.h

https://sourceforge.net/p/sceneengine/code/HEAD/tree/trunk/LibsIn/SceneEngine/source/ImpExp/ObjImport.cpp

Most probably the method:

Status WavefrontObjImporter::LoadObjFile(std::string filename)

=========================================================
Completion Criteria
=========================================================

After this deliverable CrackArt must be able to import and display the models in the OBJ_Files/Negative_Indexes directory of the zip file. CrackArt should also be able to import and display the files in the OBJ_Files/Working directory, which are working with the current code.

New Proposal

Create an account now and send a proposal now to get this job.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.