Free Essay

3d Creation

In:

Submitted By badiding
Words 701
Pages 3
Background
This task is designed to let you demonstrate your programming abilities, and allow us to examine them more in a more rigorous fashion than would otherwise be possible.

Expectations
We expect you to produce original work. However, you are encouraged to make use of existing algorithms, data structures, and associated techniques in order to develop a solution most effectively.

Task #1 Description: Write an OpenGL or DirectX program for the Windows platform that satisfies the following requirements:

1. Import a Wavefront OBJ file including textures and display it on screen. A Wavefront OBJ file is already provided in the zip file. Write your own loader. The .OBJ and .MTL files are just in plain text format. You may convert the jpg texture to another format such as BMP or TGA for easier loading. 2. Provide user input similar to first person shooter controls, see item 6 as guide. 3. Mouse movement is used to change where the camera “looks at” 4. Move, rotate and scale the object you have loaded. 5. The object can be rotated about 3 different points as the center of rotation. Define the center of rotation as (0,0,0), (10,0,0) and (-10,0,0). 6. Control the 3D scene through the keyboard. Use the following keys: W – move forward S – move backward A – move sideways to the left D – move sideways to the right 1 – Center of rotation at (-10,0,0) 2 – Center of rotation at (0,0,0) 3 – Center of rotation at (10,0,0) R – Reset camera position, translation, rotation and scaling of the object F1 – Show keys that can be used to control the scene You are free to choose keys for the translation, scaling and rotation controls

You should deliver A win32 application (.exe) with source code written in C++, that provides a solution to task #1. The software produced must compile and function on a Windows platform.

Task # 2 Description: You need to identify all occurrences of a query string within a text file. Your inputs will be: • A pointer to an STL string specifying the text file name (eg “c:\massivetext.txt”) • A pointer to an STL string specifying the query string (eg “player attack”) • A pointer to an empty STL list of longs • An unsigned integer representing the maximum heap memory (in bytes) your module may use

For example: void Search (const std::string& filename, const std::string& query, std::list* offsets, unsigned int heapSize) { // your function here }

Your code should populate the STL list with the file offsets of each occurrence of the query string. For instance, if the input file contains one instance of the query string, at file location 456221, the STL list should contain the single number 456221.

The memory restriction When executed, your code must not exceed the specified memory footprint. Do not attempt to alter the stack to avoid this requirement. The memory footprint is guaranteed to be greater than three times the length of the query string. When calculating the memory that your code requires, we will not consider the driver software (including the STL strings and lists to which we provide pointers). We will also disregard any memory used by other libraries (eg, through calls to fopen or similar), and the memory that your object code occupies.

The nature of the data Both the text file and the query string will be big. Expect text files to exceed 100 MB, and query strings anywhere up to (but not exceeding) 10 MB.

You should deliver A code module, written in C++, that provides a solution to the task #2. You should not provide a main() function, or equivalent. Instead, your code should be such that our programmers can easily build a driver application to test your software. You should provide any documentation you feel would assist us in this task. The software produced must compile and function on a Windows platform.

Assessment criteria
As a rough guide, we will be assessing your code according to the following criteria:
• Correctness (does it work?)
• Speed (does it work fast?)
• Clarity (can we read it?)
• Design (does it make sense? can it be modified/adapted?)
• Safety (is it … dangerous?)

Similar Documents

Premium Essay

3d Printing

...3D printing economic questions and considerations 3D printing economic questions and considerations Definition Three dimensional printing refers to a procedure that employs the formation of solid three dimensional objects that can take the form of any shape desired based on the designs of a digital model. In order to achieve a three dimensional print output, one is required to utilize the additive procedure that involves the use of successive material layers that are laid in arrangement such that different shapes are displayed. There have been considerations of three dimensional printing as technique of traditional machining that greatly relies on material removal through use of methods such as drilling and cutting which is part of the subtractive procedure. I) History of 3D printing technology The historical development and context of 3D printing technology Three dimensional printing has existed for over thirty years, long before it was popularized. From the 1980s this technology utilized the inclusion of a layer fused in powdered material with the combination of a laser as well as dispersion of plastic that was melted through a nozzle system and resin that was photo-cursed. Nonetheless, three dimensional printers remained expense ice and where characterized as being sluggish with inefficiencies as the industry redeveloped at a slow pace during that era (Lanzetta & Sachs, 2003). The rapid popularization and growth of three dimensional printing begun only after the start...

