Question
Test your Dev C++ with Allegro as we did in class. Write a program to draw a house (we did this in class together). 1.
Test your Dev C++ with Allegro as we did in class. Write a program to draw a house (we did this in class together). 1. Modify the code to design a function called param_house(width, height, roof_height, door_height, door_width, color ); but with more parameters to generate a variety of houses. 2. Using random number generators, create houses of varying characteristics to create a whole town. Make small distant houses. Vary the colors of the houses by using the random number generator for colors. Make street-like patterns. See any problems? Have any solutions? Insight into problems may be more useful than immediate solutions. 3. Complete at home as described below.Homework - Project 3: Please answer the below questions (hand-written) or complete the activities (such as code-run-debug programs (include source & run-output)). To summarize: 1. Add streets. Put no houses in the streets but on the blocks. 2. Have a horizon (blue). Draw distant houses first. Houses in front occlude houses behind (a 3D visual cue). 3. Draw the town using the on the street view but 5-6 feet tall view (as we do in class). 4. Even add a street lamp (use functions) or a tree where tree = ((triangle-fills & rectangle) for evergreen or (circlefills & rectangle) for deciduous).
Step 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