#Starlight skins api isn't working

1 messages · Page 1 of 1 (latest)

high steeple
dark dome
#

you have to use uuids now

#

#📣┃announcements message

high steeple
#

why not cache the uuids?

long mauve
high steeple
#

ah I see

#

while I have you, the ?skinUrl query parameter seems to not work sometimes

#

could you add error handling to it so it doesn't time out?

long mauve
#

damnit

#

I must've broke it when switching to uuids

high steeple
#

ill check again

long mauve
#

When does it not work?

#

Can you show me how you used it?

long mauve
high steeple
long mauve
#

ohh I see

high steeple
#

http://158.140.247.161:3001/hoodie/Bret06

long mauve
#

Oh right

#

you need to secure it

#

I saw the things you've worked on

#

so you know what an ssl cert is right?

high steeple
#

I did try that

long mauve
#

Here let me manually test it for you

#

Yeah needs to be secure

long mauve
#

xD

#

I wonder why the render bugged out

long mauve
#

The rendering bug

#

it's just on the head render

high steeple
#

weird

long mauve
#

Our renders are made in a web enviroment and I'm sure you know how dumb that can be with insecure elements

#

xD

high steeple
#

wait so its made using something like canvas?

long mauve
#

Threejs

high steeple
#

oh

long mauve
#

Canvas could do it, but it would probably be A LOT of processing

#

and super hard to code

high steeple
#

yeah

long mauve
#

I need to fix the head render now lol

high steeple
#

if you're rendering them with three, could you add a way to customize the position of every element of the skin alongside the preset ones?

long mauve
#

Hmm?

#

Elaborate

high steeple
#

so with that you can change every limb by specifying a parameter

#

but php sucks

long mauve
#

Oh well atm it just uses a preset obj model

#

but that is very possible

#

I did think of making it so you can link to your own obj'

high steeple
#

that would be cool

long mauve
#

Also I just fixed the head render

#

Thingy works on it now

#

Damnit discord cache

high steeple
#

woo

#

thanks

long mauve
#

np

high steeple
long mauve
#

hold this:

            removeTransparentArea(img)
            .then(buffer => {
                res.set("Content-Type", "image/webp");
                res.send(buffer);
          })```
#

@high steeple Merry christmas
starlightskins.lunareclipse.studio/skin-render/custom/753dd908-8e20-41d9-98d2-1e1d57a576ac/full?wideModel=https://lunareclipse.studio/model.obj&slimModel=https://lunareclipse.studio/model.obj&cameraPosition={"x":"39.39","y":"11.43","z":"-41.97"}&cameraFocalPoint={"x":"-0.31","y":"20.43","z":"4.06"}

high steeple
#

❤️

long mauve
#

You can get the position and angle from here in block bench:

high steeple
#

thats awesome

long mauve
#

or at least has starlightskins.lunareclipse.studio whitelisted

high steeple
#

alright sounds good

long mauve
#

Copy Camera info

#

Output: &cameraPosition={"x":"-16.388935149351155","y":"34.963886021242985","z":"-47.504059299341236"}&cameraFocalPoint={"x":"-2.810595379688337","y":"-0.3735349045740499","z":"-3.0168466818607347"}

#

That can be used in the url