Creating a 3D plane to situate a 3D scene.

 

Create a 3D plane to situate a 3D scene. This will serve as the base for the rest of the objects in your world. Depending on your 2D image this plane may be used to represent a desk, the ground, a table, or something else entirely. It will be important to work on this first so you will understand the scope of the world your camera will be traversing. A plane is also a relatively simple shape so it will be a good place to start when managing the placement of different objects in your scene. Remember, you will need to take into account where the plane is located in relation to the 3D object you developed during a previous milestone (which used multiple 3D shapes).
Apply horizontal, vertical, and depth camera navigation around a 3D scene. It is recommended that you use the following keyboard controls to manipulate the basic camera movement:
WASD keys: These keys should be used to control the forward, backward, left, and right motion.
QE keys: These keys should be used to control the upward and downward movement.
Apply nuanced camera controls to a 3D scene. It is recommended that you use the following mouse controls to allow a user more specific input options for how they view the 3D scene:
Mouse cursor: This should be used to change the orientation of the camera so it can look up and down or right and left.
Mouse scroll: This should be used to adjust the speed of the movement, or the speed the camera travels around the scene.
Create perspective and orthographic displays of a 3D scene. Use the tap of a keyboard key to allow a user to change the view of the scene between orthographic (2D) and perspective (3D) views at will. (Hint: check the glViewport and the glOrtho functions.) For consistency, please use the letter “P” keyboard key. To accomplish this work, you will be switching the function call to retrieve either the perspective or orthographic projection matrix. Note that you will be keeping the camera in the same orientation that you already developed.
Create code that follows a logical flow without syntax errors. The code you create has to be executable and all the code that is included needs to be reached by the execution. Note that not everything should be written in a single function and your work should be well-modularized.
Apply coding best practices in your creations. Pay particular attention to the way you format and comment your code. Program code should be easy to read and follow industry standard code formatting practices, such as indentation and spacing. Commenting best practices should be in place to ensure the source code is briefly and clearly explained using descriptive comments.

Sample Solution

urthermore, although the high-income OECD countries account for 40% of global carbon dioxide emissions in 2006, China and other developing countries are responsible for an increasing share of the world’s total emissions. Also, China has an ever-rising per capita CO2 emission. This per capital carbon dioxide emission was 3.2 metric tonnes in 2003, compared to 19.9 metric tonnes in the USA, 10.3 metric tonnes in the Russian Federation and 1.2 metric tonnes in India. The World Bank estimated that China’s per capita emissions grew by 6.5% annually between 1970 and 2011 to 6.7 metric tonnes per capita. Moreover, as of 2013, China’s total CO2 emissions were estimated at 10,249.5 million metric tonnes (The World Bank), making it the largest polluting country in the world. However, in China there are also many other environmental problems aside from carbon emissions that are significant. For example, the OECD estimates that up to 300m people are drinking contaminated water on a daily basis, also, there have been a loss of natural grasslands and forests due to the expansion of industry and agriculture, a loss of topsoil, vegetation, lakes (15% since the 1950’s) and wetlands (26% since the 1950’s), shortages of water due to drought and insufficient irrigation systems and inadequate disposal of household and industrial waste (20% of solid waste/year is being properly disposed of). In order to battle these environmental problems, the Chinese government has set targets for reducing pollution levels by committing US$6.6b in 2015 in new spending, including the complete shutdown of coal fired power stations. China also signed the UNFCCC’s Paris Agreement in 2015 and agreed to peak its CO2 emissions in 2030 and launch a national cap and trade emissions programme in 2017.

The Australian government on the other hand, has a range of environmental policies to minimise the impact of government operations on the environment. There are also agency measures and targets for carbon emissions, energy, waste and resource use, as well as set mandatory environmental standards for incorporating sustainability into government procurements. However, like China, they seem to be needing some rethinking or modification. Australia’s emissions from fossil fuels and industry continue to rise, and based on the most recent quarterly inventory, are now 6% above 2005 levels and increasing at around 1% since 2014. Under current policies and taking into account the previous increase in levels of carbon emissions, Australia is headed for an increase of 9% above 2005 levels by 2030, rather than the 15-17% decrease required to meet the Paris Agreement target. Furthermore, as seen in the stimulus, the Australian Government has set a target to ‘reduce emissions by 26-28% below its 2005 levels by 2030 through a credible policy suite that is already reducing emissions, encouraging technological innovation and expanding our clean energy sector.’ Thus, to conclude, Australia ratified the Paris Agreement on 6 November 2016. Its Nationally Determined Contribution (NDC), includes a target of reducing GHG emissions, including land use, land use change and forestry (LULU

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.