rodrigograca31 / omegalib

Automatically exported from code.google.com/p/omegalib
0 stars 0 forks source link

Near / Far clip plane set #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Allow user code to set near and far clipping planes dynamically from 
application.

Switching has to happen from within the draw code.

For equalizer, use:
http://www.equalizergraphics.com/documents/design/dynamicNearFar.html

Derive Channel from a new interface IChannel that exposes the method
add pointer to IChannel to DrawContext, so user code can do

RenderPass::draw(const DrawContext& context)
{
   context.channel->setNearFar(...);
}

GLUT: skip implementation from now.

Original issue reported on code.google.com by feb...@gmail.com on 28 Sep 2012 at 12:31

GoogleCodeExporter commented 8 years ago

Original comment by feb...@gmail.com on 28 Sep 2012 at 12:32

GoogleCodeExporter commented 8 years ago
Done in revision 2275

Original comment by feb...@gmail.com on 25 Oct 2012 at 11:46