RAT File format

   6013   2   0
User Avatar
Member
133 posts
Joined: July 2005
Offline
I have two questions:

1. A .rat image is “paged”.
Is there a way to see the separate “pages”? I saw a post by Jason Iverson that asked whether you could “explode” a .rat image, but no one replied.

2. I want to convert all of my .tiff files into .rat files using icp. Is there a way in Linux to do a batch convert?

Thanks!
Francisco Rodriguez
Effects Animator | Walt Disney Animation Studios
User Avatar
Staff
2590 posts
Joined: July 2005
Offline
fxrod
I have two questions:

1. A .rat image is “paged”.
Is there a way to see the separate “pages”? I saw a post by Jason Iverson that asked whether you could “explode” a .rat image, but no one replied.

2. I want to convert all of my .tiff files into .rat files using icp. Is there a way in Linux to do a batch convert?

Thanks!

1.
The “pages” are simply tiles. Instead of being composed of scanlines, .rat files are composed of tiles. Each tile can be loaded independently of other tiles.

RAT files are also MIP mapped. There isn't really a way to look at the different MIPs which are embedded in the file.

2. There are several ways to do the conversion:
a) Use the compositor and simply save out .rat files instead of .pics
b) If you really want to use icp, you'll probably have to write a shell script.


#!/bin/csh -f

foreach file ( $* )
# Remove extension from file
set base = $file:r
echo $base
icp $file $base.rat
end
User Avatar
Member
133 posts
Joined: July 2005
Offline
Thanks Mark!

You mentioned loading tiles independently of each other. How do you go about doing this, out of curiosity.
Francisco Rodriguez
Effects Animator | Walt Disney Animation Studios
  • Quick Links