Archive Pages Design$type=blogging

Shadowfun : Program to make fun with shadow of different objects

Description:   This program demonstrates a light source and object of arbitrary geometry  ca...





Description:  
This program demonstrates a light source and object of arbitrary geometry 
casing a shadow on arbitrary geometry.  The program uses OpenGL's feedback, stencil, and boundary tessellation support.

In other word it poses shadow of the different objects selected over the walls. There are two views in which one is normal say our eyes and other the object's eye. It look cool when you choose the object eye to view. Keeping the lights on/off make the things more delicate. There are many other things that is included in this with vast amount of understanding to implement those.

Usages:  Right click to see the options

Object shape : Selects the below objects with sub-menu selection
                           Torus
                           Cube
                           Sphere
                           Icosahedron
                           Double Torus
  Viewpoint :
                           Normal view : Normal Display
                           Light source view : Display as from the eyes of the objects (light source).
  Render mode :

                             With shadow : Shadow view on/off
                             With front shadow volume : Only Front shadow
                             With back shadow volume : Only Back shadow
                              Without shadow : No shadow
                              Without light : Light on/off
                              2D shadow boundary :  2d shadow boundaries.
  Action :
                  Spin object : Spin the objects.
                  Swing light : Swing the lights.
                  Stop : Stop
  Step rotate : increment the steps of movement.
  Quit : Exit Program.

Download : Project code


Those who want to works it on the Linux or Unix can compiles the code as below :

cc -o shadowfun shadowfun.c -lglut -lGLU -lGL -lXmu -lXext -lX11 -lm 

make sure you have OpenGl libray in the file system, if not get installed it.

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: Shadowfun : Program to make fun with shadow of different objects
Shadowfun : Program to make fun with shadow of different objects
http://2.bp.blogspot.com/-EHYHyyowkgQ/T5o0pyU7XCI/AAAAAAAABL0/Gq4eN4fTGsU/s320/shadowfun.JPG
http://2.bp.blogspot.com/-EHYHyyowkgQ/T5o0pyU7XCI/AAAAAAAABL0/Gq4eN4fTGsU/s72-c/shadowfun.JPG
OpenGL Projects
http://www.openglprojects.in/2012/04/shadowfun-program-to-make-fun-with.html
http://www.openglprojects.in/
http://www.openglprojects.in/
http://www.openglprojects.in/2012/04/shadowfun-program-to-make-fun-with.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