In-browser version of Make Human?

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

In-browser version of Make Human?

Postby alex_farlie » Wed Apr 28, 2021 12:09 pm

If it's not possible to support Win32 directly any-more , would it be feasible to provide a basic version of MakeHuman that can run in a modern browser (which may be running on a 32bit Windows system)?


I note that in the last year or so some fairly graphically demanding programs have been done with WASM based applets.
alex_farlie
 
Posts: 38
Joined: Thu Sep 07, 2017 9:44 pm

Re: In-browser version of Make Human?

Postby joepal » Wed Apr 28, 2021 12:33 pm

Possible yes, feasible... well, depends on how much work one is prepared to put into it.

Makehuman characters are perfectly possible to use in, for example, babylonjs. So there's nothing in principle stopping a web browser implementation.

However the work required to port the entire MH application, or portions thereof, to javascript is quite extensive.

For the frontend, you'd have to implement the entire 3d engine in WebGL or some wrapper for it. Getting everything from mesh rendering to shaders in place is something which is pretty advanced.

For backend I don't think anything particularly complicated would be needed. But you'd still want a backend in order to save models etc.

But it's not a particularly odd idea. If we had started from scratch with MH today, chances is we would have looked at web first.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4469
Joined: Wed Jun 04, 2008 11:20 am

Re: In-browser version of Make Human?

Postby alex_farlie » Wed Apr 28, 2021 2:35 pm

joepal wrote:For the frontend, you'd have to implement the entire 3d engine in WebGL or some wrapper for it. Getting everything from mesh rendering to shaders in place is something which is pretty advanced.

For backend I don't think anything particularly complicated would be needed. But you'd still want a backend in order to save models etc.

But it's not a particularly odd idea. If we had started from scratch with MH today, chances is we would have looked at web first.


My thinking was WASM rather than Javscript as such, but wasn't sure if Python->WASM was possible.
alex_farlie
 
Posts: 38
Joined: Thu Sep 07, 2017 9:44 pm

Re: In-browser version of Make Human?

Postby joepal » Thu Apr 29, 2021 12:30 pm

I doubt you'd gain anything by trying to re-use the python codebase. It would be quicker and less error-prone to try to understand the algorithms and only re-use the assets and configuration files.

One avenue which has been partially explored earlier is to open a web server in a makehuman plugin and do things that way. In this case, all operations such as adding a target, would be done with MH as a backend. The only 3d logic that would be present in the frontend would be presenting the end result. Alternatively, the only thing that would be shown in the frontend is a rendered image of the latest state of the makehuman window.

While this is feasible on a one-user-at-a-time basis, it would not work in a multiuser setting.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4469
Joined: Wed Jun 04, 2008 11:20 am


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest