mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
GET /api/ugc/assembly converts the UGC server's assembled .nif for the 3D view. The icon parameter list names each parameter's group; the kinds carry a sample (a model, or the most used combination) to edit a preset on. The icon preview is viewable as the /ugc page. ugc-pose-math.js mirrors UgcIconPose and both are checked against one fixture (gtest and node). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 lines
1.4 KiB
JSON
2 lines
1.4 KiB
JSON
{"positions":[-1,0,-2,3,0,-2,-1,2,-2,3,2,-2,-1,0,1,3,0,1,-1,2,1,3,2,1,0.5,3,0],"cases":[{"pose":{"yaw":53.36,"pitch":19.54,"fov":39.6,"margin":1.03,"offsetX":0,"offsetY":0,"modelYaw":0,"modelPitch":0,"modelRoll":0},"center":[1,1.5,-0.5],"radius":2.915476,"eye":[7.508429,4.378698,4.34064],"centerX":0.062911,"centerY":-0.21753,"scale":1.222873,"iconPoints":[[0.46302,0.452537],[0.943913,0.699213],[0.463112,0.161325],[0.985437,0.315884],[0.045143,0.571313],[0.459011,0.93283],[0.014563,0.23488],[0.458734,0.468875],[0.316675,0.06717]]},{"pose":{"yaw":-120,"pitch":45,"fov":20,"margin":1.5,"offsetX":0.1,"offsetY":-0.2,"modelYaw":30,"modelPitch":-20,"modelRoll":75},"center":[-1.056739,0.979874,-0.416113],"radius":3.944206,"eye":[-14.966032,17.040941,-8.446646],"centerX":-0.036116,"centerY":0.012075,"scale":1.06264,"iconPoints":[[0.530059,0.96253],[0.296888,0.697939],[0.731924,1.033333],[0.515782,0.764409],[0.70155,0.660225],[0.50203,0.366667],[0.903112,0.713883],[0.721579,0.4122],[0.893538,0.747872]]},{"pose":{"yaw":170,"pitch":-30,"fov":80,"margin":0.8,"offsetX":-0.3,"offsetY":0.25,"modelYaw":-90,"modelPitch":60,"modelRoll":-150},"center":[1.433013,-0.25,-0.366025],"radius":3.944893,"eye":[2.355942,-3.318582,-5.600219],"centerX":-0.085318,"centerY":0.088845,"scale":2.619823,"iconPoints":[[0.430018,0.134802],[0.157851,-0.375],[0.128677,0.341233],[-0.360557,0.00766],[0.760557,0.605839],[0.745053,0.425891],[0.407899,0.829488],[0.052023,0.875],[0.012929,0.751559]]}]}
|