[Tool] OPL Editor

hmm.. cant open map of pub (n_031_035) some1 know how to fix?

or plz upload the fixed
 
Last edited by a moderator:
there are is a very nice entry on Wikipedia ....
So , It takes abit to calculate , but mostly you can try , and if you cant rotate the item by trying , calculate it ... its my way to do it..

I could also make a good Tutorial about OPL Editor if you guys like...
but dunno atm I think no one is intressted ..

-> Y , W are important for rotate the items ..
not only Y! ..
 
X,Y,Z and W rotate the objects... not in degrees, but radians.
Not surprising, the majority in here is europeans, heh..

Anyway, I allready made support for x,y,z degree rotation in the new editor.

PHP:
        public Vector3 QuaternionToEuler(Quaternion q)
        {
            float sqX, sqY, sqZ, sqW;
            Vector3 radians = new Vector3();
            Vector3 degrees = new Vector3();

            sqX = q.X * q.X;
            sqY = q.Y * q.Y;
            sqZ = q.Z * q.Z;
            sqW = q.W * q.W;

            radians.X = (float)(Math.Atan2(2.0 * (q.Y * q.Z + q.X * q.W), (-sqX - sqY + sqZ + sqW)) * -10430.3783505);
            radians.Y = (float)(Math.Atan2(2.0 * (q.X * q.Y + q.Z * q.W), (sqX - sqY - sqZ + sqW)) * 10430.3783505);
            radians.Z = (float)(Math.Asin(-2.0 * (q.X * q.Z - q.Y * q.W)) * -10430.3783505);

            degrees.X = RadiansToDegrees(radians.X);
            degrees.Y = RadiansToDegrees(radians.Y);
            degrees.Z = RadiansToDegrees(radians.Z);

            return degrees;
        }
 
oh man, this don't work on vista right ? Is there any way to make it work ? I got this error, please help me ... I really need this.
 

Attachments

  • looool - [Tool] OPL Editor - RaGEZONE Forums
    looool.webp
    44.1 KB · Views: 101
I have framework 3.5 is this ok ? + I have directX 10 is this ok ? Or do i need 9.0c ???

Am not really sure is this because I have vista or because I have quad core ??? anyone before had same problem and fix it ?
 
Last edited:
hey ive tried to download this file and its not working. i click the link but when the page pulls up it says there is an error. i have ur first version of the map editor but havent gotten the new one. it would be really helpful if u could set up another download or something. if not ty anyways.
 
Back