Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
54 user(s) are online (31 user(s) are browsing Forum)

Members: 0
Guests: 54

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +0€

Current balance: 55€
(last updated 04/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 51 users playing Freelancer on 48 servers.
August. 18, 2022

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Animated Textures

Joined:
2008/11/10 10:07
Group:
Registered Users
Posts: 45
Offline
Would anyone mind looking into animated textures more?

I am trying to get a 4 images x 4 images (one file) to be cycled through (left to right, top to bottom).

I came across the following but I was unable to do much other then alter the speed that it "animates" the texture, which looks rather odd and not near what I would like.
http://the-starport.net/freelancer/fo ... ost_id=3234#forumpost3234

-Thanks

Posted on: 2011/3/4 4:36
Top
Re: Animated Textures
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Not clear with this. You want a continuous animation or slideshow for something?

I have 2 kind of those things, first is slideshow, then the continuous animation(rolling):


If you want a continuous animation, just set the MADeltas to

1.000000 //period in sec
1.000000
1.000000
0.000000
0.000000

Here is detail.

in LS's example, he use
Code:
1.000000
1.000000
1.000000
1.000000
0.000000
1.000000
1.000000
1.000000
1.000000
0.000000

because there are 2 key node for the animation i guess.

Posted on: 2011/3/5 10:19
Sorry for my poor english...
Top
Re: Animated Textures

Joined:
2008/11/10 10:07
Group:
Registered Users
Posts: 45
Offline
Slideshow is I what I am looking for I believe, would you mind posting the texture that is being used for the red sign in the first part of the video?

Posted on: 2011/3/5 10:53
Top
Re: Animated Textures
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Quote:

Quote:

NeXoSE wrote:

Antares wrote:
Slideshow is I what I am looking for I believe, would you mind posting the texture that is being used for the red sign in the first part of the video?


Well, sorry i can't give you the fish, because that's is secret related stuff. But i can tell you how to hunting the fish.

Slideshow will be the other story. You can found one in RH01 base's city scene.

First you need at least two MAKeys nodes, in your case, you need 4 nodes to get your texture work, say:

Code:

(No test yet)
MAKeys
-0.250000 //Node1, X, move texture on X axis. 
-0.250000 //Y, move texture on Y axis.
0.000000 //X restrain, squeeze texture on X axis.
0.000000 //Y restrain, squeeze texture on Y axis.
// How to move your texture is depend on the way you used to mapping the texture. I suppose you using the default way (Horizontal center, vertical center). so i move to -25%, -25%, that will be the center of first image block.
-0.250000 // Node 2
0.250000
0.000000
0.000000
0.250000 // Node 3
-0.250000
0.000000
0.000000
0.250000 // Node 4
0.250000
0.000000
0.000000


and you need MADeltas

Code:

MADeltas
0.000000 // Set 0 so don't display this
0.000000
0.000000
0.000000
0.000000
10.000000 // Display first node for 10 secs
0.000000
0.000000
0.000000
0.000000
10.000000 // Display node 2
0.000000
0.000000
0.000000
0.000000
10.000000 // Display node 3
0.000000
0.000000
0.000000
0.000000
10.000000 // Display node 4
0.000000
0.000000
0.000000
0.000000


Now we have 5 nodes on MADeltas, so change MACount to
Code:

5
0


Done.

Hope this helps

Posted on: 2011/3/5 13:34
Sorry for my poor english...
Top
Re: Animated Textures

Joined:
2008/11/10 10:07
Group:
Registered Users
Posts: 45
Offline
So I got it working everywhere but in space which would be nice. Any idea for that issue?

Posted on: 2011/3/7 0:30
Top
Re: Animated Textures
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1847
Offline
How do you mean, everywhere?

Posted on: 2011/3/7 2:36
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Top
Re: Animated Textures
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Quote:

Antares wrote:
So I got it working everywhere but in space which would be nice. Any idea for that issue?


If it working in base room (i guess that is your mean), It's actually should working anywhere in your Freelancer world.

Posted on: 2011/3/7 4:06
Sorry for my poor english...
Top
Re: Animated Textures

Joined:
2008/11/10 10:07
Group:
Registered Users
Posts: 45
Offline
It's working for the animation when the ship flies down/up to/from the docking area, at the dock area, and at the ship dealer.

Posted on: 2011/3/7 5:08
Top
Anonymous
Re: Animated Textures
Anonymous-Anonymous
To make the slideshow, how does the picture has to look like? Or there should be different pictures?

Posted on: 2011/3/7 7:45
Top
Re: Animated Textures
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Quote:

TheDvDMan wrote:
To make the slideshow, how does the picture has to look like? Or there should be different pictures?


Like this:

Attach file:



jpg  未标题-1.jpg (12.10 KB)
913_4d74b9e6784ac.jpg 256X256 px

Posted on: 2011/3/7 10:57
Sorry for my poor english...
Top
Re: Animated Textures
Just can't stay away
Joined:
2009/12/28 11:49
From England
Group:
Registered Users
Posts: 220
Offline
I have an interest in animated textures, is it possible to add rotation to a texture

im thinking of ways to make proppellers look like they are spinning, the actual model animation just sounds way too complicated besides I wouldnt be able to make the propeller spin as fast as i want it, with the blur effect and stuff.


Posted on: 2012/2/5 22:11
Top
Re: Animated Textures
Just can't stay away
Joined:
2008/6/25 18:56
From Temecula, California
Group:
Registered Users
Senior Members
Posts: 284
Offline
Not that I've ever found. But it should be possible to simulate it using a flip-book style (same as the thread on animated signs, using frame anims, instead of slide). I'd user a tile count of 16 for that to approach looking fluid, but the texture would probably look best at 1024x1024 or above. Each frame should show the rotation progressing, and you can add in whatever blur effect you like =)
You could conceivably use both mesh and material together, having a single face centered on the propeller (with the mat anim on it) along with the regular rotating prop at a slower speed. It would look more authentic, and have thickness then.
Good luck.

Posted on: 2012/2/6 8:32
Be always firm in belief, yet never rigid
Top