Hoe werkt een 3D Engine | Gamer.nl

Na eerdere trailers deze week is er een derde trailer van No Man's Sky uitgebracht.

VoodooExtreme heeft al een aantal delen geschreven over hoe een 3Dengine werkt. Allemaal technisch geleuter, maar leuk om te weten.Gouraud Shading:By far the most common form of shading. Gouraud shading uses good old interpolation to calculate the intensity of every pixel in a polygon given the intensities at the vertices. The algorithm is almost like the linear texture mapping algorithm but instead of looking up a pixel color, we a ign the calculated intensity as the color. So e entially, we are interpolating threevalues acro the polygon scanlines and down the polygon edges, screen x,y coordinates to find the current pixel, and an intensity value to find the intensity (color, or modification to the current color) at the x,y screen coordinate (pixel location).Here's the mandatory image:

Is het tijd om je eigen engine te bouwen ?, bij VoodooExtreme hebben ze naast deel 7, ook nog 6 andere delen...
Artikel als favoriet toevoegen
Deel dit artikel

Aanbevolen voor jou