Showing posts with label vtu cse mini project. Show all posts
Showing posts with label vtu cse mini project. Show all posts

Monday, 28 March 2016

3D Car - Animation

3D Car - Animation

This is a simple view of a car. It can be moved front and back using arrow keys. A road can be made to appear optionally.

Screen Shots :

With Road :


Download Program Source Code here
Download Report here

Leaping Lizards/ Dinosaur

Leaping Lizards/ Dinosaur

This is not a game. It is an animation to draw a dinosaur and move it. The entire scene can be rotated by using the mouse as a trackball over the window. Modification of this program may include moving the arm/tail or the mouth to indicate mastication.


Here is how leaping lizards or dino looks like...





Download Program Source Code here


Download Report here

PacMan Game

PacMan Game

The two games are not my own creation and these are regularly submitted by students of every batch. I have modified some portions of the code where, in leaping lizards i have made it to rotate and in the pacman version that i got initially the pacman was not turning at turns.

In pac-man(in light blue/aqua) even though it looks like a 2D image it is actually a 3D pacman. It is drawn as a sphere and even the ghosts are spheres.

Thebugs in the code include the following:
  1. in level 2 if pacman dies the lives counter starts decrementing and never stops. It shoulddecrement by one and a new game started.
  2. Pacman should look like eating the food. This may be difficult with a 3D sphere so modifying the pac-man drawing code to 2D image of a circle may help.
  3.  In power mode when the pacman can eat a ghost it does not kill it but just passes through 
Here is how pac-man looks like...






Download Program Source Code here
Download Report here

Taj Mahal


Taj Mahal

Taj Mahal is the symbol of love. It  is a white Marble mausoleum located in Agra, INDIA. It was built by Mughal emperor Shah Jahan in memory of his third wife, Mumtaz Mahal. For more info read Wikipedia 

Here, we are going to develop basic structure of Taj Mahal in computer graphics. In this tutorial I will tell how to make Taj like structure using the OpenGL. We will develop simple structure, not exactly same as it looks in real but some what idealistic. This project is mainly mean for the VTU Computer Graphics mini-projects.




Taj Mahal is basically a structure with many minars and gumbazz. We will use the simple objects like spheres and cubes to build these units. First for the main part we use box or a large cube and then point small sphere over them. Thereafter, we place a small cubical structure with very low height, a egg like sphere is also placed over it. Similarly,we going to place four long minars over each four corners.

We are also developing the wired framed structure of the Taj as well. In the wired framed Taj, the large cube block will go transparent and the two tombs will be place in the middle with small cubes.



Download Program Source Code here
Download Report here


Racing Car in a Race Track

Racing Car in a Race Track


Computer Graphics has grown into a very important topic in the branch of Computer Science. This is due to an effective and rapid communication formed between man and the machine. Human eye can absorb the information in a displayed diagram or perspective diagram much faster than it can scan a page or a table of contents.



     This project demonstrates the creation of a moving racing car along with a circular race track and scenery.The user is also given the option to see the car from different views.OpenGL is used to make this possible by virtue of its various functionalities.


    We make use of simple geometric figures like triangle, circle and polygons to construct the parts of racing car and the track .Cones, spheres and cylinders are used to generate the trees. We also include lighting and material properties.

     The code implemented makes use of various OpenGL functions for translation, rotation and keyboard callback function, built-in functions for solids and many more.

      The concepts of computer graphics stand a backbone to achieve the aforementioned idea. Primitive drawing, event driven interactions and basic animation have been the important concepts brought out by this application.

      The report is chalked out into sections describing the basic requirements superseded by the briefing on functions used. Following this, the detailed description of how the implementation is done effectively using these functions and C language is presented. The source code is provided along with necessary comments to enhance readability of code. The screenshots have been provided for amelioration of our little effort. The conclusion and the future enhancements proposed conclude the report.The maximum efforts are been made to ensure that the view is aesthetically pleasing and eye-catching.

