Question about ViewPort
Blitz3D Forums/Blitz3D Beginners Area/Question about ViewPort
| ||
Hello, When using viewport in 3d I find that the 'scene' is squashed into the viewport rectangle rather than clipping the edges. Anyway to just clip the edges? Thanks Marg |
| ||
Draw an image that is set to not be masked at black cutting around your thing you wanna cut off? Or use Rect to do the same thing? |
| ||
Use a quad with entityblend mode 2 with a texture that is white in the regions you want it to be visible and black elsewhere. Position the quad as you would a hud element in front of the camera with entity order set so that it is drawn last over everything else. |
| ||
Not exactly what you are after, but Fredborg posted some code to compensate for the viewport aspect ratio here http://www.blitzbasic.co.nz/Community/posts.php?topic=33460 |
| ||
Thanks guys, Compensating with camerazoom works perfectly. Thanks Marg |