Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D graphics and glTF format support #201

Open
josuah opened this issue May 16, 2024 · 2 comments
Open

3D graphics and glTF format support #201

josuah opened this issue May 16, 2024 · 2 comments

Comments

@josuah
Copy link
Member

josuah commented May 16, 2024

In the same way wepb and webm were selected as standard format, by GOOG, GLTF was announced as file format of choice for 3D mesh graphics.

Some users started discussing about AR and Unity integration. Frame is not having any GPU to do rendering in real-time nor having enough throughput for streaming a 3D rendering, and the IMU is on the device itself. This limits how much AR can be attempted on that device.

However, the vector graphics library can be leveraged to render wireframes or simple low-poly flat-shading based models.
Trigonometry would turn coordinates of triangles into faces, compute normals, compute z-index and intersection, select a color according to the face orientation (flat shading without texture), and cut the outlines of each shape to draw as a geometric shape.

This is a lot of math work, but no pixel or image manipulation: only trigonometry on coordinates, with the last step: filling the triangles, done by the FPGA with the vector library.

A wireframe-based model can be a lot less work to render and have more chance to be rendered by software in real-time to use the IMU to realign the model frequently.

Whether Frame can keep-up the pace remains to be proven!

https://discord.com/channels/963222352534048818/1240218103603003442
https://discord.com/channels/963222352534048818/984966420603482182/1240681494335459329

@josuah
Copy link
Member Author

josuah commented May 26, 2024

@siliconwitch
Copy link
Member

This would be really cool! Hopefully once the vector engine is in, someone can figure out how to extend it to support this

@siliconwitch siliconwitch changed the title [feature-request] 3D graphics and glTF format support 3D graphics and glTF format support Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog / Future / Reference
Development

No branches or pull requests

2 participants