Re: Breaking up large texture Files

New Message Reply Date view Thread view Subject view Author view

Inge E.Henriksen (inge++at++autosim.no)
Thu, 15 Jan 1998 13:06:50 +0100


>
> From: "Linda Rae" <lrae++at++indy3.gstone.com>
> Date: Wed, 14 Jan 1998 13:31:36 -0800
> Subject: Breaking up large texture Files
> Reply-To: <lrae++at++indy3.gstone.com>
>
>Good afternoon all:
>
>This query is just to insure that I don't re-invent the wheel. I have a
>large terrain database with 1024x1024 texture files (the textures are
imagery
>of 5 and 10 Meter data - thus lots of textures and none are repeated).
I
>want to be able to break down these large texture files into some thing
more
>manageable say 256x256 or 512x512 and reapply the textures to the original
>OpenFlt file as necessary and re-writting the database file to disk. I
>have begun to incorporate MIP Mapping as part of the solution, but I still
>need to perform the above mentioned task.
>
>I am about to write a tool to do this, but I have heard vague stories that
>there are tools out in the Performer world that already do this (yes I know
I
>can do this using the Multigen development environment). I have looked
at
>the rsets tool I found in Performer 2.2 - That does half the work for me
but
>not applying the new files to the database file. Does anyone know of a
>Performer script/tool that does this?
>
>Thanks in advance,
>
>Linda Rae

A easy way that you could do this is by using "imgworks". If you are using
Openflight(TM) format all you would have to do is to overwrite the original
image-files and the scaled images should be imported the next time you start
your Performer(TM) application.Be sure to take a backup first, just in case.

If you would like to incorporate the scaling inside your program you might
consider "imgcopy", altough I am not sure I suspect this program of also
beeing able to scale an image. You can execute a shell program from C-code
with the "system()" command.

Good luck from Inge
:>

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:33 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.