Words: 2929 - Pages: 12

Free Essay

Printing

...What is 3D printing? 3D printing or additive manufacturing is a process of making three dimensional solid objects from a digital file. The creation of a 3D printed object is achieved using additive processes. In an additive process an object is created by laying down successive layers of material until the entire object is created. Each of these layers can be seen as a thinly sliced horizontal cross-section of the eventual object. How does 3D printing work? It all starts with making a virtual design of the object you want to create. This virtual design is made in a CAD (Computer Aided Design) file using a 3D modeling program (for the creation of a totally new object) or with the use of a 3D scanner (to copy an existing object). A 3D scanner makes a 3D digital copy of an object. 3d scanners use different technologies to generate a 3d model such as time-of-flight, structured / modulated light, volumetric scanning and many more. Recently, many IT companies like Microsoft and Google enabled their hardware to perform 3d scanning, a great example is Microsoft’s Kinect. This is a clear sign that future hand-held devices like smartphones will have integrated 3d scanners. Digitizing real objects into 3d models will become as easy as taking a picture. Prices of 3d scanners range from very expensive professional industrial devices to 30 USD DIY devices anyone can make at home. Processes and technologies Not all 3D printers use the same technology. There are several ways to print and...

Words: 1100 - Pages: 5

Premium Essay

3d Printing

...3D Printing: Manufacturing Randall Ballard, Jerry Boggs, Bol Bol, and Jiro Newton DeVry University LAS 432 Professor Lynn Wallace April 19, 2014 Table of Contents I. 3D Printing: Manufacturing – Randall, Jerry, Bol, and Jiro 4 II. How 3D Printing Works – Randall 4 a. 3D Printing or Additive Manufacturing? 5 b. Commercial Manufacturing 5 III. The Historical Development and Context of the Technology – Randall 6 c. Chuck Hall 6 i. Time line. 7 d. A 3D Printer in Every Home 7 IV. How New is the Technology? – Jerry 8 e. Is it Really Printing? 8 V. The Technology’s Potential to Disrupt Industries – Jerry 9 VI. Communicating With the 3D Printer – Jerry 9 f. The Process 10 ii. The 8-step process. 10 g. Reducing the Development Time 11 VII. Economic Considerations – Jerry 11 h. Rapid Prototyping 12 i. What Is the ROI? 12 j. Manufacturing Processes 13 iii. Economies of scale. 13 k. The Level of Interest 14 iv. Digitizing creative content. 14 v. Is it your creation? 15 l. Localization vs. Outsourcing 15 VIII. The Psychological Perspective & Social Effect – Jerry 16 m. A Paradigm Shift...

Words: 9864 - Pages: 40

Premium Essay

General

...IMPACT OF 3D PRINTING ON ENGINEERING PRACTICE Name: Institution: Introduction 3D printing is the procedure of creating an objective material from a three-dimensional digital replica. Characteristically, this is done by laying down vast succeeding thin layers of a material (3-D printing: additive manufacturing, 2015). To print a 3D object, the manufacturer needs to employ a 3D computer-aided design. Consequently, this report paper shall attempt to look at the impact of 3D printing on engineering practice during the couple of years. Body Engineering practice is the technological activities that guarantee an organization or a company create products of the needed eminence as anticipated (ISPE Good Practice Guide: Good Engineering Practice, 2015). The impact of 3D printing on the medical application is considered to be developing quickly and is anticipated to change the health care. Medical uses of 3D, mutually definite as well as latent, can be arranged into broad alternate groups comprising of tissue along with organ fabrication. Other impacts of 3D printing engineering practice in the field of medicine include the formulation of modified prosthetics, anatomical structures as well as the use of implants in the human body. It is vital to acknowledge...

Words: 949 - Pages: 4

Free Essay

3d Printing and Mobile Phones

