Bangladesh University of Business and Technology: Village Scenario
Bangladesh University of Business and Technology: Village Scenario
Technology
BUBT
Committed to Academic Excellence
Project Name.
Village scenario
Submitted To
Submitted By
Name ID Program: B.Sc.Engg. in
MD. Ashrafuzzaman ID:16173103136 CSE
Intake: 36
MD. Nazirul Islam ID:16173103041 Section: 01
1|Page
TABLE OF CONTENTS
1) Declaration 3
2) Acknowledgements 4
3) Drawing Objects 5
4) Final Output 9
2|Page
DECLARATION
We declare that this project and the work presented in it is our own and has
been generated by us as the result of our own original research. Sometimes I got
help from our honorable teacher and we also got help from internet.
3|Page
ACKNOWLEDGEMENTS
Any attempt at any level cannot be satisfactorily completed without the support
and guidance of learned people. We would like to express our immense
gratitude to all BUBT teachers on computer programming for their constant
support and motivation that has encouraged us to come up with this project.
We are profoundly grateful to Dr. M. Firoz Mridha his expert guidance and
continuous encouragement throughout to see that this project rifts its target
since its commencement to its completion.
4|Page
DRAWING OBJECTS
List of Drowned objects:
House type 1
House type 2
Tree
Bus
Cloud
Sky
Ground
Sun
Road
House Type 1:
For drawing house type 1 we made a function called house. In there we
draw 2 polygon 1 with 3 point for the roof and the other with 4 point for
the body of the house, then we call it in display function and give a
proper location with glprojection function.
House Type 2:
For house type 2 we use total 5 polygon. For roof we draw a polygon with
4 point. For front side we draw 2 polygon one for the body and one for
the door with 4 point each. For the left side we draw a 5 point polygon
and one 4 point polygon for the window. Then we called it on display
function and translate it to its position.
Fig: Tree
Bus:
Drawing Bus we made a function called Bus. In the bus function we draw
3 polygon 4 point for the car roof and 4 point polygon for bus body.
glTranslate function for produces a translation by x y z. Then we call the
function in display function
Fig: Bus
Cloud:
For cloud we make a function called Cloud B .
For the cloud we use the circle function 5 time . Because we used 5 circle
for making the cloud. We just translate the position of the circle and
gives it radios . Then we call the function in display function and
translate to it's position.
6|Page
Fig: Cloud
Sky:
We just use the ground function created above and give its color and
positioned it on the top.
Fig: Sky
Ground:
For ground we make a function call ground. Here we take 4 point and
simply draw a polygon. And give its color .Then we called it in display
function.
Fig: Ground
Sun:
For drowning sun we use the function circle. We just give the radios of
the circle and gives it a color in the display function.
7|Page
Fig: Sun
Road:
For making the road we simply use the ground function and give its color
and position.
Fig: Road
8|Page
Final Output
9|Page