New script: UV texture scrolling

I remade my UV scrolling script that i showed on the post of al_capone, and it now works with any tipe of mesh (not only planes). In the .blend you can see the instructions and some examples(and the script of course).
http://usuarios.lycos.es/proyectok/Blender/pepius/uvscrollpack2.zip

awsome ! thanx alot, this will come in very handy in the future.

Thank you!

Really handy, I don’t know what I’ll do with it at the moment, but I defently know it will be usefull in the future. Like waterfalls, rivers, sky, lava and much more. :smiley:

1 word: Awesome. I can’t wait to use this! :smiley:

:-? Darn for some reason I can’t download from the link. Pepius can you provide another link?

[EDIT]
Hehe, forgot my spanish. It’s been 4 years since I last took the class. Well, I finally figured it out by using the URL and navigating to the correct place to get it. Woohoo, great script. Thanks Pepius.

Jason Lin

Great, Pepius! Thanks!

Cool, I you can use this to make all types of special effects!!
Thanks Pepius! :smiley:

Pepius. Where did you find the docs on "Mesh.GetVertex(a,b) I have been looking in the api docs for that for months but have not seen it. It seems to be and undocumented function( along with a few others).

Very cool peopius :stuck_out_tongue:

I have tryed to find that to, but never founbd it, where did you find it pepius

Yeah, it’s an undocumented function. I found it by using print dir() a lot of times. I also saw some blends.

http://www.theappleman.pwp.blueyonder.co.uk/waterfall_uvscroll.blend

TheAppleMan hosted it (Thank you very much!!!)

It’s a waterfall and a river. Use 1, 2 and 3 to change cameras.

Wow, that demo is very nice Pepius!

Ok what are the (a,b) in Mesh.GetVertex(a,b) and what type does it return. The problem about doing a print(dir) is that it does not give you this type of information.

cool i have been hoping someone would do this! yow! thanks man!

How do you use print(dir)?

Thanx for all replies! :smiley:

Ok what are the (a,b) in Mesh.GetVertex(a,b) and what type does it return. The problem about doing a print(dir) is that it does not give you this type of information

a,b are the vertex you want to get, to get all the vertex use:


array = mesh.getVertexArrayLength(0)
mesh.getVertex(0,array)

How do you use print(dir)?

For example:


import GameLogic
print dir(GameLogic)

Then check the console

Thats cool :slight_smile:

Very cool. Now all I have to do is figure out how to use theGimp(windows version) with alpha channels and tiled and scrolling tiled sections to create that force field effect I want in a game.

Nice script Pepius :slight_smile:

I was going to use it to make the conveyor belts move in my mini-game, but there’s no way to fix the speed for every computer :frowning: It goes fast on fast computers, and slow on slow computers.

I wish the engine had a universal timing rate for all computers…