...impact and the consequences of the emergence of that particular technology play important roles in relating the context. This paper focuses on two major expanding technologies; mobile phones and 3D printing. 1.1. Introduction to 3D printing Three dimensional printing â_œemploys an additive manufacturing process whereby products are built on a layer-by-layer basis, through a series of cross-sectional slicesâ__ (Berman, 2012, para.2). 3D printing is compromised of various other technologies and the commonly used software is the Computer aided design also known as CAD. 3D printing is a developing concept that is yet to bring a lot of new creations into the world of technology. 1.2. Introduction to Mobile phones Mobile phone is a mobile device traditionally used to make and receive calls. There are many categories in mobile phones. For example, smartphone is â_œa category of mobile phones that read email, take pictures, and surf the internet in addition to making and receiving callsâ__ (Flew & Smith, 2011, p.72). Because of the advancement of the mobile phone technology, majority of the population use them in their day to day activities and mobile phones play a vital part in peopleâ_™s lives. 1.3. General conclusion Page 2 of 7 3D printing and mobile phone technology are two major landmarks in this mechanical world and their reason for emergence and the consequences of the...

Words: 1466 - Pages: 6

Free Essay

Additive Manufacturing

...Jeremy Breland Jenica Draney English 101-003 6-23-2014 Print the World of Tomorrow 3D Printing is the manufacturing process of the future brought to your home today. It all begins with acquiring the printing device, it comes in kits, complete devices, or even your buddy with their own printer could “print you off” a copy of their device. All you would need after getting your printer set up would extra polymer spools, a computer with the program to translate the instructions of the build, and the digital instructions for your build. 3D Printing is the process of using a computer controlled printing head that travels along the X,Y, and Z axis that leave layers of molten plastic or bio organic material on a flat surface or The prices of 3D Printers vary by model, make and the company who makes it. The cheapest home built device may cost between 150-300 dollars to professional built devices ranging from 6000 to 48,000 dollars. The process of selecting which device is right for your needs depends on a lot of factors; your price range, type of computer, what you will be manufacturing, how big the item is you would like to make, availability of resources, and your mind, the sky is the limit. Currently 3D Printing is only available in most 1st World Nations as the price, materials, technology, and power are present. However as power sources and materials become more available in poorer regions this technology will spread, making it available to print and manufacture anything...

Words: 1191 - Pages: 5

Premium Essay

3d Printing Morals and Ethics

...Morals and Ethics A major issue that has risen from the personal use of 3D printing is the ability to produce weapons. This issue along with others brings the concern for the morals and ethical behavior that will come along with 3D printing. Different countries will utilize the machine in different ways, hospital usage, producing food, environmental, at risk for jobs, pirating, and the good will all need to be evaluated to determine the potential threats or success of 3D printing. Many countries have found a use for the 3D printer; China is using it for bio printing and Canada is using it as an education tool for children. “The Makerbot at the Lunenburg library is one of sixteen 3D printers distributed by the Nova Scotia government in 2013 to rural and urban locations around the province” (Barrett).The library has found a way to inspire children with more than just reading and utilizing computers. Barrett’s simple explanation of a 3D printer is; “the box is a Makerbot Replicator, a desktop 3D printer. It is reading instructions from a digital card and “printing" layers of corn-based, petroleum-free plastic to produce a usable 3D object”. Facilitating an educational use for 3D printers will give younger generations an introduction to future innovations. This allows the machine uses beyond a profit engineering tool. There were two librarians who decided to raise funds to have two additional 3D printers added to another library. The librarians also organized a program for children...

Words: 1893 - Pages: 8

Premium Essay

3d Printing

...3D printing economic questions and considerations Charles Hope DeVry University 3D printing economic questions and considerations Definition Three dimensional printing refers to a procedure that employs the formation of solid three dimensional objects that can take the form of any shape desired based on the designs of a digital model. In order to achieve a three dimensional print output, one is required to utilize the additive procedure that involves the use of successive material layers that are laid in arrangement such that different shapes are displayed. There have been considerations of three dimensional printing as technique of traditional machining that greatly relies on material removal through use of methods such as drilling and cutting which is part of the subtractive procedure. I) History of 3D printing technology The historical development and context of 3D printing technology Three dimensional printing has existed for over thirty years, long before it was popularized. From the 1980s this technology utilized the inclusion of a layer fused in powdered material with the combination of a laser as well as dispersion of plastic that was melted through a nozzle system and resin that was photo-cursed. Nonetheless, three dimensional printers remained expense ice and where characterized as being sluggish with inefficiencies as the industry redeveloped at a slow pace during that era (Lanzetta & Sachs, 2003). The rapid popularization and growth of three dimensional...

