Mini-Project on Spot Light Swing

Rajeev
Mini-Project on Spot Light Swing
Description:  A simple light show where different lights are falling on different area and creating a very good scene the Spot Light Swing. This Program demos the use of swing and the different lightning functions. As Shown in the image this is light show coming from a point source. Just like in disco where lights fall from a point on the floor, also the changes the color. Usages: Just run the program and you will get the light show running, lights with different colors on the floor. No interaction, if any one add in it please comment the code you added.  Future Improvement in the Projects Add front end where all details are there and then enter this light show. In light show there should be start and stop options. Along with start and stop there should be option of increasing and decreasing the light. Basic color red, blue, green is used, other colors should also be included. Project Code: Spot Light Swing OpenGL Free Source Code Download

20 comments

  1. Anonymous
    This comment has been removed by a blog administrator.
  2. Vishal
    i'm getting error like glutInit not included ........ after that i included even though i'm getting the problem
  3. Rajeev Kumar Singh
    I think there is problem in the library that you need to place in the visual studio. Make the proper placement of the OpenGL files then you will get no error. 

    If you have an error even after that give a snapshot in the comment here.
  4. Shivas Eagle
    use
  5. Rajeev Kumar Singh
    what? specify properly
  6. Jithusm1
    for this program where i want to add codes for reduce the speed of the swing pls replay
  7. Jithusm1
    sir do u have any modifications for this program,or any suggestions
  8. Aparna_200099
    can you pls specify the harware n software requirements for this ?
  9. Rajeev Kumar Singh
    void
    animate(void)
    {
      spin += 0.5;
      if (spin > 360.0)
        spin -= 360.0;
      glutPostRedisplay();
    }

    here you change the value of spin and this will help in controlling the amount of spin thus speed.
    you can also add something in the program itself that allow user to control the speed as well as to stop and start it.
  10. Rajeev Kumar Singh
    If you are a vtu student then you may having knowing the software requirements and there is no special hardware requirement.

    Well for non vtu, if you are here is requirements - 

    Software need : 

    MS Visual basic 
    Opengl library

    hardware : 

    any processor above pentinum 4
    os : windows (for linux other method is there, it may also run there)
    ram : 512 mb+
  11. Aparna_200099
    Thank you:)
  12. Jestinefernaldo
    which function is controlling the speed of rotation
  13. Rajeev Kumar Singh
    look for aimLights,setLights , drawLights where rotate function can be alerted and also lookanimate where spin may play the role
  14. Mons0612
    pls send me the source code of 'boids in ogre 3d' to mons0612@gmail.com
  15. Anupam P Iitd
    How to make the code just for one light? What changes needed to be done?
  16. nandu
    i am geetng 37 errors
  17. shalini
    PLEAZ SEND ME CODE FOR THIS PROJECT
  18. Rajeev Kumar Singh
    download link is in the post
  19. ravi
    exactly tell me how to reduce the rotation speed. pls
  20. Pathak
    you we add sound to it?????