Sto lavorando sul mio motore grafico/generatore della natura per video giochi usando il Virtools Dev.
Il sistema e ancora nella prima fase del sviluppo.
Per adesso ho finito di programare il motore della Global Illumination e un sistema di generazione della illuminazione a base di hemisfera - con la possibilita di generare al volo alcuni efetti atmosferici e cambiamenti tra notte e il giorno.
Oggi mi sono messo a sistemare parti del codice responsabile per la creazione della erba e della ottimizazione (per adesso tutto gira tranquilamente a 120 fps - che e al mio parere un buon risultato). Ecco la immagine:

Al inizio ho optato per la soluzione usando gli HLSL shader par la erba, ma purtroppo, il risultato non era uno dei migliori (sembra che gli shader sono piu lenti nel calcolo delle trasparenze)- cosi ho finito usando fixed pipeline. Questo mi creera alcuni problemi nel prossimo passo (aplicazione del Illuminazione Globale) perche la illuminazione degli singoli ogetti viene gestita atraverso CubeMape, ma ho un paio di idee come risolverlo.
I'm working on my engine/generator of the nature for video games using the Virtools Dev.
The system is still in the first phase of the development.
In order I have ended of programming the engine of the Global Illumination and a system of lighting generation based on hemisphere - with the possibility to generate in the fligh some of atmospheric effects and dynamical changes between night and the day.
Today I have mannaged to arrange parts of the code that are responsible for the creation of the grass and optimisations neccessary for this task (for now, everything worrks pretty much fluid, I have a 120 fps - than in my opinion is a good result). Here's the image:
In the beginning I have opted for the solution using the HLSL shader for the grass, but unfortunately, the result was not one of the best ones (seems that the shader they are slower in the calculation of the transparencies) - so I have ended using fixed pipeline. This decission will create some problems in the next step (application of the Global Lighting system) because the lighting system comes managed by CubeMaps, but I have a pair of ideas in witch direction to go.