Show the cohen sutherland and liang barksy

Assignment Help Computer Graphics
Reference no: EM131398605

Part 1:

Repeating part of Assignment 1, now create your objects, and have them move through 3D space, and rather than triangles and rectangles and circles they should be pyramids, cubes, and spheres (or approximations thereof). Objects should have solid exteriors, be coloured in some way. Your program should have basic lighting and a projection matrix. When objects are created, they should start with some initial velocity and move along a path governed by that velocity.

Basic lighting can come from the labs.

Note: Assignment 3 has you adding terrain, and objects you import from a file.

Part 2:

Allow the user to ‘pick' one of the objects in Part 1 and display some information about it in a window or on a console or the like (the information can be just the ID of the object and what colour it is or something). The hard part of this problem is called ‘picking' or a ‘pick' algorithm. You can simply search every object in the scene on every mouse click and see if the mouse intersects it (what happens if there are two objects though? Hmmm...). This question has layers of success, and I expect you to show testing on all of the cases you got working.

Part 3: Using POV ray (https://www.povray.org/) set up a scene that is conceptually similar to question 1 (some objects moving around with light). Discuss and compare performance. Feel free to base this largely on any tutorials you find on the web, the goal here is for you to see the differences and similarities to how these methods work. I expect your results will be some screen shots and ~500-1000 words of discussion.

Part 4:Maths stuff (Do this by hand).

Show the Cohen Sutherland and Liang Barksy (line clipping algorithms) for the following line segments with a
Window from (0,0) to (10,10)
a) (-4, -2), (8,12)
Window (-10,-10) to (10,10).
b) (9, -3), (-9,-9)
c) (19,8) (-16,17)
Window 0,0 to 1920,1080
d) (2496, 864), (768, 324)
A Window from (-960, -540 to +960, 540)
e) (-480, 432), (-864, -1134)

Note You must show your work for both algorithms.

Attachment:- Basic-Lighting.zip

Reference no: EM131398605

Questions Cloud

Describe the types of juvenile cases : Prepare a 3- to 5-page report on your local juvenile probation department. In your report: Describe the types of juvenile cases that your local juvenile probation department has taken care of in the past
Create a pert diagram that identifies the critical path : Insert the screenshots of the Gantt and PERT charts you created based on the provided criteria. Elaborate on the status of the VoIP deployment project based on the updated information. Note: The graphical representations do not count toward the o..
How are popular multimedia authoring programs used : Director has powerful features that allow programmers to create highly interactive multimedia applications.
Identify the authors intended audience : Identify the author's intended audience. Critique the article and share your thoughts-what appears to be valid and invalid? Do you agree with the author's assertions? Why, or why not?
Show the cohen sutherland and liang barksy : COIS 4480H Assignment - Discuss and compare performance. Feel free to base this largely on any tutorials you find on the web, the goal here is for you to see the differences and similarities to how these methods work.
Multilevel readiness to organizational change : Read the article titled “Multilevel Readiness to Organizational Change: A Conceptual Approach”. Give your opinion on which two (2) means of diagnosing change are most relevant to today’s organizations. What is meant by the term “readiness”?
What are the key elements of each strategic plan : write a 2- to 3-page paper to compare and evaluate the two Strategic Plans you select. Address the following: How are the strategies different? What are the key elements of each Strategic Plan
Criminology and social disorganization : Which of the two theories – Chicago School of criminology and social disorganization or the Anomie and Strain Theory -- do you feel better explains the cause of criminal behavior? Explain and support your choice by including citations and references ..
What are the six steps in the program development life cycle : What Are the Six Steps in the Program Development Life Cycle? The program development life cycle (PDLC) is a series of steps programmers use to build computer programs.

Reviews

Write a Review

Computer Graphics Questions & Answers

  Create a simple warm-up program using your g3d

Create a simple warm-up program using your G3D programming and graphics environment.

  Shadow effect while rolling a sphere

Shadow effect while rolling a sphere as well as the options of shading and lighting.

  Relative positioning and interactive positioning

Relative Positioning and Interactive Positioning by Dragging and Clicking and some Simple Animation

  Draw a teapot at the global origin

Draw a teapot at the global origin

  Concepts of computer graphics

Concepts of Computer Graphics and develop a program using OpenGL

  The security policy document outline

Using the GDI Case Study below, complete the Security Policy Document Outline

  Develop the image manipulations

Develop the image manipulations

  What does resolution mean

What does resolution mean How is resolution connected to ppi and dpi units

  Differentiate between a bitmap image and a vector image

Differentiate between a bitmap image and a vector image Explain the following terms

  Essential elements of a design pattern

configuration of an Iterator pattern, patterns could be used in a Library System, Singleton, Template, Decorator, Façade,What does Alexander means by the following declaration "But it is impossible to form anything which has the temperament of natu..

  Framework of user interface design

design of user interfaces, natural mapping, GUI applications, web page design different to designing for printed media, risks exposed in this "phone as individual proxy" approach, interaction designers of ubicomp applications, Storyboards are usual..

  What are the factors affecting picture composition

Define picture composition What are the factors affecting picture composition. Elaborate on each factor Describe the basic lines present in a composition

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd