Archive Pages Design$type=blogging

Fish Hunting OpenGL Project

We have seen Aquarium Program in OpenGL C/C++ where there are many fishes, which can eat food to grow and produce more fishes. Similarly th...

We have seen Aquarium Program in OpenGL C/C++ where there are many fishes, which can eat food to grow and produce more fishes. Similarly there was poison which will reduce the population of fish in the aquarium, hence keep on the population check of fishes in aquarium.  Fish Hunting/Fishing is another project which will involve the fishes. This project is submitted by KARTHIK S HANDE and GAGANDEEP L M of AIT, CHIKAMGALUR. The Concept is very nice and evolves phases of time.
The Concept
The Project Concept includes the drawing of river, man with fishing bow, fishing boat, fishes in river and surrounding mountains which includes the sun. Man will board on the boat and put the bow in river with food to attract the fishes. Fleshes will get caught through the fishing rod.
Implementation
The project is implemented using the OpenGL Primitive functions and c++ methods. There are some methods defined to give functionality for drawing the objects. Each method has their own job of completing the project aim.  The extract code which will draw the sun is given below –
void sun()
{

int i;
 GLfloat a[30][3],theta=0,delta=2*M_PI/30.0,r=2.0;
 glClear(GL_COLOR_BUFFER_BIT);
 glLoadIdentity();
  glTranslatef(0.7,6+y,0);
  glColor3f(1.0,0.6,0.0);
  for(i=0;i<30;i++)
  {
 a[i][0]=d+r*cos(theta);
 a[i][1]=y+r*sin(theta);
 a[i][2]=0;
 theta+=delta;
  }
  glBegin(GL_POLYGON);
  for(i=0;i<30;i++)
 glVertex3fv(a[i]);
  glEnd();
}
Similarly there different methods functions for other objects.
This project also includes the pre information page or say front page in other words. In the front page the information like project name, projects developers, coordinators, guides and college name are displayed.  With help of menu functionality provided by OpenGL , menu implementation is done to start the project.
For the User Interaction the mouse functionality has been used. The mouse event is not much broader but only to start the fishing page and exit the program. More functionality can be added to the project along with the implementation of keyboard beside use of mouse.
Hope you will like this simple and attractive project. Add something from your side and submit to us we will publish the same by giving your name.

Download the source code!

COMMENTS

Name

3D Bi-Cycle 3D Game 3D Laptop 3D Objects 3D Projects 3D Zoo Algorithm Android Aquarium Bellman-Ford Algorithm Block Breaker Blockshooting Bucket Sort C# Chess Clock Code Blocks Colors Complex Project Complex Projects Crab Pong Cross Zero DSAV Escapa First Come First Serve Fluids Font Demo Games Gear Motion GlutDino Glutplane Graphics Editor iOS iPhone Java Java OpenGL Graphics Programming Light Torus Linked List Ludo Board Game Mancala board games Memory blocks game Memory Game Menu Mickey Mouse Minesweeper Miniature Steam Engine moth Motion Blur MoveLight moving car Moving Ship Multiplex Networking Based Project Nuclear Power Plant Olympic opengl c++ examples OpenGL ES OpenGL Tutorial Origami OS Based Projects Paint Paper Folding Particles Drop Path Finding ping pong Pong Game Project Report Projects Report Puzzles qix like Random Flowing lines Rigid Body Rings Robot sample c++ opengl code Screen Saver Screen Saver Ship Shadow Cube Shadowfun Ship Iceberg Simple Drawing Simple Haloed Lined Wireframe Simple Move Light Simple Project Simulation SNAKE XENZIA GAME Solar system Sorting Sphere Spot Light Swing Stars Taj Mahal The Edge Game Tic Tac Toe Tower of Hanoi Traffic Signal Transformation Triangular Animation Tutorial water ripple effects Whirlpool
false
ltr
item
OpenGL Projects: Fish Hunting OpenGL Project
Fish Hunting OpenGL Project
OpenGL Projects
http://www.openglprojects.in/2016/08/fish-hunting-opengl-project.html
http://www.openglprojects.in/
http://www.openglprojects.in/
http://www.openglprojects.in/2016/08/fish-hunting-opengl-project.html
true
2020194800836807725
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago