Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help me with this one using C++ C + Che My Hil. Render four objects in four viewports of a single display window. An
Please help me with this one using C++
C + Che My Hil. Render four objects in four viewports of a single display window. An example is provided the end.) Set the display window size to 512 by 512 pixels . Show your name for both names if you work with a partner in the title of the display window By showing your mes) in the title, you certify that the job is your individual work for a fair share with your partner) . For each object, the clipping window coordinates are [-10,10] by (-10,10), and the background coles the same. The background color is suggested to be (0.7.0.7.0.7.10) in ROBA, but you can use your own background color The four objects are described below 1. Design a slipple pattem and use it to stipple ar e with the vertices (-8.-6. (8.-6) and (0 . You must design your own pattern. You need render the triangle twice with different colors The first one filled triangle . The second one is a stipplied triangle with the patter: 2. Draw the polar curve r = 41-c() sin(01. 05 2x Us 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 with is L 3. Draw a clock with a round face, 12 ticks and 3 hands The face is around disk filled with a color different from the background 1. The radius of the disk is 8 The ticks are in a different color i Atack is a short lineament. For example, the tick at o'clock could be a line Somentetin (0.9"radiuscos 60",0.9 radiessin 60) and (discos 60'adros 60'). . The bande pot to the use 3:45. 4 Shade the region between the currex of y 16-X and y-2016- over the interval [ 4.4). Use GL QUAD STRIP to shade the region because the region in COCHE . Uses different color to draw the curves with thick line strips As a reface, draw the xy-coordines as well Each of the above forme objects is sendered in a viewport that is a quarter of the entire display window Order does not matter. Your result should be ular in the following umple English United State . C + Che My Hil. Render four objects in four viewports of a single display window. An example is provided the end.) Set the display window size to 512 by 512 pixels . Show your name for both names if you work with a partner in the title of the display window By showing your mes) in the title, you certify that the job is your individual work for a fair share with your partner) . For each object, the clipping window coordinates are [-10,10] by (-10,10), and the background coles the same. The background color is suggested to be (0.7.0.7.0.7.10) in ROBA, but you can use your own background color The four objects are described below 1. Design a slipple pattem and use it to stipple ar e with the vertices (-8.-6. (8.-6) and (0 . You must design your own pattern. You need render the triangle twice with different colors The first one filled triangle . The second one is a stipplied triangle with the patter: 2. Draw the polar curve r = 41-c() sin(01. 05 2x Us 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 with is L 3. Draw a clock with a round face, 12 ticks and 3 hands The face is around disk filled with a color different from the background 1. The radius of the disk is 8 The ticks are in a different color i Atack is a short lineament. For example, the tick at o'clock could be a line Somentetin (0.9"radiuscos 60",0.9 radiessin 60) and (discos 60'adros 60'). . The bande pot to the use 3:45. 4 Shade the region between the currex of y 16-X and y-2016- over the interval [ 4.4). Use GL QUAD STRIP to shade the region because the region in COCHE . Uses different color to draw the curves with thick line strips As a reface, draw the xy-coordines as well Each of the above forme objects is sendered in a viewport that is a quarter of the entire display window Order does not matter. Your result should be ular in the following umple English United StateStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started