Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Tue Mar 19, 2024 11:23 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Oct 21, 2008 8:49 am 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Image

If you're a Raydium SVN user, you may have noticed that a few things are upside down since a few hours ... The reason is simple: Raydium now handle correctly TGA file format, including RLE compression and "flipping bits" (revision 799, thanks to ouille). Since its beginning, Raydium was reading TGA as if the "y flip" bit was set, whatever it was or not. But as a lot of files in the repository were created without this bit set, Raydium now reads these files upside down. And everything is broken.

Image
Don't panic. Oh no, wait, do !

We've changed almost all textures in the official R3S repository so the y-flip bit is set. Everything should then looks OK again, all you have to do is refresh you own files, using one these two methods:

1 - Use the "--repository-refresh" command line tags with all applications. It will force the application to download modified files from the repository. But remember to fully use all functionalities: for instance, with test6, you must run the demo, fire a rocket, fire a bullet, add a crate (space key), ... It's the only way to be sure that all textures will be used.

2 - Use our magic texture pack : http://ftp.cqfd-corp.org/raydium_repo_f ... xtures.tgz
In this archive, you'll find all textures available (and fixed) in the repository. Just refresh your own data files with all this, and everything will be OK.

You may have to fix your own textures, too, so be vigilant when launching your applications using this new Raydium release, to be sure to detect all flipped textures (if any). You can use any Gimp-like application to reverse your TGA files. We may also provide a small tool to help you doing this on a big amount of files, just ask for it in the comments.

We'll also ask you, please, to report any trouble with "official" textures from the repository, we may have missed something.

We apologize for all this, and be sure we do our best to avoid compatibility breaks, but TGA reading abilities of Raydium were too limited to cover all needs, so this rewrite was mandatory.

Sorry, again, for any inconveniences caused, and have fun with this new TGA reader ! :) (tip: Blender and Raydium are now friends about TGA)


Top
 Profile  
 
PostPosted: Tue Oct 21, 2008 8:51 am 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Credits for the main picture: http://flickr.com/photos/carlson13/405282167/
(Thanks to http://upsidedowndogs.com/ website)


Top
 Profile  
 
PostPosted: Tue Oct 21, 2008 10:47 pm 
Offline

Joined: Tue Jul 08, 2008 2:37 am
Posts: 181
Great news! Thank you very much for the improvements!

I want to re-export my images with RLE compression. I've one question regarding the new Targa loading behavior:

Which is the valid systemwide origin setting for Raydium in The GIMP to save a TGA file?
a) The default origin setting is bottom left (http://ftp.cqfd-corp.org/GimpSaveTargaRLEBottomLeft.png).
b) But there is also the top left origin option to choose (http://ftp.cqfd-corp.org/GimpSaveTargaRLETopLeft.png).

I'm currently using the latest official release build of The GIMP version 2.6.1.

Thank you very much.

Best regards,
st


Attachments:
File comment: a) Default settings in The GIMP.
GimpSaveTargaRLEBottomLeft.png
GimpSaveTargaRLEBottomLeft.png [ 6.44 KiB | Viewed 34529 times ]
File comment: b) Second origin option in The GIMP.
GimpSaveTargaRLETopLeft.png
GimpSaveTargaRLETopLeft.png [ 6.18 KiB | Viewed 34517 times ]


Last edited by st on Wed Feb 15, 2012 6:45 pm, edited 1 time in total.
Top
 Profile  
 
PostPosted: Wed Oct 22, 2008 6:20 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
st: as you want ! This last option will set or not the y flip bit in the file, and since Raydium is now able to read this bit correctly, the texture will always be loaded with the suitable origin.


Top
 Profile  
 
PostPosted: Wed Oct 22, 2008 6:47 pm 
Offline

Joined: Tue Jul 08, 2008 2:37 am
Posts: 181
Ok, thanks for the educational advertising. Afterwards my question was a bit overdue ... things are clear now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group