Essay Analysis

 

 

Problem Statement:
Use WebGL to model desktop window manager (Texture Mapping)
In a modern operating system, the desktop window manager is indeed a 3D graphics application. In such an operation system, each top-level window is a rectangle in the 3D space with its contents texture mapped from an image (usually dynamic). This project is to implement a simplified version of the desktop window manager. It requires modeling, texture mapping, and interaction.
1)
The desktop (to be implemented on the canvas) consists of a background/wallpaper, a task bar, and two kinds of application windows, Web Browsers (any kind) and Calculators (any kind). The task bar is always at the front, and the background is always at the back. The order of application windows (web browsers and calculator) is determined by their Z orders.
2)
The task bar shows multiple icons, two of which are Web Browser and Calculator. Clicking the Web Browser icon starts a web browser. Clicking the Calculator icon brings up a calculator. A user can start multiple instances of Web Browsers and multiple instances of Calculators.
3)
Each application window is a texture mapped 3D rectangle. On an application window, there is a designated strip called the title bar at the top, and there is an X icon on the title bar. A user can close the window by clicking the X icon and bring the window to the front by clicking the non-X area on the title bar. A user can also move the window by dragging the title bar. Below the title bar is the client area of an application. The client area has to be texture mapped by the application content. For simplicity, the client area does not need to be dynamic. An application window does not need to be resized.
Submission Requirements:
1) Create a directory called project5 under your CS home directory. Move into that directory and create two files: texmap.html and texmap.js to complete this project.

2) Make sure the project5 directory contain the two files: texmap.html and texmap.js. (Here we assume the Common directory and the project4 directory are located under the same CS directory, but you do not need to submit the Common directory.) Note1: I will share common directory separately and you have to use and include below common directory files into spotlight.html file to generate expected output. Please refer below screenshot:

Note2: texmap.html file should contain vertex-shader & fragment-shader to define vertices & color of vertices.
Below is just a sample of html file:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html;charset=utf-8″ >
<title>Koch Snowflake</title>
<body style=”background-color:grey;”></body>

<script id=”vertex-shader” type=”x-shader/x-vertex”>
attribute vec4 vPosition;

void
main()
{
gl_PointSize = 1.0;
gl_Position = vPosition;
}
</script>

<script id=”fragment-shader” type=”x-shader/x-fragment”>
precision mediump float;

void
main()
{
gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );
}
</script>

<canvas id=”d” width=”500″ height=”500″></canvas>

<script type=”text/javascript” src=”../Common/webgl-utils.js”></script>
<script type=”text/javascript” src=”../Common/initShaders.js”></script>
<script type=”text/javascript” src=”../Common/MV.js”></script>
<script type=”text/javascript” src=”../project5/ texmap.js”></script>
</head>
</html>

Note:-

Compress the project5 directory into project5.zip and submit the compressed file to me and add
other necessary comments in texmap.js. whenever a part of the code is not obvious.

 

 

Sample Solution

ily be tracked by monitoring the global sea level heights together with the seafloor morphology and glacial ice mensuration. This is due to the fact that sooner or later the glacial meltwater will end up in the oceans and due to the sped-up melting treated in 3.3 and 3.4, the rate will increase drastically in the future. It is also useful to create models of inundation, coastal erosion and potential storm damage in order to thwart these catastrophes since they are a predictable consequence of sea-level rise (National Research Council 2010, Chuvieco 2008). 3.6 Accumulating natural disasters The last point is the accumulation of extreme events. The USA experiences more and more record high temperatures every year, congruously the record low temperatures occur fewer than ever. However extreme events also include heat waves, droughts, floods, cyclones, and wildfires. Changes in the earth’s system diversity also follow as a response to weather and climate extremes. Species that prove unable to adapt to the new circumstances will ultimately disappear or have to surrender to more successfully adapted species. An increased number of strong blusters with mounting intensity is also an indicator for these extreme events, just like frequent insect infestations. Insects are the profiteers of global changes in wind patterns and/or sea level rise, as they can be transported great distances into regions usually not inhabited by them (Dukes 2009). Global changes can also cause epidemic diseases dangerous for humans, as wind and sea can transport disease vectors communicated by insects. Diseases are especially dangerous; As a side effect they result in the attenuation of a population’s resilience and ability to counteract or even respond to climate as well as other stressors. The consequences of such extremes range from the disruption of food production and water supply to increased rates of morbidity and mortality and consequences for the physical and psychological health of human beings (IPCC 2014). There are quite a few ways to survey climatic extremes, as these can be very diverse. In order to monitor severe storms, it is possible to track the annual storm number together with maximum wind speed, geographic storm tracks, precipitation and flash floods. With regard to insect infestations and whether they were dislocated, taking the number of insect infestations, the insect type, the land cover of the infestations, the crop impacts and the historic recurrence into account is helpful. Human diseases can be evaluated by the number and type of epidemics and the impacts they had concerning the fatalities or in general the number hospitalised, the historic recurrence and the geographically affected

This question has been answered.

Get Answer
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
👋 Hi, Welcome to Compliant Papers.