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
This comment has been removed by a blog administrator.
ReplyDeletei'm getting error like glutInit not included ........ after that i included even though i'm getting the problem
ReplyDeleteI 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.
ReplyDeleteIf you have an error even after that give a snapshot in the comment here.
use
ReplyDeletewhat? specify properly
ReplyDeletefor this program where i want to add codes for reduce the speed of the swing pls replay
ReplyDeletesir do u have any modifications for this program,or any suggestions
ReplyDeletecan you pls specify the harware n software requirements for this ?
ReplyDeletevoid
ReplyDeleteanimate(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.
If you are a vtu student then you may having knowing the software requirements and there is no special hardware requirement.
ReplyDeleteWell 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+
Thank you:)
ReplyDeletewhich function is controlling the speed of rotation
ReplyDeletelook for aimLights,setLights , drawLights where rotate function can be alerted and also lookanimate where spin may play the role
ReplyDeletepls send me the source code of 'boids in ogre 3d' to mons0612@gmail.com
ReplyDeleteHow to make the code just for one light? What changes needed to be done?
ReplyDeletei am geetng 37 errors
ReplyDeletePLEAZ SEND ME CODE FOR THIS PROJECT
ReplyDeletedownload link is in the post
ReplyDeleteexactly tell me how to reduce the rotation speed. pls
ReplyDeleteyou we add sound to it?????
ReplyDelete