opengl synopsis for train moving
#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: opengl program for a moving train, opengl program for a moving train in c, synopsis for online train reservation system project, opengl code for moving man, opengl source code for moving train, train in opengl program, train reservation management system synopsis,

[-]
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)

Messages In This Thread
opengl synopsis for train moving - by Guest - 11-04-2016, 07:50 PM
RE: opengl synopsis for train moving - by dhanabhagya - 13-04-2016, 12:48 PM

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

Forum Jump: