简体   繁体   中英

How to draw a 3D model in ASP.NET Core?

I've got a browser client talking to an ASP.NET Core C# backend. On the browser I am using three.js to draw 3D building models. The data I use for the model is saved to the server as a job. The browser can recall that job and redisplay the 3D model. That part is working just fine. The models are not terribly complicated. They are basic buildings not complicated photo realistic models of people :-)

At various points in time I need to be able to generate a report on the server that includes pictures of the 3D model. I cannot rely on the client to generate the pictures for me. So I am after a library, at a similar abstraction level to threejs, that I can use in an ASP.NET Core C# web server to draw the 3D model, and save it to a PNG for inclusion in the report.

Suggestions for such a library?

You can use three.js to render serverside, by adding node.js to the mix.

How to render three.js server-side?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM