Forums WoW Modding Discussion Modeling [Archive] [WIP] WebWoWViewer

[Archive] [WIP] WebWoWViewer

[Archive] [WIP] WebWoWViewer

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
11-04-2025, 12:21 PM
#11
Archived author: deamon1987 • Posted: 2025-11-04T13:21:44.474312
Original source

Quote: Wanted to give a little thumb up.

Right now I'm rewriting the same logic I had in JS to C++. So far I finished most of it. Only some little things are left that I already had in JS version.

As for progress I finally figured out the right math for culling the portal's polygons as shown in video below. I didnt have that in JS version

https://www.youtube.com/embed/hXCzEW8k_yY?wmode=opaque

As soon as I finish porting process, I plan to bring Legion support, give it some kind of UI and make first release
rektbyfaith
11-04-2025, 12:21 PM #11

Archived author: deamon1987 • Posted: 2025-11-04T13:21:44.474312
Original source

Quote: Wanted to give a little thumb up.

Right now I'm rewriting the same logic I had in JS to C++. So far I finished most of it. Only some little things are left that I already had in JS version.

As for progress I finally figured out the right math for culling the portal's polygons as shown in video below. I didnt have that in JS version

https://www.youtube.com/embed/hXCzEW8k_yY?wmode=opaque

As soon as I finish porting process, I plan to bring Legion support, give it some kind of UI and make first release

rektbyfaith
Administrator
0
11-04-2025, 12:21 PM
#12
Archived author: deamon1987 • Posted: 2025-11-04T13:21:44.474312
Original source

rektbyfaith
11-04-2025, 12:21 PM #12

Archived author: deamon1987 • Posted: 2025-11-04T13:21:44.474312
Original source

rektbyfaith
Administrator
0
11-04-2025, 12:21 PM
#13
Archived author: ev0 • Posted: 2025-11-04T13:21:44.474312
Original source

Quote: Hey man,

I keep checking out this project in awe; it's truly a masterpiece.

Thank you for contributing such a neat idea to the community, I'm learning a lot about webgl from this.
rektbyfaith
11-04-2025, 12:21 PM #13

Archived author: ev0 • Posted: 2025-11-04T13:21:44.474312
Original source

Quote: Hey man,

I keep checking out this project in awe; it's truly a masterpiece.

Thank you for contributing such a neat idea to the community, I'm learning a lot about webgl from this.

rektbyfaith
Administrator
0
11-04-2025, 12:21 PM
#14
Archived author: deamon1987 • Posted: 2025-11-04T13:21:44.474312
Original source

Quote: Well, it's been a long time.

At one point I wasnt satified with application performance in JS and wanted to see how fast would it be, if I use SIMD. So I rewrote all project from JS to C++. Before that I havent had experience with big projects in C++, so I had to educate myself. I went pretty well. I had no particular goal or any deadlines, so I worked when I was in the mood.

About a month ago I cooperated with Marlamin to use code from this project on his website. In order to do that, C++ code had to be compiled with Emscripten. Emscipten gives two targets for compilation: Asm.js and WebAssembly. Asm.js as target didnt work at all, while WebAssembly worked as a charm. Model viewer also requires WebGL 2.0, because of how I upload uniforms in engine.

And so it's working now on Marlamin's website. Web model viewer The model viewer is supported in Chrome and Firefox. A browser has to be a modern one because of WebAssembly and WebGL 2.0 requirement. Sadly Safari is not supported, because Apple havent implemented WebGL 2.0 yet(they are only in the middle of the process)
rektbyfaith
11-04-2025, 12:21 PM #14

Archived author: deamon1987 • Posted: 2025-11-04T13:21:44.474312
Original source

Quote: Well, it's been a long time.

At one point I wasnt satified with application performance in JS and wanted to see how fast would it be, if I use SIMD. So I rewrote all project from JS to C++. Before that I havent had experience with big projects in C++, so I had to educate myself. I went pretty well. I had no particular goal or any deadlines, so I worked when I was in the mood.

About a month ago I cooperated with Marlamin to use code from this project on his website. In order to do that, C++ code had to be compiled with Emscripten. Emscipten gives two targets for compilation: Asm.js and WebAssembly. Asm.js as target didnt work at all, while WebAssembly worked as a charm. Model viewer also requires WebGL 2.0, because of how I upload uniforms in engine.

And so it's working now on Marlamin's website. Web model viewer The model viewer is supported in Chrome and Firefox. A browser has to be a modern one because of WebAssembly and WebGL 2.0 requirement. Sadly Safari is not supported, because Apple havent implemented WebGL 2.0 yet(they are only in the middle of the process)

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)