Write a program to render an animated humanoid walking robot

Assignment Help Python Programming
Reference no: EM131309589

OpenGL Programming in Python 3.5

Write a program to render an animated humanoid walking robot.

Specifications:

Robot's body is a parallelogram box.
Robot's head is a sphere.
Robot's height is 60.

Your robot must have two arms and two legs that are made of cylinders. each arm is made of the upper arm and lower arm (forearm). The upper arms should be pivoting around the shoulder. The lower arm should be pivoting around the upper arm. The legs should be pivoting (rotating) around the hips as the robot walks. The body parts of the robot should have different colors.

You should use appropriate lighting models for the robot by using Ka , Kd, and Ks coefficients. The value of the coefficients should initially be set to 0.5.

Hitting characters "a" and "A" should decrease/increase Ka coefficient.
Hitting characters "d" and "D" should decrease/increase Kd coefficient.
Hitting characters "s" and "S" should decrease/increase Ks coefficient.

Robot's Legs and arms must be rotating in opposite directions while the robot is walking i.e. robot should walk not jump.

Your robot should walk around a center pole which is made of a cylinder. The distance of the robot to the flag pole should be 100. The diameter of the pole should be 4 and the height of the pole should be 120.

There should be a white point light at the distance of 200 from the pole and the height of the light should be 120.

The viewer eye should be at the distance of 150 from the pole at the height of 150 looking at the base of the pole.

Hitting the "Up-arrow" and "down-arrow" should move the viewer eye up or down 5 units.

Hitting the "left-arrow" and "right-arrow" should rotate the camera clock-wise or counter-clockwise around the pole by 5 degrees..

The projection should be set to perspective.

There should be a flag on the top of the pole. Use a bi-cubic Bezier surface to generate the flag. This flag should be waiving. The waiving effect is done by fixing two corners of the surface patch to the pole and allowing the points and vectors on the other two points (the ones which are not attached to the pole) to change. The size of the flag should be 30 by 30.

Hitting the "f" and "F" causes the robot to move slower/faster in 10 incremental steps from zero to maximum speed (limited by CPU).

Flag should stop or start waiving by hitting character "w"

Reference no: EM131309589

Questions Cloud

Which do you see more prevalent in your organization : Tell me about a time that you experienced burnout. What kinds of feeling did you experience?What were the circumstances in your worklife at the time that you experienced this burnout period? What do you feel could have been different about the si..
How these procedures help toyota deal with adverse selection : Toyota regularly takes its own cars in trade for new models. It then subjects them to a rigorous inspection process, fixing defects as it goes, and offers them for sale with an extended warranty. Explain how these procedures help Toyota deal with ..
Summarize the major points of the article : Explain the reason the article was chosen.Summarize the major points of the article.Identify the correlation of the article main points to the process of grant writing in the Human Services field.
Who has more valuable information in potential transaction : A few years ago, a new online insurer appeared. Found at www.ticketfree.org, the insurer offered, for a price, up to $500 of coverage against speeding tickets.
Write a program to render an animated humanoid walking robot : Write a program to render an animated humanoid walking robot. r robot must have two arms and two legs that are made of cylinders. each arm is made of the upper arm and lower arm (forearm).
How existence of deductible reduces problems of moral hazard : Often, insurers will let policyholders choose a low deductible, or will offer them a larger deductible in exchange for a substantial reduction in the premium. Explain how this two-tiered system helps insurers deal with the problem of adverse selec..
Summarize the integrated behavioral model : How the Integrated Behavioral Model or Transtheoretical model was applied. Discuss whether this application was effective or not.Summarize the key findings.Identify gaps and/or next steps for using the information.
How could blocking all icmp traffic protect you : How could blocking all ICMP traffic protect you? Could you still access some websites with your Port 80 rule enabled? Why? Why would you want to allow incoming (not outgoing) Port 443, but block incoming Port 80?
List at least ten ways you personally are filtering : Looking at the same news story you explored above, list at least ten ways you personally are filtering the information you receive.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd