F1 cockpit with working gauges test
Just transparent textures (sprites) to make the interiror.
video here: http://youtu.be/GTtlfKaOWCU
Just transparent textures (sprites) to make the interiror.
video here: http://youtu.be/GTtlfKaOWCU
The 3DRad community can be found at classdev.net.
Quaternion q;
void Main()
{
if(iInitializing())
iObjectImpostersCreate(OBJ_0,3);
iQuaternionFromEulerAngles(q,0,0,0,"xyz");
iObjectImposterSet(OBJ_0,0,q,Vector3(0,0,0));
iObjectImposterSet(OBJ_0,1,q,Vector3(0,0,0));
iObjectImposterSet(OBJ_0,2,q,Vector3(0,0,0));
//etc... :-)
}
now I have a small question: it is possible modify this script to use random size of the skinmesh, different height would be enough? I suppose just to see 400 exact same sized tree mesh looks not good if yes, how, please?
iObjectImposterScaleSet(OBJ_X,int,Vector3)
Set scaling for the specified SkinMesh object's imposter.
OBJ_X = SkinMesh object handle.
int = imposter index
Vector3 = scaling. X, Y, Z components of this vector are the local scaling factors. Original size is when the scaling factor is 1.0.
...just to see 400 exact same sized tree mesh looks not good...
re you planning on putting 400 imposters manually?!this feature I use some while already. still need read the coordinates of the imposter meshmap source x file, put it to excel, there "generate" the order number... the actual demo shows the impostered tree mesh this way only.