10 Commits

Author SHA1 Message Date
Massimiliano Corsini maxcorsini
80616fc05d code restyling 2007-12-03 10:29:37 +00:00
Massimiliano Corsini maxcorsini
6477adeb60 restyling code 2007-12-03 10:14:59 +00:00
Paolo Cignoni cignoni
9eb3e69227 added missing cast for mac gcc 2007-10-25 15:20:35 +00:00
Paolo Cignoni cignoni
09c1248de7 resolved minor compile issue 2007-10-24 19:17:34 +00:00
Paolo Cignoni cignoni
ac62b625c2 Multipass rendering has been implemented.
Every rendering pass draw on a dedicated GL_COLOR_ATTACHMENTi_EXT (render to texture).
The result of each pass can be used as input by other passes in the form of sampler2D
uniform variables.
2007-10-24 17:09:24 +00:00
Paolo Cignoni cignoni
2009ca83b7 Initial implementation of multipass rendering.
Please note that MeshRenderInterface has been modified to get the number of rendering passes.
2007-10-09 13:02:09 +00:00
Paolo Cignoni cignoni
65208e739b Fix around multiple application of single pass rfx shaders. 2007-09-27 16:28:43 +00:00
Paolo Cignoni cignoni
193082ab9d fixed compilation issue under unix oses 2007-09-27 13:04:26 +00:00
Paolo Cignoni cignoni
1c4fbf27c6 bug fix 2007-09-22 16:37:08 +00:00
Paolo Cignoni cignoni
dfaa8beb7b Initial commit of the Render Monkey Shaders render plugin. At the moment the plugin is able to parse and load any "rfx" (render monkey save file) file that is present under the directory "src/meshlab/shadersrm/" at startup time. The files which are correctly parsed will be displayed under the menu "Render" -> "Shaders". For each shader found in this directory a window dialog is popuped to ask the user some setting: you can select any effect declared in the file, and for each effect you can custom the uniform variables and the textures of each pass. For each pass the vertex program and the fragment program are correcty loaded in memory and the uniform variable (at startup and when modified) are correctly updated in memory (at their right location) as well as the declared textures. The multi pass rendering is still missing, and at the moment the plugin wont interfere the render routine at all. 2007-09-12 15:38:01 +00:00