opengl code for moving man
#1

We need opengl code for moving man with umbrella in rain .code should be written using <GL/glut.h> header or by using glut libraries and not using graphics.com and conics.h headers and not in c or c++ lan ,it should be only using opengl functions please we need this code very urgent ( atlest with in 10 days).please help us .please atleast you give opengl code for man moving with umbrella .please please please help us .please confirm us your help by mailing to given email id kavyashreec95[at]gmail.com, please help us .
Reply
#2
Please reply us within 3 days and confirm us of your help to the given email about our request please try to help us
Reply
#3
opengl code for moving man

#include<stdio.h>
#include<dos.h>
#include<conio.h>
#include<graphics.h>
#include<stdlib.h>

void rain(int x1, int y1, int x2, int y2)
{
int s, dx, dy, m, c = 0, t = 1;
float xi, yi, x, y;

dx = x2 - x1;
dy = y2 - y1;

if (abs(dx) > abs(dy))
s = abs(dx);
else
s = abs(dy);

xi = dx / (float) s;
yi = dy / (float) s;

x = x1;
y = y1;

putpixel(x1 + 0.5, y1 + 0.5, 9);

for (m = 0; m < s; m++) {
c++;
x += xi;
y += yi;
if (getpixel(x, y) == 4)
break;
if (c % 10 == 0)
t++;
putpixel(x + 0.5, y + 0.5, 0);
if (t % 2 == 0)
putpixel(x + 0.5, y + 0.5, 9);

}

}

void main()
{
int gd = DETECT, gm = DETECT, c = -200, i = 0, x = 40, l = 15, h = 15, ht = 0;
initgraph(&gd, &gm, "");
cleardevice();

// DRAW THE GROUND
setcolor(BROWN);
line(0, 201, 600, 201);

cont:

while (!kbhit()) { // UNLESS a KEY is pressed

// DRAW THE MAN
setcolor(4);
ellipse(x, 100, 0, 180, 50, 30);
line(x - 50, 100, x + 50, 100);
line(x, 100, x, 150);
circle(x - 20, 115, 15);
line(x - 20, 130, x - 20, 175);
line(x - 20, 175, x - 20 - l, 200);
line(x - 20, 175, x - 20 + l, 200);
line(x - 20, 140, x, 150);
line(x - 20, 140, x - 20 - h, 160);

// DRAW THE RAIN
for (i = 0; i < 620; i += 20) {
rain(i, c, i, 200);
}
c++;
if (c == 0)
c = -100;

setcolor(0);
delay(50);

// REMOVE THE MAN
ellipse(x, 100, 0, 180, 50, 30);
line(x - 50, 100, x + 50, 100);
line(x, 100, x, 150);
circle(x - 20, 115, 15);
line(x - 20, 130, x - 20, 175);
line(x - 20, 175, x - 20 - l, 200);
line(x - 20, 175, x - 20 + l, 200);
line(x - 20, 140, x, 150);
line(x - 20, 140, x - 20 - h, 160);

line(x + 50, 100, x + 50, 200);

// MOVE THE COORDINATES OF THE MAN
x++;

// CODE for MOVING the LEG
l--;
if (l == -15)
l = 15;

// CODE for MOVING the HAND
if (ht == 1)
h++;
else
h--;

if (h == 15)
ht = 0;
else if (h == -15)
ht = 1;

}

// PAUSE THE MOVEMENT IF 'SPACEBAR' IS PRESSED, EXIT OTHERWISE
if (getch() == ' ') {
while (!kbhit());
getch();
goto cont;
}
}
Reply
#4
Please send code for man walking with umbrella in opengl using <GL/glut.h> header please code should be written only using opengl functions
Reply
#5
To get full information or details of opengl code for moving man please have a look on the pages

http://studentbank.in/report-opengl-code-for-moving-man

if you again feel trouble on opengl code for moving man please reply in that page and ask specific fields in opengl code for moving man
Reply
#6

Please send openglcode for man walking in rain with umbrella using glut functions and GL functions .please send the code within 3 days to my email id kavyashreec95@gmail please send me as fast as possible
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
Tagged Pages: opengl code for moving man, opengl code for umbrella, opengl man move, rain in opengl, full report of rain for opengl code,
Popular Searches: opengl code for moving man, opengl synopsis for train moving, opengl program for a moving train in c download in, code for moving the train in opengl, opengl codes for moving cloud, opengl source code for moving train, source code for man in the middle attacks,

[-]
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,312 05-06-2017, 09:45 AM
Last Post: jaseela123d
  download ppt on six leg kinematic moving machine 1 556 16-06-2016, 11:02 AM
Last Post: dhanabhagya
  opengl code for flying butterfly 1 747 19-05-2016, 02:52 PM
Last Post: dhanabhagya
  tower of hanoi code in opengl 1 781 12-05-2016, 09:15 AM
Last Post: seminar report asees
  coding for moving k-means clustering in matlab 1 537 10-05-2016, 11:25 AM
Last Post: dhanabhagya
Thumbs Up opengl code for moving man 1 813 10-05-2016, 10:44 AM
Last Post: dhanabhagya
  escalator opengl source code 1 531 10-05-2016, 10:18 AM
Last Post: dhanabhagya
  project report on drawing a snowman using opengl download 1 694 04-05-2016, 11:37 AM
Last Post: dhanabhagya
  project report of 6th sem simple moving light opengl source code 1 670 04-05-2016, 10:44 AM
Last Post: dhanabhagya
Star project report of 6th sem simple moving light opengl source code 1 922 04-05-2016, 10:42 AM
Last Post: dhanabhagya

Forum Jump: