Python environmentmapping demo (sort of)


(eeshlo) #1

I never posted here, but I quite like the game engine myself. Some time ago I helped Doc Holiday with some python things, and I created an environmentmapping demo for him. It occured to me that somebody else might find this sort of interesting too, so you can get it here:

http://mysite.iptic.com/eeshlo/envmap_demo.html

It uses the plugin but I don’t know if I did it correctly, it seems ok on my system. If it doesn’t work, you can still download the blendfile in any case.
It is not REAL environment mapping btw, but NORMAL mapping.
Thanks to Saluk for figuring out how getVertexArrayLength really works, his animtex code probably is a better example if you want to know more about that. I didn’t use the exact same method here, as it slightly slowed it down, of course even one frame per second extra is always better…


(Doc Holiday) #2

… i say it again!
:smiley: Sensationally! :smiley:
Jeah! I love that!

Doc


(VelikM) #3

Works well on my PB OS X. Only 11 frames/sec. but that is awesome.


(S_W) #4

Cooool! :stuck_out_tongue:
It works perfectly and it’s very easy to use!


(saluk) #5

Be UTI full! Some very nice math there, I could never get my head around that crazy stuff. It looks very nice, and is very impressive, etc, etc, YOU ARE THE MAN! Nice to see you post in here every once in a while,

cheers
Saluk


(Ben) #6

-Very cool! And the coolest thing is that the “Blender Beautiful Minds” doesn’t ignore the Game Engine anymore.


(gargola) #7

great! :smiley: