Bmp Magnify sphere effect
Blitz3D Forums/Blitz3D Programming/Bmp Magnify sphere effect| 
 | ||
| Hi im looking for some blitz3d code for a bmp magnify sphere affect which moves around the screen and bounces of the sides. like some of the screensaver effects you get. | 
| 
 | ||
| its call refraction... try cubemap mode 3... is that what u want? | 
| 
 | ||
| would you have some code ?? | 
| 
 | ||
| I don't know how inefficent this would be but could you do this: Create a flat mesh in a grid arrangement, texture it with the screen shot, then move the vertices in such a way that where the magnify effect is they are expanded out radially. | 
| 
 | ||
| u can get the sample code from within the Blitz3D example folder for cubemap.. | 
| 
 | ||
| Or, as matty describes, except, move the UV co-ords :o) | 
| 
 | ||
| anycode for this guys , or exact location | 
| 
 | ||
| I think there is an example in the code archives for something like this - I remember seeing it. | 
| 
 | ||
| Might be this one - I can't run it from here, but take a look just in case: http://www.blitzbasic.com/codearcs/codearcs.php?code=578 |