1.7 KiB
1.7 KiB
bingle-arbiter
The Bingle arbiter is designed to be used with almost any revival backend.
It comes preloaded with some Lua scripts made by kinery and jackd900.
You will have to replace/modify these scripts when implementing for your own projects.
Set your desired settings in .env.example, then rename it to .env.
Routes
GET /render/asset/:id
200 OK
iVBORw0KGgoAAAANSUhEUgAAAtAAAALQCAYAAAC...
GET /render/asset/3d/:id
200 OK
{
"camera": {
"position": { "x": 0, "y": 0, "z": 0 },
"direction": { "x": 0, "y": 0, "z": 0 }
},
"AABB": {
"min": { "x": 0, "y": 0, "z": 0 },
"max": { "x": 0, "y": 0, "z": 0 }
},
"files": {
"scene.obj": { "content": "..." },
"scene.mtl": { "content": "..." },
"Handle1Tex.png": { "content": "..." }
}
}
GET /render/texture/:id
200 OK
iVBORw0KGgoAAAANSUhEUgAAAtAAAALQCAYAAAC...
GET /render/user/headshot/:id
200 OK
iVBORw0KGgoAAAANSUhEUgAAAtAAAALQCAYAAAC...
GET /render/user/bodyshot/:id
200 OK
iVBORw0KGgoAAAANSUhEUgAAAtAAAALQCAYAAAC...
GET /render/user/3d/:id
200 OK
{
"camera": {
"position": { "x": 0, "y": 0, "z": 0 },
"direction": { "x": 0, "y": 0, "z": 0 }
},
"AABB": {
"min": { "x": 0, "y": 0, "z": 0 },
"max": { "x": 0, "y": 0, "z": 0 }
},
"files": {
"scene.obj": { "content": "..." },
"scene.mtl": { "content": "..." },
"Handle1Tex.png": { "content": "..." }
}
}