CGR Report Final
CGR Report Final
_______________________________________________________________________
Micro-Project Report
3D House
1. Rational
Graphics provides one of the most natural means of communicating with a computer, since our
highly developed 2D and 3D pattern-recognition abilities allow us to perceive and process
pictorial data rapidly and efficiently. Interactive computer graphics is the most important means
of producing pictures since the invention of photography and television. It has the added
advantage that, with the computer, we can make pictures not only of concrete real world objects
but also of abstract, synthetic objects, such as mathematical surfaces and of data that have no
inherent geometry, such as survey results.
a) Cost Efficiency
b) Speed of Construction
c) Sustainability
d) Design Flexibility.
a. Data Collected
3D Home Architect is a property designing program. Harneet's guide to 3D Home Architect
comes in three designs for specific purposes: Home and Landscape Design Suite, Home Design
Deluxe, and Landscape Design Deluxe. Home Design Deluxe simulates home designs,
Landscape Design Deluxe simulates landscape designs, and Home and Landscape Design Suite
is used for both.
3D Home Architect was introduced by Broderbund in the 1990s and was a scaled down version
of a professional home design application called Chief Architect, made by Advanced Relational
Technology (ART) Inc. (now renamed to Chief Architect, Inc.). After version 4.0, the
agreement between Broderbund and ART Inc. was terminated, and 3D Home Architect 5.0 and
later versions are based on a similar professional application called Cad soft Envisioned.
_______________________________________________________________________
Department of Computer Engineering
3D House
_______________________________________________________________________
b. Implementation/Coding
_______________________________________________________________________
Department of Computer Engineering
3D House
_______________________________________________________________________
glPopMatrix();
glFlush();
}
_______________________________________________________________________
Department of Computer Engineering
3D House
FLOWCHART:
________________________________________________________________
_
Department of Computer Engineering
3D House
ALGORITHM:
Step 1: Start
Step 2: Initialize the system and load necessary libraries (OpenGL, GLUT, etc.).
Step 3: Define Problem
Step 4: Setup OpenGL Environment
Step 5: Create Geometric Primitives for House Structure
Create a cube for the house base using glVertex3f().
Create a pyramid for the roof using similar OpenGL functions.
Create rectangular windows and doors with smaller cubes or rectangles.
Step 6: Apply Transformations (Translation, Rotation, Scaling)
Use functions like glTranslate(), glRotate(), and glScale() to position, rotate, and
scale different parts of the house model.
Step 7: Implement Lighting and Shading
Define lighting parameters: ambient, diffuse, and specular light.
Step 8: Setup Camera
Adjust the camera position and angles for optimal viewing of the house.
Step 9: Render Scene
Handle user inputs (keyboard, mouse) for interacting with the model (rotate, zoom
in/out).
Step 10:Test and Debug
Test the program for correct rendering, transformations, and lighting.
Step 11: Display Output
Step 12: End
c. Output of Micro-Projects
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
Name of
Sr.No Resource / Specifications Qty Remark
material
11th gen RMD (TM)
Computer System
1 16GB RAM 1 used
8. Application of Micro-Project
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
3D House
________________________________________________________________
_
Department of Computer Engineering
Causes of Air Pollution