Inverted spherical reflection map

Blitz3D Forums/Blitz3D Beginners Area/Inverted spherical reflection map

ingenium(Posted 2006) [#1]
What is a spherical reflection map and how can i make?


jfk EO-11110(Posted 2006) [#2]
search for a mesh named "teapot.x" in the samples folders, there is an example using spherical reflection.


Steven Noyce(Posted 2006) [#3]
Yeah, that is a good example. Definately look at it. Basically, all a spherical reflection map is is a texture that is loaded with the 64 flag. It is a fake reflection. They can be very usefull when making things look reflective without having to be perfectly accurate. Use cubemaps (flag 128) if you need accuracy. You said "how can I make?". All you have to do is draw one in a paint program, save it, and use "MyTexture=LoadTexture("MyTexture.bmp",64)". Then assign that texture to a mesh and you should have a reflective looking object. If you don't want to draw one, you could use RenderWorld and CopyRect, but that is a whole different issue.

I am kind of new to blitz, so hopefully I was of some help. If you are still confused, ask or look in the docs under LoadTexture. Good luck!