Hello,
how can I convert a texture to .rat format ?
thanks,
bern
rat
3672 4 3- Bernard
- Member
- 523 posts
- Joined: July 2005
- Offline
- symek
- Member
- 1390 posts
- Joined: July 2005
- Offline
- keyframe
- Member
- 1529 posts
- Joined: July 2005
- Offline
- profcondor
- Member
- 33 posts
- Joined: Oct. 2006
- Offline
Hi, is it possible to convert a sequence of tiffs into a single .rat file? I have a sequence of smoke images that I want to play in a repeating fashion as they are shown on the sprites that are instanced to particles. When I sourced the tiff sequence into a vex layered surface shader and then sourced that shader into the sprites and put it on repeat it only shows the first image in the sequence while the particles are emmiting. I'm trying to get the smoke sequence to play on each sprite.
Any help would be much appreciated
Thanks,
srgb
Any help would be much appreciated
Thanks,
srgb
Quality Assurance
The Foundry Visionmongers Ltd.
The Foundry Visionmongers Ltd.
- symek
- Member
- 1390 posts
- Joined: July 2005
- Offline
As you can convert multi tiffs into 3d texture there is no need to do this in case you describe. Just vary you texture name in sprite shader based on $F (frame number) variable. there are plenty of examples on this.
In texture map field in shader ui: “./mytexture.$F.rat”
or create point string variable storing texture name which will be used by sprite shader.
For example this expression (quick and dirty ): ops: ($F+floor(rand($PT)*$NPT))%20
will loop through 20 frames of textures on but every point/particle will start from different frame of seq.
Put it into: myTexure`expression_or_variable`.rat and you're done.
hope this help.
sy.
In texture map field in shader ui: “./mytexture.$F.rat”
or create point string variable storing texture name which will be used by sprite shader.
For example this expression (quick and dirty ): ops: ($F+floor(rand($PT)*$NPT))%20
will loop through 20 frames of textures on but every point/particle will start from different frame of seq.
Put it into: myTexure`expression_or_variable`.rat and you're done.
hope this help.
sy.
-
- Quick Links