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 program that is capable of generating a set words

You will write a Python program that is capable of generating a likely set of completion words given the start of a word as input to the program.

  Write a python program

Write a Python program

  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.

  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.

  Integration of mnch commodities supply chain management

Objective of the study is to examine the outcome of integration of logistic and supply chain management of MNCH commodities on service delivery, specific objectives have been set to achieve the aim of the study.

  Overall architecture diagram of the external facing system

Design a Service Oriented Architecture-based solution for a given domain. You must show a good understanding of Service Oriented principles. In addition you must show knowledge and understanding of specific SOA techniques, practices and approaches..

  Development on windows and linux systems

develop a simple, data-intensive application in Python - Data Analysis of a Document Tracker

  Console program where you will implement

Create a console program where you will implement coding constructs and variables that are needed for this program and will implement the code within Main and any required static methods.

  Write a program that uses a bar

Write a program that uses a bar chart to display the percent-ages of the overall grade represented by the project, quizzes the midterm exam and the final exam

  Two-dimensional word puzzle

Write a python function called find_words that finds and prints the list of valid words in a two-dimensional word puzzle

  Student record due smartsite thursday 1211 1155 pm file

due smartsite thursday 1211 1155 p.m. file names grading.py ltbrgtall prompts for input and all output must match my

  Most popular name would be the one with the biggest number

the program will ask you to insert the year that the user is interested in, then ask the gender that the user is interested in, and print out the most popular names corresponding to the year and gender. FYI, the number on the right represents how man..

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