dead_name Posted February 7, 2012 Share Posted February 7, 2012 Yay... lots of code to write... Link to comment Share on other sites More sharing options...
le717 Posted February 7, 2012 Share Posted February 7, 2012 (edited) 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 February 7, 2012 by le717 Link to comment Share on other sites More sharing options...
Fluffy Cupcake Posted February 7, 2012 Share Posted February 7, 2012 Yeah, it does looks like that's what it does. It also looks like it has the location of objects. Link to comment Share on other sites More sharing options...
Sluicer Posted January 13, 2015 Share Posted January 13, 2015 On 2/7/2012 at 7:30 PM, Xiron said: 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. Quisoves Potoo 1 Link to comment Share on other sites More sharing options...
grappigegovert Posted January 14, 2015 Share Posted January 14, 2015 (edited) That would be very possible; SPB files file use the same method for storing rotations.RobExplorien >made a thread where this is explained in. Edited June 5, 2015 by grappigegovert thread link was broken Link to comment Share on other sites More sharing options...
celynwalters Posted June 5, 2015 Share Posted June 5, 2015 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 More sharing options...
Recommended Posts