Anaglyph
Moderator: Moderators
Anaglyph
Simple double pass rendering example. Use arrow keys to navigate. The trick is to calculate the translation Matrix for the "eyes" and offset the OnRender components for both passes. Should have thought about this when that Gamma3D event was still upcoming
A FBO / RenderFBO and SetRenderTarget ( that you can set to a FBO or Default ) component would still be valueable though
K
- Attachments
-
- Anaglyph.zip
- (40.92 KiB) Downloaded 531 times
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
Hi jph,
There currently is no way to change the build-in camera properties halfway a render pass as far as I know ( the values are only read once at the beginning of OnRender ). In this particular example the App.Camera properties are always zero, but you could add multiple passes to each individual Model as well ( although I did experience problems with RenderSetColor in a Repeated Condition when taking that route ).
K
There currently is no way to change the build-in camera properties halfway a render pass as far as I know ( the values are only read once at the beginning of OnRender ). In this particular example the App.Camera properties are always zero, but you could add multiple passes to each individual Model as well ( although I did experience problems with RenderSetColor in a Repeated Condition when taking that route ).
K