Words: 2939 - Pages: 12

Free Essay

3d Printing

...SCHOOL OF MANAGEMENT, MANIPAL IT SKILLS FOR MANAGERS REPORT ON 3D PRINTING Presented by: Group 6 (Section B): Gautham Shetty (141202095) Kruthika S.L. (141202096) Rikith Soans (141202097) Sughosh R. Iyengar (141202098) Brajesh Kumar Pandey (141202099) INDEX Content Page No. 1. Introduction 3 2. History 4 3. The Evolution of 3D Printing 5 4. How the 3D Printing Works 6 5. General Principles of 3D Printing 7 6. Methods & Techniques 8 Selective Laser Sintering 8 Stereolithography 9 Fused Deposition Modelling 10 Laminated Object Manufacturing 11 7. Applications 12 8. Industrial & Personal Printing 13 9. The Cost of 3D Printers 14 10. Future 15 11. Effects of 3D Printing 16 12. Challenges 17 13. Conclusion 18 14. References 19 INTRODUCTION 3D printing is one of the emerging trends in the IT sector which has gained importance. Now a days, in the 21st century we can see that IT sectors plays a major role in development of all sectors. It has become the integral part of our life. IT has acted as a change agent in the present day scenario which has and will keep on bringing big changes in everyday life and 3D printers are one among the changes brought down from the IT sector...

Words: 2824 - Pages: 12

Free Essay

3d Printer

...Emerging Technology Report of 3D Printer: By Ali Sugule 11/22/13 3D printer, otherwise known as additive manufacturing is a machine that can turn a blueprint into a physical object. 3D printer is a process for making a physical object from a three-dimensional digital model, typically by laying down many successive thin layers of a material. For example if you feed it a wrench, it produces a physical, working wrench or if you scan a coffee mug with a 3D scanner, send the file to the printer, and produce thousands of identical mugs. 3D printing can be used to create objects. At its most basic, 3D printing would allow you to design bookends that look like your face, or even custom action figures. 3D printing could be used to make simple machines like bicycles and skateboards. More elaborately, when combined with on-demand circuit board printing, 3D printing could be used to make simple household electronics like a custom remote control for your TV that is molded to fit your hand, with all of the buttons exactly where you want them. 3D printers use a variety of very different types of additive manufacturing technologies, but they all share one core thing in common: they create a three dimensional object by building it layer by successive layer, until the entire object is complete. Each of these printed layers is a thinly-sliced, horizontal cross-section of the eventual object. Current state-of-the-art applications: 3D printing is capable of mixing many materials, it is now able...

Words: 1324 - Pages: 6

Free Essay

Innovation in an Organization

...Innovation in an Organization Executive summary Innovation is creating a new way to do something or creation of new products. The company’s goal for innovation will take ideas and create new ways to improve how the company will perform. Many companies today are in the process of change in attitude within the workplace environment in order to gain competitive advantages. Larger companies are looking at how smaller businesses innovate and use those as starting points for examples on how to innovate. As seen in smaller companies, their environments allow for innovation, creativity and are significantly more flexible. First, an organization must provide the information and tools needed to allow each the ability to pursue solutions and take advantage of opportunities at their level of employment on workplace standards. Secondly, the workplace atmosphere that already exists needs to encourage individual initiative and allow mistakes and failures that occur in the process of being imitative to be viewed as progress in the organizational and personal quest for excellence. Businesses that pursue innovation are more likely to generate growth. This company is moving forward with innovations in use of new technology of 3-D printing. Selling points According to the Fredonia group (2013), “…the world demand for 3D printing is projected to rise more than 20 percent per year to $5 billion in 2017." The majority of the demand will be in prototyping and professional design. The anticipation...

Words: 897 - Pages: 4

Free Essay

Logistics

