Results 1 to 3 of 3

Thread: Why rttex files is so big?

  1. #1
    Squire
    Join Date
    Jun 2011
    Posts
    10

    Default Why rttex files are so big?

    In RT3DApp size of all images is 991 kb. After packing images in rttex its size become
    4 000 kb. Why so big O_o?

    I disable mipmap generation but this no helps.
    How to decrease image size?
    Last edited by mmortall; 07-02-2011 at 03:45 PM.

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,377

    Default

    I checked the RT3DApp bin folder, I didn't see any 4 MB rttex files..?

    .rttex is sort of a wrapper that can house many kinds of image types and formats. rtpack attempts to put things in a form that can be directly loaded onto a video surface after zlib decompression without additional conversion - it doesn't keep things in .jpg form. It's more like .png, non-lossy and zlib compressed. (it also supports certain HW extensions like powerVR's texture compression, for iOS only)

    If you had a large .jpg, the resulting .rttex could be much bigger than the original .jpg file in the worst case scenario - however, it would load much faster and not actually waste any more video memory during runtime.

    But it will be much faster to load.

    Irrlicht itself does load .jpg and other formats directly btw, but if you needed the Proton menu system to load raw .jpgs you'd have to write some code for that I guess. (good for say.. a book-app that just wanted to show .jpgs)
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Squire
    Join Date
    Jun 2011
    Posts
    10

    Default

    Quote Originally Posted by Seth View Post
    I checked the RT3DApp bin folder, I didn't see any 4 MB rttex files..?
    I means the sum of all rttex files.

    Quote Originally Posted by Seth View Post
    If you had a large .jpg, the resulting .rttex could be much bigger than the original .jpg file in the worst case scenario - however, it would load much faster and not actually waste any more video memory during runtime.

    But it will be much faster to load.
    Aaa, I got this issue. My jpg files become much bigger (30kb -> 200kb).

    But if rttex load much faster then jpg it is very good.
    May be I will use both jpg and rttex textures for my game.
    Thanks for you help.

Similar Threads

  1. creating exe files
    By attle in forum Novashell Game Creation System
    Replies: 2
    Last Post: 02-04-2008, 09:36 AM
  2. LoRD Files
    By Razial in forum Game development
    Replies: 2
    Last Post: 06-22-2007, 10:32 PM
  3. dmod files
    By in forum Dink Smallwood HD
    Replies: 1
    Last Post: 10-12-2004, 10:25 AM
  4. Creating TGA files...
    By Akolade in forum RTsoft Tavern
    Replies: 3
    Last Post: 02-20-2003, 04:31 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •