You are on page 1of 9

Bangladesh University of Business and

Technology

BUBT
Committed to Academic Excellence

Project Name.
Village scenario

Course Title: Artificial Intelligence Lab


Code: CSE 342

Submitted To

Md. Hasibur Rahman


Lecturer, Dept. of CSE

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

Title Pages no.

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.

Finally, we confirm that:

This work is done wholly or mainly while in candidature for a research


degree at this University.
This project work has not been previously submitted for any degree at
this university or any other educational institutes of Bangladesh.
I have quoted from the work of others; the source is always given
respectively. With the exception of such quotations.

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.

We would like to express deepest appreciation towards Wing Commander Md


Momenul Islam Retd, proctor, Bangladesh University of Business &
Technology, Prof. Dr. Md. Ameer Ali head of Department of Computer
Science & Engineering whose invaluable guidance supported us in completing
this project.

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.

Fig: House type 1

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: House type 2


5|Page
Tree:
For drowning the tree we make 2 function 1 for the leafs and one for the
treebody.
For tree leafs we made a function called tree .
In there we use a function called a for making 5 circle at a time. We
placed the function one after another and make it look like a tree leafs.
Then we use the treebody function.
In treebody we draw 9 polygon with different points to give the shape of
a tree body. Then we used those function and placed them properly in
the display function.

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

Fig: Village scenario

9|Page

You might also like