opengl synopsis for train moving
#1

SIR can i plz get the synopsis for opengl projects,.
Reply
#2

opengl synopsis for train moving

void TRAINS(int x1,int y1,int a,int b)
{
int i=0; glBegin(GL_QUADS);
glColor3f(0,0.0,1.0); //ENGINE
glVertex2f(x1,y1); //lengh of engine=60;height of engine=30;
glColor3f(0,0.0,1.0);
glVertex2f(x1+60,y1);
glColor3f(1.0,0.0,0.0);
glVertex2f(x1+60,y1-30);
glColor3f(0,0.0,0.0);
glVertex2f(x1,y1-30);
glEnd();
while(i<3) {
glBegin(GL_QUADS); //BOGIES
glColor3f(1.0,0.0,0.0); //For right train a=795,b=510
glVertex2f(a,b);
glColor3f(1.0,0.0,0.0);
glVertex2f(a+60,b);
glColor3f(1.0,0.0,0.0);
glVertex2f(a+60,b-20);
glColor3f(1.0,0.0,0.0);
glVertex2f(a,b-20);
glEnd();
a+=65; i++;
}
}
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: moving train in computer graphics algorithms, source code moving train in computer grapics, wrirw opengl program for a moving train, opengl code for moving man, full source code for moving train, opengl program moving train, code for moving the train in opengl,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  opengl synopsis for train moving 3 1,287 05-06-2017, 09:45 AM
Last Post: jaseela123d
Smile circuit diagram for involuntary train collision prevention system 2 805 09-07-2016, 01:14 PM
Last Post: dhanabhagya
  involuntary train collision prevention system pdf with circuit 1 683 16-06-2016, 11:16 AM
Last Post: dhanabhagya
  download ppt on six leg kinematic moving machine 1 536 16-06-2016, 11:02 AM
Last Post: dhanabhagya
  gps based train bus station indication system with display on lcd pdf 1 935 26-05-2016, 01:06 PM
Last Post: dhanabhagya
  vtu phd synopsis format 2015 1 757 26-05-2016, 12:47 PM
Last Post: dhanabhagya
  opengl code for flying butterfly 1 741 19-05-2016, 02:52 PM
Last Post: dhanabhagya
  synopsis on electromagnetic engine pdf 1 697 17-05-2016, 12:03 PM
Last Post: dhanabhagya
  tower of hanoi code in opengl 1 767 12-05-2016, 09:15 AM
Last Post: seminar report asees
  coding for moving k-means clustering in matlab 1 527 10-05-2016, 11:25 AM
Last Post: dhanabhagya

Forum Jump: