[osg-users] DirectX Texture Stage Sets to OSG
sam
brkopac at gmail.com
Tue Dec 4 12:46:37 PST 2018
Hi All,
I have a file format that is laid out as follows:
[t:tsd,n:b_t_grs01_rvr_fall-bottom-08-static]
{
b dither = false;
b hasalpha = false;
layer1alphaarg1 = texture;
layer1alphaarg2 = diffuse;
layer1alphaop = modulate;
layer1colorarg1 = texture;
layer1colorarg2 = diffuse;
layer1colorop = modulate2x;
i layer1numframes = 1;
f layer1secondsperframe = 0.0;
layer1texture1 = texture_filename1;
f layer1ushiftpersecond = 0.0;
b layer1uwrap = true;
f layer1vshiftpersecond = 0.0;
b layer1vwrap = true;
layer2alphaarg1 = texture;
layer2alphaarg2 = current;
layer2alphaop = arg2;
layer2colorarg1 = texture;
layer2colorarg2 = current;
layer2colorop = modulate;
i layer2numframes = 1;
f layer2secondsperframe = 0.0;
layer2texture1 = texture_filename2;
f layer2ushiftpersecond = 0.0;
b layer2uwrap = true;
f layer2vshiftpersecond = 0.5;
b layer2vwrap = true;
i numlayers = 2;
i texturedetail = 2;
b timesyncanimation = true;
}
I want to create a layer between this and osg StateSet commands. Has
anybody attempted to do this? Is there an easy way to do the mapping? Or
will it be parse -> set settings -> and then parse.
Ideas are welcome.
Thanks, Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181204/f04f09c5/attachment.html>
More information about the osg-users
mailing list