...launching new products. In this competition we finally have found the most innovative new consumer products, 3D printer. Introduction This product report will suggest l what the 3D printer is l the advantages of 3D printer l what characteristics of product correspond to our requirements Findings 1. The concept of 3D printer 3D printer is unlike of the common printers. On a 3D printer the object is printed by three dimension. A 3D model is built up layer by layer. Therefore the whole process is called rapid prototyping, or 3D printing. Nowadays, 3D printer is mainly used in business enterprises and concepts which demand time-saving. These include medicine, architecture but also the entertainment industry such as game and film industry. Even artists use a 3D printer for their creations in a comparatively short time in a solid shape to print. 2. The strengths of 3D printer l Accessibility : in the past, the knowledge & technology was accessible just for engineers & designers, today 3D printing techniques and printers are available to anyone. l Printing at Home : today anyone can buy 3D printer or 3-D designs in affordable price and enjoy large accessibility to many different kinds of materials. The advantage of printing at home is a key factor in the future 3D printing trends. l Product Better Quality : 3D product’s perfection can be achieved within hours. 3D programs can refine designs and prototypes over and over until the product gets to perfection. Companies that...

Words: 569 - Pages: 3

Premium Essay

Innovations in It Paper

...Innovations in IT Topic: 3D printing technology Carlos Velazquez Third dimensional (3D) printing technology has become a recent phenomenon that has proven to become useful in many different markets. Its initial emergence dates back to 1984 by inventor Charles Hull whom created the Stereolithography which became the first of 3D printers (Barnatt, 2014). Since then there has been many improvements to certain components of the Stereolithography printer, and soon different variation of the machine were created. 3D printing technology today is important in education by providing teachers with 3 dimensional visual aids for students to observe in classrooms of objects they would not typically have immediate access to such as cells and organs. Likewise the automotive industry has taken a keen interest in 3D printing technology to help lower the cost of product manufacturing and provide better alternatives for vehicle parts. The medical field is a key field that has benefited greatly from the 3D printing technology. Aside from displaying models of organs and other parts of the human anatomy to create a diverse group of medical students, 3D printing has also played a major role in printing live replacement tissue, organs, and prosthetics for patients. In 2012 the University of Michigan’s C.S. Mott Children’s Hospital, utilized 3D printing to create missing tissues caused by tracheobronchomalacia which is a rare condition in the chest area that is caused by weak tissue that collapses...

Words: 832 - Pages: 4

Premium Essay

3dprinting Case Study.Docx

...Cube 3D Printer Market Analysis Context. 3D Printing is a fast-growing and exciting development, offering innovative solutions to traditional manufacturing processes as well as new opportunities. 3D printing holds great socioeconomic implications enabling to achieve things that previously were considered impossible. It is applicable in every sphere of our life. 3D printing allows to customize and personalize products according to our needs, to democratize access to market and open up opportunities for open design, it can facilitate digital object storage and transportation. 3D printing can be applied to the most important area such as medicine, by the ability of replacement human tissues by bioprinting. 3D printing is also environmental and also improves sustainability by facilitating raw materials savings. Company. 3Dsystems produces 3D printers for home use. All the models are small, fast, accurate and extremely easy to set up and operate. Cubify is the central hub for all things possible with the 3D printed lifestyle. Cubify offers everything from co-creation with favorite brands, a curated shopping experience centered around personalized fashion, décor, toys and more, a community inspiring the latest in 3D design and printing possibilities and access to the easiest home 3D printers and related products. Customers. The company focuses on all the groups of population to for their customer base, it claims that the 3D printer is accessible for everyone both children and grown-ups...

Words: 703 - Pages: 3

Premium Essay

Lean Canvas

...you can capture your imagination, your thoughts and feelings. Hence many people don’t feel comfortable, but limited by drawing in just two dimensions. Besides the restrictions of 2D drawing many creative women would rather develop a new, individual piece of jewelry on their own than just to buy a finished product. Wearing their own creations women could express themselves in a better way. Currently alternatives for 3d printing require a high level of technical knowhow and they are very expensive and therefore not accessible to many people. Solutions Possible Solutions could be provided for instance by 3D Printers. In the past they used to be very expensive, but prices have decreased very quickly and technology has made good advances in this research area. Due to these developments experts expect a creativity revolution through 3D printing in the very near future. 3D printing is also very fast and accurate. But one possible disadvantage of 3D printing could be the somehow distanced relationship to the printings. Artists often want to connect with their art in a special way and this is not always ensured working just in front of a display. Besides 3D Printing it is also possible to be creative in three dimensions with modeling clay. Clay is different than other materials because it never hardens, this is in one way an advantage, for example if small kids just want to play with their hands, but it can also being disadvantageous, if an artist wants his art to be solid and long-lasting...

Words: 2188 - Pages: 9