dimensionX
03-03-2005, 10:01 AM
1) Is it possible to create an OpenGL window bigger than the size of the monitor resolution ? If so how and using what ?
2) Using Cg / GLSL how can I write to multiple color buffers from inside the fragment shader in one pass ? In a single pass inside the fragment shader I will be processing a fragments color in 4 different ways. So essentially I will be getting four different color values. Now I want to write each color value to its corresponding color buffer. What extensions will I need for this ? I can think of MRT extensions like ATI_draw_buffer. It would be good if I could use more than 4 rendering targets.
3) To make it more interesting, I would also like to make the above rendering targets (multiple color buffers) to be render-to-texture targets. So instead of rendering to multiple color buffers inside the frame buffer, I could render to multiple targets but now the targets would be color textures. Also I want to use floating point textures/render targets.
Lot of crazy ideas but I really would appreciate some feedback on this. Thank you!
I am using NVIDIA QuadroFX 3000.
2) Using Cg / GLSL how can I write to multiple color buffers from inside the fragment shader in one pass ? In a single pass inside the fragment shader I will be processing a fragments color in 4 different ways. So essentially I will be getting four different color values. Now I want to write each color value to its corresponding color buffer. What extensions will I need for this ? I can think of MRT extensions like ATI_draw_buffer. It would be good if I could use more than 4 rendering targets.
3) To make it more interesting, I would also like to make the above rendering targets (multiple color buffers) to be render-to-texture targets. So instead of rendering to multiple color buffers inside the frame buffer, I could render to multiple targets but now the targets would be color textures. Also I want to use floating point textures/render targets.
Lot of crazy ideas but I really would appreciate some feedback on this. Thank you!
I am using NVIDIA QuadroFX 3000.