Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 07/30/09 05:07

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

BGRA32/BGR8888 Problem

Okay, I think I figured out editing the hex-values within the Oni.exe.. But everytime I convert a file with the BGRA32 format, the alpha channel is transparent.. I used this line with OniSplit to convert my texture:

OniSplit -create:txmp . -format:bgra32 -genmipmaps TXMPIteration001%2FKS_face.tga

Screenshot: transparentkonoko.th.png

Offline

#2 07/30/09 08:07

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

Re: BGRA32/BGR8888 Problem

you are missing the command -envmap:TXMPenvksface

Offline

#3 07/30/09 08:07

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: BGRA32/BGR8888 Problem

By the way, this is not the forum for asking questions about modding; you want the Modifications forum.  Just an FYI for the future, Rexxar.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#4 07/30/09 12:07

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

Re: BGRA32/BGR8888 Problem

@ EdT : So, I'll just add "-envmap:TXMPenvksface" to all reflective parts?
@ Iritscen : Sorry, I weren't actualy sure about which forum the topic should go.

By the way, is there a possible way to extract the files, when there's special letters, like "%" because OniSplit, won't extract the files if they have so.

Offline

#5 07/30/09 14:07

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

Re: BGRA32/BGR8888 Problem

Rexxar: It depends on the texture, almost all reflective part uses TXMPstrikerarmor.oni, however Konoko's armor uses TXMPenvksarmor.oni, Mukade uses TXMPSUPER_REFLECT.oni

I don't have any problems extracting something like this: TXMPIteration001%2FCop_calf.oni using OniSplit.
-extract:tga save_dir TXMPIteration001%2FCop_calf.oni

Offline

#6 07/30/09 14:07

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

Re: BGRA32/BGR8888 Problem

@ EdT : So, what you're saying is, that there's different kinds of reflectivity?

According to OniSplit, I meant extracting a .tga, to a .oni file. Like this:
OniSplit -create:txmp . -format:bgr32 -genmipmaps TXMPIteration001%2Fk4_bcp.tga

Last edited by TOCS (07/30/09 14:07)

Offline

#7 07/30/09 15:07

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

Re: BGRA32/BGR8888 Problem

Rexxar: Yes there are different envmap, extract them so you can see the difference.  Actually, you can create your own pattern of reflectivity. I did that by changing the color so instead of a silver reflection, I was getting a red reflection.

You're right about the problem importing textures with % in the name.  I'll report that.

Offline

#8 07/31/09 05:07

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

Re: BGRA32/BGR8888 Problem

@ EdT : The problem about OniSplit weren't happening at one of the older releases, I guess it's some new feature that prevents it...

Does Oni support bump mapping? As it would be nice for future textures

EDIT: By the way, is there a way to extract the .oni files (textures) into .tga, so that I can edit them agian?

Last edited by TOCS (07/31/09 05:07)

Offline

#9 07/31/09 07:07

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

Re: BGRA32/BGR8888 Problem

Rexxar: I reported the problem, just have to wait for a fix.  In the meantime, you could delete the "%" from the filename when using OniSplit and then add it back again after it is converted to an .oni file.

To extract a specific TXMP: -extract:tga dir filename

Offline

#10 07/31/09 08:07

dream996
Member
Registered: 03/15/09

Re: BGRA32/BGR8888 Problem

im sorry to interrupt but what exactly a you guys doing ? =] i have wondering for long

Last edited by dream996 (08/04/09 09:08)


PunBB bbcode test

Offline

Board footer

Powered by FluxBB