You are not logged in.
Pages: 1
Hey guys,
Was wondering if I could get any insight about textures that have an alpha channel in the game. So an example would be the smoke clouds on the floor of the training room, or the yellow indicators that show up underneath the computer terminals.
So my question is, do I have to export these with a special command for onisplit to get the alpha to work? Or is the alpha channel supposed to just register if I export out a 32 bit TGA?
Thanks,
-VR
Offline
This area is far from my forté, but I think that when it comes to textures, exporting is exporting, and there are no special options you can use (unlike when importing). Alphas should just be there.
Check out the Anniversary Edition Seven at ae.oni2.net!
Offline
I am sorry, I meant to say importing not exporting. Like when you do your conversion to a .oni file, anything special you need to add to the command line?
Offline
Oh, heh. Well, first let me correct myself, because the recommended way to export textures is -extract:xml, not -extract:tga, and here's why that's actually very relevant to your question: -extract:xml gives you the usual TGA, plus an XML file with the format flag set properly.
When you are ready to re-import, you use -create:txmp on the XML (while it's still in the same folder as the TGA). This method preserves the original format of the TXMP so you don't have to worry about the bit depth and alpha bit depth options that -import:txmp would need.
Check out the Anniversary Edition Seven at ae.oni2.net!
Offline
Ok, I will give it a shot.
Thanks!
Offline
Offline
Iritscen - "the recommended way to export textures is -extract:xml, not -extract:tga"
<offtop>
so the "Textures" tab in GUI is no more necessary?
</offtop>
Jente, du er deilig, du er lekker, ihvertfall nå når jeg drikker.
Baby, du har det som trengs, hva er sannsynligheten for at vi to hopper til sengs?
Kan du si meg det? Jeg er ikke så stø i sannsynlighetsregning.
Offline
I'm not sure how the tab works, being a Mac user. If you're asking if the ability to use -extract:tga should be removed from your GUI, I would say, "It's up to you". It's not a deprecated feature; it's simply that -extract:xml is a smarter way to work with textures.
Check out the Anniversary Edition Seven at ae.oni2.net!
Offline
OH SHI--. Forgot yer using a mac. Guess I'll have to wait if some PC'sters will come up.
P. S. I thought Sun Microsys's released VM for Mac. Not really sure if it can emulate an x86...
Jente, du er deilig, du er lekker, ihvertfall nå når jeg drikker.
Baby, du har det som trengs, hva er sannsynligheten for at vi to hopper til sengs?
Kan du si meg det? Jeg er ikke så stø i sannsynlighetsregning.
Offline
They did, and I keep meaning to try it out, but I haven't yet. I actually can run Windows two other ways already, but one way eats all my RAM and the other way requires a reboot.
Check out the Anniversary Edition Seven at ae.oni2.net!
Offline
<really-really offtop, pig-iron bomb and post erasing can be required, maybe should go IM>
There are some so-called "Mac OSx86" distribs, but I have kernel panics during install and VM is babbling smthing 'bout "wrong AHCI". But I'm not asking you 'bout those problems. Is there an opportunity to launch Mac's Oni on AMD PC?
</offtop>
Last edited by demos_kratos (08/04/09 16:08)
Jente, du er deilig, du er lekker, ihvertfall nå når jeg drikker.
Baby, du har det som trengs, hva er sannsynligheten for at vi to hopper til sengs?
Kan du si meg det? Jeg er ikke så stø i sannsynlighetsregning.
Offline
You're talking about setting up a Hackintosh? I'd be surprised if that worked on AMD, but I don't really know.
Check out the Anniversary Edition Seven at ae.oni2.net!
Offline
It does work on AMD, my computer is an AMD. I think I used Leo4All. I couldn't be bothered to find compatible video drivers, and I know there aren't proper network drivers, so I never took it any further.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Pages: 1