Write some Software

Question 1

You are required to make the village created in the previous project (assignment 1) more

realistic by adding lighting and material properties.

Firstly, in order for your lighting to work, you need to add vertex normals, for each component in

your farm. You should also define material properties for each component rather than the

simple colour used in the previous project. You are required to create two different scenes. The

first is a day scene in which you define the sun as a directional light whose colour is white in all

its components and that has constant attenuation.

The second is a night scene for which you have to add three “fire” lights in open spaces. Define

each “fire” light as a positional light whose colour is on the red side of pure yellow, and not as

bright as the sun. Experiment with both linear and quadratic attenuation to see which makes the

more effective scene. The night scene should also include a moon and some stars. Do not use

lights for any of these. Manipulate the emissivity of the respective materials to obtain the

desired lighting effect. Your program should retain all the functionality of the previous project,

i.e. toggling rotation, zooming in or out, changing the viewing angle, and terminating the

program. Add a keyboard callback that will allow the user to switch between scenes. Use <D>

to switch to day and <N> to switch to night. This should work whether "Caps Lock" is enabled or


Question 2

You are required to apply texture mapping to the village components.

This part of the project covers the concept of texture mapping. In particular, we are looking at

2D texture mapping, which is the most commonly used type of texturing. Texture mapping may

be applied in one of two ways using a digital image or using a procedural texture-generating

function. This question explores the first option. Your task is to add texture mapping to two of

the three components of your farm or village. The barn or house should have a unique

combination of at least two textures: one for the walls and one for the roof. You need to find

your own images or create them yourself.

Compétences : Programmation C++, OpenGL

en voir plus : yellow software, vertex programming software, more than one vertex, linear programming software, linear programming project, lighting component, define linear programming, concept of programming, applied materials, software write book images, software emulator keyboard input, software write books, software write protection, free software write book, software write book, simulation input software mouse keyboard, software write protect software, software write technical manual

Concernant l'employeur :
( 0 commentaires ) Johannesburg, South Africa

Nº du projet : #8523909

2 freelance font une offre moyenne de R218 pour ce travail


Hi,sir. I was interested when I saw your project. I can complete your project nicely. My skills are C, C++, Reversing, Matlab & Mathematics, Web scraping,Algorithm. I can help you very kindly. I can help you good Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(5 Commentaires)

Hello dear friend i am OpenGl programmer and i can do this job very efficiently i have vast industry experience and i am doing job in software company since 2012

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% ZAR en 4 jours
(1 Évaluation)

thank you for your posting. your task is very happy for me. i have much experiences in OpenGL field. if you hire me, i will complete project ASAP. best regards.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(0 Commentaires)