Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 07/20/11 12:07

Bozzman
Member
From: Gilbertsville, PA, USA
Registered: 03/18/11

New Envmaps

Searched around but haven't found a clear answer to this problem im having. While trying to create new envmaps parts of characters become transparent. I saw TOCS posted about that before - however it only happens with original character textures, any that have been updated (such as TCTF package and so on) don't have this issue.

Should I just create a dedicated envmap to my characters so that I dont ruin those that have yet to be updated - aka strikers/etc? *Made envmap for new characters works like a charm

I guess another thing I should ask is... in the xml, what format should the envmap be in? *Used BGRA5551 for everything (both envmap and new skins) after trial and error, keeps everything working with no quality loss*

Last edited by Bozzman (07/20/11 17:07)


Here take this hypo!

Offline

#2 07/21/11 09:07

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: New Envmaps

You can also use ARGB8888, which will give you better looking textures with alpha channel.

Offline

#3 07/21/11 09:07

Bozzman
Member
From: Gilbertsville, PA, USA
Registered: 03/18/11

Re: New Envmaps

When I use ARGB8888 OniSplit says its not a valid value name? hmm


Here take this hypo!

Offline

#4 07/21/11 11:07

TOCS
Member
From: Denmark
Registered: 04/04/07

Re: New Envmaps

You should be using RGBA32 for the best result. It should be supported in the latest release of AE, and it's definitely the best looking format.

Offline

#5 07/21/11 12:07

Dirk Gently
Member
From: Boston, MA
Registered: 06/12/09
Website

Re: New Envmaps

Argb8888 and rgba32 yield the same number of bytes per pixel.

Offline

#6 07/21/11 12:07

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: New Envmaps

That's odd, this works for me.

<Oni Version="0.9.52.0">
    <Texture>
        <Flags>HasMipMaps</Flags>
        <Format>ARGB8888</Format>
        <EnvMap>TXMPenvksarmor</EnvMap>
        <Image>TXMPIteration001%2FKS_chestpack.tga</Image>
    </Texture>
</Oni>

Offline

#7 07/24/11 13:07

Bozzman
Member
From: Gilbertsville, PA, USA
Registered: 03/18/11

Re: New Envmaps

EdT wrote:

That's odd, this works for me.

Alright I would like to use ARGB8888 but still cannot - I don't get it.  http://www.mediafire.com/?18ywglb6b44l6d6 <-- there's the lower leg of the blackops swat. Think you could see if you can convert it?


If you wanted to test it be sure to use strikerarmor since I didnt include the envmap

Just stopped using XML for character skins, such a headache. I'll only use it for animated textures now lol

Last edited by Bozzman (07/24/11 14:07)


Here take this hypo!

Offline

#8 07/24/11 15:07

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: New Envmaps

Well you need xml for envmaps info.

Just wondering which version of OniSplit are you using?
Try entering this command to OniSplit -help enums  Look for the section enum TXMPFormat what do you see?

Here is the calf texture: http://cl.ly/1c0J030K0n2P2224402O

Offline

#9 07/24/11 15:07

Bozzman
Member
From: Gilbertsville, PA, USA
Registered: 03/18/11

Re: New Envmaps

Running Onisplit 9.56

I just added the envmap through the texture tab -  little check box, never really took notice of it before


Here take this hypo!

Offline

#10 07/24/11 15:07

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: New Envmaps

I see..  That's the difference, OniSplit v56 changed the format name in XML:

enum TXMPFormat
    BGRA4444 = 0
    BGR555 = 1
    BGRA5551 = 2
    RGBA = 7  (Not ARGB8888 anymore)
    BGR = 8
    DXT1 = 9

Offline

#11 07/24/11 15:07

Bozzman
Member
From: Gilbertsville, PA, USA
Registered: 03/18/11

Re: New Envmaps

So what does the = 1 etc mean?

Which should I use?

Is there a version I should be using?

Last edited by Bozzman (07/24/11 15:07)


Here take this hypo!

Offline

#12 07/24/11 17:07

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: New Envmaps

If you use v.56 then it would be <Format>RGBA</Format>  the 1 is found in the hexcode for the TXMP.

Offline

Board footer

Powered by FluxBB