Description: Rigid Body Transformations is one of the most important applications in computer graphics. It means Rotation, Scaling, Transformation of 3-Dimensional objects, like teapot, torus, cone, cube and octahedron. It also includes changes of background colors and rotations, including the 3 ways, like of x-axis, y-axis and z-axis.The above operation can be done by using mouse interface.
A part from this a small header section is there at the top, which contains informations, like project name with it associates. The angle and velocity of rotation, is indicated on the header bar. A timer is also placed on header, which shows the times elapse as the program executed.
Usages: Right click to see the options
Rotation On : Set the rotation in the object.
Translation :
X - axis Translation On : Move objects in x-direction.Y - axis Translation On : Move objects in y-direction.
Z - axis Translation On : Move objects in z-direction.
Objects : Selects the below mentioned objects with sub-menu selection
Teapot
Cone
Cube
Torus
Octahedran
Change Background : Selects the colours mentioned below with sub-menu selection
Red
Blue
Green
Black
Scaling On: Put the scaling on objects.
Download : Project code
sir,in this project scaling operation is not working..
ReplyDeletewhat changes i have to make for that?
sir plzz upload the complete report for this project...
ReplyDeleteplease upload the final report sir
ReplyDeleteplease sir urgent
sir..i need complete report for this project...its very urgent...plzzzz.........send to
ReplyDeletetejaradhya@gmail.com........and in this project scaling operation is not working....what to do for this sir....? give me a solution......
can you specify exactly what is the problem?
ReplyDeleteIn menu SCALING ON option is there know ....by clicking that there is no changes in the objects......what changes i have to make sir.....?
ReplyDeletescaling it get bigger don't you see that
ReplyDeleteno sir....there was no changes in size.....
ReplyDeletecan i get complete report of this project.......?
ReplyDeleteyou right there is not scaling function - something is missing.
ReplyDeleteGo through these two links and add you own.
Transformation in OpenGL
Tutorial on scaling in OpenGL
For your sake i am giving some code you can work as this need some time and precesion.
Look these -
int scaling=0;
int axis=0;
float x_axis=2.0;
float y_axis=2.0;
float z_axis=2.0;
int x_axis1=0;
int y_axis1=0;
int z_axis1=0;
also similar to this code for scalef ok!
switch(tran)
{
case 1: glTranslatef(center, 0.0, 0.0);
break;
case 2: glTranslatef(0.0, center, 0.0);
break;
case 3: glTranslatef(0.0, 0.0, center);
break;
}
i have to submitt report of this project tomorrow only....so,plzzz........i request you to mail complete report of this project at tejaradhya@gmail.com plzzzz................sir.
ReplyDeleteYou can't get report so fast; try download it from sample download page and try to make it according to your's project.
ReplyDeletesir am not getting scaling operation can u say the code for scaling operation wt s the problem in program,,,,,,,,,,,,............
ReplyDeleteSir please send me the source code for Rigid Body Transformation:A project demonstrate for Rotation, Scaling and Transformation.........sir plz send to maayuri94@gmail.com
ReplyDelete