Jump to content

Wdb Files (World/scene Layout)


dead_name
 Share

Recommended Posts

I don't get it exactly, but does this deal with the lighting/camera system?

If it does (and even if it doesn't)....

http://www.youtube.com/watch?v=uBW4sRtQ5A8

Edited by le717
Link to comment
Share on other sites

  • 2 years later...

It also looks like it has the location of objects.

Yes, it looks like that.

 

The rotations in this files are stored with six floats. At first I had no idea, how that could represent a rotation. But now (without testing) I could imagine that these are numbers for two vectors and you have to calculate the third one yourselves via cross product. Then you have a rotation matrix.

 

Just some thoughts.

  • Like 1
Link to comment
Share on other sites

  • 4 months later...
celynwalters

Although for some reason, in the test track the rotation for the tyres (sorry, 'tires') aren't limited to 1.0

//The first flag rotation values
(float)0.017452
(float)-0.999848
(float)0
(float)0
(float)0
(float)1
//The first tire rotation values
(float)-4.779958
(float)1.059691
(float)0
(float)0
(float)0
(float)4.896013

At a glance, I think these are an exception among WDB files. Any clues?

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.