Rui Wang

Results 34 comments of Rui Wang

I haven't tested Qt with WASM. Personally I think the result will be very huge and not suitable for web transferring. The WASM building script will generate OSG headers and...

您所说的无效是指什么?forward指的是不使用verse自己的渲染管线,而是继续使用默认的(例如固定管线或者您自己的shader) std-forward-render目前是没有用到的,后续估计会被优化掉。 从长远来说,forward camera估计也会被优化掉,毕竟BlitFrameBuffer这个函数的兼容性和效率问题都有点多;目前一个更好的结合pbr管线与自定义管线的方式是使用新加入的UserInputPass

To make osgearth work with emscripten, you have to download a modified version from: https://gitee.com/xarray/osgearth-wasm And configure it with the Setup.sh in osgverse. But you have to compile thirdparty libraries...

Have you already compiled and tested examples in osgverse/wasm? They should be generated automatically while compiling with emscripten. The Setup.sh is used to maintain the emscripten toolchain and declare related...

Thanks, I will try to find a Ubuntu PC and test the script. At present only WSL is tested. All osgearth dependencies should be compiled first outside. They are not...

"I successfully build and install osgverse in this way but I did not give directory path for osgearth in cmake-gui because when I did so, I get duplicate symbol errors...

"Can I somehow load my local simple.earth file data instead of the code given below" I think it is not possible because you are running a Web based application now....

Hi, you actually started a server when you run 'run_webserver.py', after which you can load HTML pages by typing http://127.0.0.1:8000/xxx.html. You may directly double-click and open some simple HTML pages...

您好,非常感谢。我会检查一下生成数据的程序,有可能是没有正确使用texLod函数。如果您能帮忙找到问题所在并提交pull request,那就再感谢不过了~

目前还没有完全完成Android上的编译和测试。现状是需要把SDL2目录,OpenSceneGraph目录和osgverse目录并列放置,然后在Android Studio中直接打开gradle工程,可以自动编译得到armv8的所有库;后续的测试程序还没有编写完成。Android Studio之外的编译方法还没有专门测试过