Mantis - Croquet
Viewing Issue Advanced Details
997 Jasmine minor always 03-17-05 16:09 03-17-05 18:13
grit  
 
normal  
new  
open  
none    
none  
0000997: Updating the frustrum of the camera in TeapotMorph
If you render an overlay in the TeapotMorph before rendering the current space and the overlay has other bounds than the TeapotMorph, the frustrum is not initialized again in #TeapotMorph>>renderOverlay:.
I noticed that when I added an overlay within my TeapotMorph. I render it before rendering the current space, because I display a tweak interface, that shall be above the overlay. Then the tweak interface is displayed distorted and just within the overlay bounds.

The solution is to send the camera initFrustrum: in #TeapotMorph>>renderOverlay: or in #OpenGL>>beginMorphicOverlay:.

Notes
(0001284)
grit   
03-17-05 18:13   
frustum - without 'r' hehe
I guess you know what I meant
:#)