Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / With Map.x with internal material texture and alpha , alpha does not appear

Author
Message
mr silver
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: France
Posted: 23rd Feb 2006 18:17
Hy,

I do my own RTS editor and for convenience i export (manualy) the result map (like in attachment) in .X .
Then for alpha water limb i put that :
Material {
1.000000;1.000000;1.000000;0.400000;;
0.000000;
0.000000;0.000000;0.000000;;
0.000000;0.000000;0.000000;;
TextureFilename {
"texture_eau.jpg";
}
}

in the material from the chunck.It must correspond to 40% alpha on limb water.
But when i load the object no alpha on limb water
tireless, i use set limb alpha ... (limbalpha.dll) the limb water disappear ! ...

So is it a bug or dbp doesn't parse alpha on internal material ??

Attachments

Login to view attachments
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 20th Mar 2006 13:02
Would have been easier with some sample code, however, twenty minutes later I found the water! Fixed for U6 beta4.

To preserve legacy behaviour, added a new load object mode to retain the use of material AND texture data from an object:

LOAD OBJECT All Parameter Options:

// 0-DBV1 legacy behaviour
// 1-DBPro : out of the box new pro standard
// 2-Leave states alone to keep material/diffuse effects
// 3-Leave states alone to keep material/texture effects

And the new one:

// 4-Ensure object blends texture and diffuse at stage zero

"Small, smart, and running around the legs of dinosaurs to find enough food to survive, bedroom programmers aren't extinct after all "
mr silver
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: France
Posted: 20th Mar 2006 17:38
Oh great , thanks Lee !

Login to post a reply

Server time is: 2024-04-24 04:27:50
Your offset time is: 2024-04-24 04:27:50