4

Show HN: GLB2PNG – Screenshot API for GLB/glTF 3D Models

Hey fellow hackers!

I’m the creator of the GLB 2 PNG screenshot API: https://www.flowkit.app/glb2png

I aimed to create a fast and easy-to-use API to create screenshots/renderings of 3D models.

Example: https://www.flowkit.app/s/demo/r/rh:-45,rv:15,s:512/u/https:...

This URL renders a 3D model (specified at the end of the link) with:

- -45° horizontal rotation

- 15° vertical rotation

- 512px size

Feel free to tweak these values in the URL and see the results!

Use cases where this could be valuable:

- Configurators: Generate images or thumbnails for different material variations or add-ons (my background).

- Marketplaces: Automate the rendering process for uploaded 3D files.

- IP Protection: Safeguard your 3D files by displaying only rendered images.

- AI Integration: Combine with APIs like OpenAI’s Vision API to categorize or analyze 3D files.

Thanks for reading! I’d love to hear your feedback or suggestions from the HN community

Load button isn't working for me (chrome, mobile).

3 months agohirako2000

Good catch! Nothing happens if you don't change any of the sliders first.

The sliders (camera position horizontal and vertical) define the angle from which the screenshot of the 3D model is taken.

I'll deactivate the button and/or add some hints to change the sliders. Thanks for the feedback!