Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

Sometimes various 3D object models (NIF files) will have a color property defined. They consist of 8 hexadecimal digits. For example:

#9aceff59

I could assume that fourth integer (place 7 and 8) is used to represent the transparency of a color, but would rather hear from someone who knows more about 3D objects. Also, what is the common valid range for setting this parameter?

share|improve this question

closed as off topic by Ullallulloo, kalina, murgatroid99, deutschZuid, ChrisF Jan 21 '13 at 9:33

Questions on Arqade are expected to relate to gaming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
This is likely to be closed since Arqade is for playing games, and design (including modding) is generally off-topic. If you haven't already asked at the official Bethsoft modder forum, then you should try there. The cutting edge of TES modding knowledge is with the people there, and they tend to stay within that forum and not show up here. –  SevenSidedDie Jan 21 '13 at 3:00
    
I'm sorry. That's the second time for me. I keep forgetting that this site is not about the technical aspect of games. –  Ярослав Рахматуллин Jan 21 '13 at 5:16
    
In addition to @kalina's answer, the range should be from 00 to ff (i.e. 0 to 255), with ff being completely opaque and 00 being completely transparent. –  Schism Jan 21 '13 at 7:07
add comment

1 Answer 1

up vote 0 down vote accepted

You are correct in your assumption, the fourth set of values is for specifying alpha as follows;

# red, green, blue, alpha

With values of 00 (0) to ff (255) for each value.

share|improve this answer
1  
With values ranging from 00 (0) to ff (255) for each component. A high number means more of that component, meaning ff for alpha is opaque (not see-through at all) and 00 is invisible/completely transparent. –  George Duckett Jan 21 '13 at 7:39
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.