View Single Post
Old 06-17-11, 06:10 AM   #1
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
[REL] AnimatedTexture. A small addition to S3D.


For breaking of the monotony of your life... one of my old stuff, designed for use in S3D.
Simple AnimatedTexture controller.
Only 4 texture vertices are processed.
Main rule - the first tile (UV map) must be in Top-Left corner of the texture.
Example:



Installing:
Unrar SH3_movietex.rar and then move "movietex" folder into
X:\Program Files\Silent 3ditor\Controllers\_SH3\ folder.
Before run S3D you can delete Controllers.dll and Controllers.dll.cache from user's ..\skwas\S3D_Asm\...\S3D\ folder.
Before using read descriptions for controller and parameters in S3D... using is very simple.
This controller must be attached to Type 4/100 object.
Link:
http://www.mediafire.com/file/9pplqa...3_movietex.rar
///////////////////////////////////////////////////////////////////////////////////////////////////////////
Updated - 18.07.2011
******************
The small minor addition for this controller - TexUnit property.
And now you have full version of AnimatedTexture controller.
Link: http://www.mediafire.com/file/umt820...movietex_2.rar

With this addition, you can animate selectively or basic texture or additional texture (in Type 13 material - as AO/LightMap, Specular and so on).
So as TexUnit property is used in other controllers also, I have identified this enumerated type into a separate file TexUnits.cs (same story with ShiftTexture controller in http://www.subsim.com/radioroom/showthread.php?t=184791).
Installation:
Unpack the archive SH3_movietex_2.rar. Move folder movietex into X:\Program Files\Silent 3ditor\Controllers\_SH3\ folder and overwrite the existing folder and files.
************************************************** ******
Note:
Some people are confused by the phrase "Only 4 texture vertices are processed."... should reassure you - that controller works with objects having more than 4 geometric and texture's vertices.
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 12-25-12 at 03:47 PM.
Anvart is offline   Reply With Quote