Horde3D

Next-Generation Graphics Engine
It is currently 17.11.2018, 16:20

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Horde3D emscripten
PostPosted: 25.08.2018, 04:39 
Offline

Joined: 27.03.2011, 08:40
Posts: 47
Location: Fi
This is a fork of https://github.com/attilaz/horde3d-x/tree/gles2_d3d11 which is based on horde3d beta5. This can be compiled to js/wasm with emscripten.

https://github.com/bosoni/Horde3D_em


Top
 Profile  
Reply with quote  
 Post subject: Re: Horde3D emscripten
PostPosted: 26.08.2018, 12:05 
Offline

Joined: 17.11.2009, 17:00
Posts: 168
Location: Russia, Moscow
Hello. Good work. I've also worked on emscripten support earlier with ES3 backend that is not yet uploaded. I see that you've made your own framework for samples - it's probably good because current sample framework in v1.0 has problems with pointers to parent classes in emscripten. If you wish I can pull request the current ES3 backend to develop branch so that you can work on the latest code base. The backend still has some problems, but it works with emscripten.


Top
 Profile  
Reply with quote  
 Post subject: Re: Horde3D emscripten
PostPosted: 13.09.2018, 00:08 
Offline

Joined: 02.04.2013, 16:49
Posts: 25
yes, nice and interesting work there mikel! I'm assuming the skybox/dds loading problem is related to the horde3d-x port?

Image

good job, keep it up!


Top
 Profile  
Reply with quote  
 Post subject: Re: Horde3D emscripten
PostPosted: 19.09.2018, 17:24 
Offline

Joined: 27.03.2011, 08:40
Posts: 47
Location: Fi
Thanks Irdis and rasteron :)

@Irdis Sure, it would be nice to have horde3d-develop with ES3 backend (ES2 would be nice too but maybe too much work to merge these). Actually horde3d-x and horde3d-emscripten have only few modifications (at core code), it is almost the same.
My little framework (using sdl2) works with develop branch (quicker develop with normal OS and IDE and now and then compile it with emscripten (and add #ifdef's when needed).

@rasteron
"I'm assuming the skybox/dds loading problem is related to the horde3d-x port?"
I'm not sure, havent have time to check, I think it is because of some unavailable extension or so (like shadows, those worked on android but something missing in webgl).
I know dds can be loaded and used too with webgl (babylon.js, three3d.js).
I tested years ago horde3d-x with android but dont remember if I used skymap/reflection.

I havent touched the code quite a while, I'm learning opencv and raspi3 and so, but maybe someday I will once again check these all again.

Cheers :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group