Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ 8:12 E1 ABC AB AC AD Aarbech - S 12 flash with 2. Dww the curve The the m lehel UGL QUAD STRE Acco

c++ image text in transcribed
image text in transcribed
image text in transcribed
8:12 E1 ABC AB AC AD Aarbech - S 12 flash with 2. Dww the curve The the m lehel UGL QUAD STRE Acco Y eats hettiar SYLIILUIL TILL cl AABBC AaBbCcI AaBbCeAaBbCD AaBbC AaBbCd dabCel AaBbCel daBbCcl sis Heading 1 Normal Strong S ubtitle Title 1 No Spac... Subtle Em... Intense E... Quote Styles Render four objects in four viewports of a single display window. (An example is provided at the end.) Set the display window size to 512 by 512 pixels. Show your name (or both names if you work with a partner) in the title of the display window. o By showing your name(s) in the title, you certify that the job is your individual work (or a fair share with your partner). For each object, the clipping window coordinates are [-10, 10] by (-10,10), and the background color is the same. o The background color is suggested to be (0.7.0.7.0.7, 1.0) in RGBA, but you can use your own background color. The four objects are described below. 1. Design a stipple pattern and use it to stipple a triangle with the vertices (-8,-6). (8.-6), and (0. 8). . You must design your own pattern. You need render the triangle twice, with different colors. i. The first one is a filled triangle. ii. The second one is a stippled triangle with the pattern. 2. Draw the polar curve r = 4[1-cos() sin(40)]. OSOS 21 Use a color that is apparently different from the background color. Set the line width to 2. Draw the xy-coordinates as a reference. In a shallow color and the line width is 1. 3. Draw a clock with a round face, 12 ticks and 3 hands The face is a round disk filled with a color different from the background i. The radius of the disk is 8. The ticks are in a different color. 1. A tick is a short line segment. For example, the tick at 1 o'clock could be a line segment connecting (0.9* radius* cos 60".0.9 * radiussin 60") and (radiuscos 60" radius* sin 60"). The hands point to the time 3:45. 4. Shade the region between the curves of y = V16-x' and y = 2/16-x? over the interval [-4,4). LTE You seeded the two w 8:18 The first one is a gle Netflix The second one is stippled triangle with the poem 2 Draw the polas curve 7-41-cos) sin(4991 Oses 2 Una col that is partly different from the hack color Se the line with to 2 Dew the cor r eference les shallow color and the line wi l the back The face is a dick with a color de The ads of the deck The area de color ( odc. 9 60) cosa ) over the w all 4.4 e UGL QUAD STRIP to shade the region because the on Use a different color to draw the curves with thickness As a reference, the xy-coordinates as well window Each of the above four objects is r eeds a wwwport that is a quarter of the Onder does not matter Your result should be ler to the following emple Tuingen 8:12 E1 ABC AB AC AD Aarbech - S 12 flash with 2. Dww the curve The the m lehel UGL QUAD STRE Acco Y eats hettiar SYLIILUIL TILL cl AABBC AaBbCcI AaBbCeAaBbCD AaBbC AaBbCd dabCel AaBbCel daBbCcl sis Heading 1 Normal Strong S ubtitle Title 1 No Spac... Subtle Em... Intense E... Quote Styles Render four objects in four viewports of a single display window. (An example is provided at the end.) Set the display window size to 512 by 512 pixels. Show your name (or both names if you work with a partner) in the title of the display window. o By showing your name(s) in the title, you certify that the job is your individual work (or a fair share with your partner). For each object, the clipping window coordinates are [-10, 10] by (-10,10), and the background color is the same. o The background color is suggested to be (0.7.0.7.0.7, 1.0) in RGBA, but you can use your own background color. The four objects are described below. 1. Design a stipple pattern and use it to stipple a triangle with the vertices (-8,-6). (8.-6), and (0. 8). . You must design your own pattern. You need render the triangle twice, with different colors. i. The first one is a filled triangle. ii. The second one is a stippled triangle with the pattern. 2. Draw the polar curve r = 4[1-cos() sin(40)]. OSOS 21 Use a color that is apparently different from the background color. Set the line width to 2. Draw the xy-coordinates as a reference. In a shallow color and the line width is 1. 3. Draw a clock with a round face, 12 ticks and 3 hands The face is a round disk filled with a color different from the background i. The radius of the disk is 8. The ticks are in a different color. 1. A tick is a short line segment. For example, the tick at 1 o'clock could be a line segment connecting (0.9* radius* cos 60".0.9 * radiussin 60") and (radiuscos 60" radius* sin 60"). The hands point to the time 3:45. 4. Shade the region between the curves of y = V16-x' and y = 2/16-x? over the interval [-4,4). LTE You seeded the two w 8:18 The first one is a gle Netflix The second one is stippled triangle with the poem 2 Draw the polas curve 7-41-cos) sin(4991 Oses 2 Una col that is partly different from the hack color Se the line with to 2 Dew the cor r eference les shallow color and the line wi l the back The face is a dick with a color de The ads of the deck The area de color ( odc. 9 60) cosa ) over the w all 4.4 e UGL QUAD STRIP to shade the region because the on Use a different color to draw the curves with thickness As a reference, the xy-coordinates as well window Each of the above four objects is r eeds a wwwport that is a quarter of the Onder does not matter Your result should be ler to the following emple Tuingen

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions

Question

What is quality of work life ?

Answered: 1 week ago

Question

What is meant by Career Planning and development ?

Answered: 1 week ago

Question

What are Fringe Benefits ? List out some.

Answered: 1 week ago