Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions Assignment 3 : Simple 3 D design application You are asked to create a simple 3 D design application in WebGL that allows the
Instructions
Assignment : Simple D design application
You are asked to create a simple D design application in WebGL that allows
the user to put a D wireframe object on the canvas. Your application should
have an interface similar to the following:
The object's shape can be a cylinder, a cone, or a sphere. Cylinder and cone
have parameters, radius and height. Sphere has one parameter, radius.
Parameters shown depend on the selection of the shape. You can use HTML
fieldset to group parameter slides and JavaScript code to change its display
property to make it appeardisappear
Your program should contain JS codes to draw cylinder, cone, and sphere.
There are many ways to draw them. The most common way is to draw a shape
as a set of triangles as shown in the figure
The object's location, orientation, and the camera's view in the canvas can be
adjusted using the controls shown in the left pane.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started