Screenshots:


Back side view:


 Front View:


Helicopter View: 


Side View: 




Download Program Source Code here
Download Full Project Report here

Rocket Launching


 Rocket Launching

The rocket launching project is a 2D animation of a satellite launching process.
In our project rocket will be static prior to launching. When a launch is performed through interactions, the countdown begins for the launch. The countdown is 10 to 0, once the countdown is finished rocket is launched. Once the rocket is launched, actual animation starts here. Rocket starts moving into the sky, after sometime it reaches the space. The next phase of the rocket launch is dismantling stage1, in this stage the first fuel supplier will be dismantled. Now rocket starts moving with the help of second fuel supplier. The next stage will be dismantling stage2, here the fuel supplier 2 will be dismantled. The next phase is forced dismantling stage, where the unwanted parts are expelled. After this phase satellite is launched.

Screenshots:



 
Starting stage of rocket





 Snap shot showing intermediate stage and fume of rocket changing


 
Rocket entering in outer phase




 Rocket entering into the last phase


Download Program Source Code here
Download Full Project Report here

Worms

Worms
This project is created by using OpenGL interface along with GLUT (OpenGL library Toolkit), using the platform eclipse as the compiling tool. 
The title of the project is WORMS. This project has been developed in simple and lucid  manner, so that future there can be changes made in the code
[WORMS :- Are the only life which came upon the earth first. They are found beneath (underground) the base i.e., inside the mud.]
We begin our project with compilation steps. By running the program. We see in the output screen the worms moving in many directions. i.e., they move every where in screen, not in one straight line.
Next we see these worms in different color. Some with green, blue, red, etc,.
Next we see providing a simple menu option with sub option upon right click of mouse to display.
  1. WORMS
  2.  DRAWING MODE
  3. QUIT 
With first option we see the WORMS getting together and start moving in much direction.With second option drawing mode we have sub option: 
  • FILLED
  • UNFILLED

      In filled the worms are filled completely with colors, and with unfilled its just vice-versa of filled i.e., they are not completely filled with color.

      When the mouse is clicked at any position in output screen, these worms gather to that point and then separated in different direction.
            At last option we have QUIT. To exit from the output.
Screenshots:

Mouse clicked point

Shows right click of mouse button the option occurs with worms drawing mode and quit
 Worms are filled with color

Worms are meeting at one pint when they mouse is clicked at particular point

Worms separating from point where they met
 Worms with unfilled option
Download Program Source Code here
Download Full Project Report here

Friday, 12 June 2015

Worms

Worms
This project is created by using OpenGL interface along with GLUT (OpenGL library Toolkit), using the platform eclipse as the compiling tool. 
The title of the project is WORMS. This project has been developed in simple and lucid  manner, so that future there can be changes made in the code
[WORMS :- Are the only life which came upon the earth first. They are found beneath (underground) the base i.e., inside the mud.]
We begin our project with compilation steps. By running the program. We see in the output screen the worms moving in many directions. i.e., they move every where in screen, not in one straight line.
Next we see these worms in different color. Some with green, blue, red, etc,.
Next we see providing a simple menu option with sub option upon right click of mouse to display.
  1. WORMS
  2.  DRAWING MODE
  3. QUIT 
With first option we see the WORMS getting together and start moving in much direction.With second option drawing mode we have sub option: 
  • FILLED
  • UNFILLED

      In filled the worms are filled completely with colors, and with unfilled its just vice-versa of filled i.e., they are not completely filled with color.

      When the mouse is clicked at any position in output screen, these worms gather to that point and then separated in different direction.
            At last option we have QUIT. To exit from the output.
Screenshots:

Mouse clicked point

Shows right click of mouse button the option occurs with worms drawing mode and quit
 Worms are filled with color

Worms are meeting at one pint when they mouse is clicked at particular point

Worms separating from point where they met
 Worms with unfilled option
Download Program Source Code here
Download Full Project Report here