Fermé

Project for Sushan S.

Hello i have a small task for a presentation. it isnt much of a hurry: You will construct a small peculiar design program that fills the inside of the objects with various interior / exterior design rules. The program will create closed polygonal lines (auto- and non-autochthonous) which will then become 3D objects. When the program starts, a 600-column window and 500 pixel lines will open, which will not be able to change the dimensions . (i) Build the program that opens the main window and a menu that initially will have an ACTION sub-menu with Exit (end key). When you press this option, the program terminates. The background of the window in the work area is white. (ii) In the same ACTION submenu, add the closed polygonal line option ("Polygon" key) which when clicked by the left mouse button clicks the tops of the polygonal line it wants to make. At the same time the peaks are joined in the order created by the user (ie the first with the second, the second with the third coke). When the user wants to complete a closed polygonal line, press the right mouse button and then the last top will automatically merge with the first. (iii) Under the ACTION option there are two LINE_COLOR FILL_COLOR sub-menus with 16 options. From these options, the user can choose one of 16 colors for (i) the border (LINE_COLOR) and (ii) the fill (FILL_COLOR) before making a polygonal line. This menu also contains the colors White, Black and 14 other colors. Fill and line color for a polygon can not be changed. The default color (if color is not selected) for one line is black and the interior is white. (iv) In the ACTION submenu, add the top move button ("Move" button). When this button is pressed the user by pressing the left mouse button on a top and holding it down can move a vertex. Add another sub-menu from which the user can choose one of the 5 rules for defining the interior of an object: rule 0: join all simple polygons created, rule 1: a point is (2): a point is internal when the winding number w ≠ 0, rule 3: a point is internal when ⌈ w is the internal one when the number of edges of the contour with a vertex with the beginning is unnecessary (equivalent to unnecessary winding number) / 2 ⌉ is redundant. The names in the submenu options are Rule 0, Rule 1, Rule 2, and Rule 3. When a rule is selected, the internal areas are filled with the color selected immediately before the corresponding polygonal line is created. The winding number w is calculated by assigning once to the contour of the object (for a simple object inversely in the clockwise direction). Initially w is 0, then we get a vertex from the point and when we see the contour from right to left we add 1 else we remove 1 (this is equivalent to getting for an inner point p a radius from p to perimeter and count how many times it rotates around p when moving on the perimeter, for each rotation according to the clock indicators remove one and for each rotation opposite the indices of Graphics and Interaction Systems Academic Year 2 017-2018 clock is added 1). The winding number is shown in the figure below for 3 closed polygonal lines. Note: Find all internal polygons and winding without scanning. The user can choose from the ACTION sub menu the EXTRUDE function which calls for an extrusion length and then extrudes each polygon to 3D along the z (when for example a square is extruded to 3D will result a rectangular parallelepiped that is open from above and below). The portions of the polygon edges located within an inner region or within an outer region are not extruded to 3D and disappear. The user will be able to see the resulting solids by moving the camera around the objects. The outside of the objects must be the LINE_COLOR that each polygon has initially. I will be happy to work with you :)

Compétences : Adobe Flash, Programmation C, Programmation C++, Saisie de Données, OpenGL

Voir plus : Project management\ s, where can i find a better site for the design identity of the project women's accessories, individual interested ur project how pay 1k entries if pay 1k entries start work immediately submit timegood experience, official hello project glow sticks, beginning computer science project java, hello world project eclipse jboss, hello project dance contest, wav files songs beginning hello, easy beginning illustrator project, beginning excel vba project, involved project beginning end, hello project french, vba excel project beginning, graphic design project beginning end, animated gifs hello project

Concernant l'employeur :
( 0 commentaires ) Greece

N° du projet : #15624316

1 freelance a fait une offre moyenne de 25 $ pour ce travail

sujanttt

Προσλήφθηκε από τον Εργοδότη

25 $ USD en 2 jours
(26 Commentaires)
4.3