0% found this document useful (0 votes)
23 views2 pages

CGR Micro Project 2

Computer graphics micro project pdf 3rd sem

Uploaded by

sureshrmali01
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views2 pages

CGR Micro Project 2

Computer graphics micro project pdf 3rd sem

Uploaded by

sureshrmali01
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

ü Output :-

Here is some sample output for the CGR clock micro project:

Visual Output:
A 3D animated clock with hour, minute, and second hands that update in real-time. The clock face
and hands are rendered in a 3D environment with basic lighting and shading effects.

Console Output:
Time: 12:00:00

Hour Hand: 0.000, 1.000, 0.000

Minute Hand: 0.000, 0.000, 1.000

Second Hand: 0.000, 0.000, 0.000

This output shows the current time and the positions of the hour, minute, and second hands.

Debug Output:
Update Time: 12:00:01

Animate Clock Hands: hourHandX=0.000, hourHandY=1.000, minuteHandX=0.000,


minuteHandY=0.000, secondHandX=0.000, secondHandY=0.000

Render Clock: clockFaceX=0.000, clockFaceY=0.000, clockFaceRadius=1.000

Add Lighting and Shading: ambientColor=(0.200, 0.200, 0.200), ambientIntensity=0.500,


diffuseColor=(0.800, 0.800, 0.800), diffuseIntensity=0.800, specularColor=(1.000, 1.000, 1.000),
specularIntensity=0.900

This output shows the debug information for each function call, including the updated time, hand
positions, and lighting and shading parameters.

1|Page
ü Conclusion:-
In conclusion, the CGR clock micro project demonstrates the application of computer graphics
rendering techniques to create a real-time 3D animated clock. The project utilizes basic lighting and
shading effects, animation, and 3D rendering to display a dynamic clock.

The project showcases the following key aspects:

 1. 3D modeling and rendering: The project uses a 3D clock model and renders it in a 3D
environment.

 2. Animation: The clock hands are animated to display the current time.

 3. Lighting and shading: Basic lighting and shading effects are applied to enhance the visual
appearance of the clock.

 4. Real-time rendering: The clock is rendered in real-time, allowing for interactive viewing.

This project serves as a foundation for more complex computer graphics applications and
demonstrates the potential of CGR in creating engaging and dynamic visualizations. By building upon
this project, developers can explore advanced techniques like texture mapping, reflections, and
physics-based animations to create more sophisticated graphics.

2|Page

You might also like