To implement and test the Half Edge data structure.
$10-30 USD
Cancelado
Publicado há aproximadamente 10 anos
$10-30 USD
Pago na entrega
You will write three classes to form your half-edge data structure: Face, HalfEdge, and Vertex.
The Face class should contain the following variables: halfEdge, color, and id.
•halfEdge points to the (arbitrary) starting HalfEdge of this Face.
•color stores the red, green, and blue components of the Face's color.
•id is a unique integer used to identify the face in menus and the like.
The Vertex class should contain the X, Y, and Z coordinates of its position as well as an ID integer as above.
The Half Edge class should contain the following: face, vert, next, sym, and id. •face points to the Face that this Half Edge is a part of.
•vert points to the starting or ending vertex of the HalfEdge, but which vertex it points to should be consistent for all Half Edges (i.e. either all starters or all enders).
•next points to the next Half Edge in the loop of Half Edges that make up this Half Edge's Face.
•sym points to the Half Edge that lies parallel to this Half Edge and which travels in the opposite direction and is part of an adjacent Face.
•id is, of course, a unique ID integer.
Build a Unit Cube (10 points)
2)
Build the half-edge data structure for a cube that spans from the points (0.5, 0.5, 0.5) to (-0.5, -0.5, -0.5). The cube should be constructed from six squares, with no triangles in the HalfEdge structure. Use this half-edge data to then draw the cube using VBOs. Should the half-edge data change, the cube should be drawn with these changes. If you're having trouble visualizing the half edge structure of the cube, we suggest sketching it out beforehand. In previous years, students have even constructed paper cubes and drawn on them.
in the below documents ,i am adding my coding requirements and the view of my outputs.
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the lauguage is c++ under linux os. So, programming in c++ is never a problem. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ with the same meaning, of course garbage collection included. I made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
I have done a project just like this one before. I could get this done faster than the time I said if you provide more details, like what sort of user interface to create.
I have seen your documents and I can assure you that I can do this work in a matter of 6-8 hours. I have written 2 days in the bid just for the sake of unforeseen circumstances.
Do contact me if you feel like granting me the project.