• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

melowntech/vts-browser-unity-plugin: VTS browser integration plugin for Unity 3D ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

melowntech/vts-browser-unity-plugin

开源软件地址:

https://github.com/melowntech/vts-browser-unity-plugin

开源编程语言:

C# 85.7%

开源软件介绍:

VTS Browser Integration Plugin For Unity 3D Game Engine

VTS Browser CPP is a collection of libraries that bring VTS client capabilities to your native applications.

This Unity Plugin integrates the VTS Browser into the popular Unity 3D game engine.

Asset Store prebuild version of the plugin available on Unity Asset Store.

Example Screenshots

Features

  • The plugin handles data streaming and resource management
  • Rendering is done in Unity (with custom shaders)
    • This allows you to customize the rendering process
    • Provided shaders:
      • Unlit
      • Unlit with received shadows
      • Surface shader
      • All shaders with optional custom atmosphere that works with whole-planet views
  • Supports multiple cameras
  • Support for physical collisions
  • Real-world coordinate transformations
  • Shifting origin

Documentation

The Unity Plugin documentation is at the wiki.

Browser documentation is available at its own wiki.

Documentation for the whole VTS is at VTS Geospatial.

Building the Plugin from Source Code

Build instructions are the same as for the VTS Browser Build Wrapper. Just start in the root folder of this repository to ensure that the settings from CMakeLists.txt here are applied too.

Using the Plugin in Unity

Unity 2018 or newer is required.

On Windows

  • Symlink <Unity Project>/Assets/Vts -> <This Repository>/src/Vts
  • Symlink <Unity Project>/Assets/Vts/Plugins/Windows/vts-browser.dll -> <This Repository>/build/result/<build-type>/vts-browser.dll
  • Configure the vts-browser.dll to be used in Editor and Standalone, x86_64, Windows

On UWP (Universal Windows Platform)

  • beware that support for UWP is experimental
  • Symlink <Unity Project>/Assets/Vts -> <This Repository>/src/Vts
  • Symlink <Unity Project>/Assets/Vts/Plugins/Uwp/vts-browser.dll -> <This Repository>/build-uwp/result/<build-type>/vts-browser.dll
  • Configure the vts-browser.dll to be used in WSAPlayer, UWP, x64, il2cpp
  • After you make the build in Unity, open the Visual Studio project:
    • add internetClient capability to the manifest file

On Mac

  • Symlink <Unity Project>/Assets/Vts -> <This Repository>/src/Vts
  • Symlink <Unity Project>/Assets/Vts/Plugins/Mac/vts-browser.bundle -> <This Repository>/build/result/<build-type>/vts-browser.bundle
  • Configure the vts-browser.bundle to be used in Editor and Standalone, x86_64, OSX

For iOS

  • Symlink <Unity Project>/Assets/Vts -> <This Repository>/src/Vts
  • Symlink <Unity Project>/Assets/Vts/Plugins/Ios/vts-browser.framework -> <This Repository>/build-ios/result/<build-type>/vts-browser.framework
  • Configure the vts-browser.framework to be used in iOS
  • After you make the build in Unity, open the XCode project:
    • in the project, Build Settings, Linking, set Runpath Search Paths to @executable_path and @executable_path/Frameworks
    • in Build Phases, Copy Files, add vts-browser.framework to Destination Frameworks
      • make sure that Code Sign On Copy is on

For Linux

  • Build the vts-browser library on linux and copy it to <Unity Project>/Assets/Vts/Plugins/Linux/libvts-browser.so
  • Configure the libvts-browser.so to be used in Standalone, x86_64, Linux

Bug Reports

For bug reports or enhancement suggestions use the Issue tracker.

How To Contribute

Check the CONTRIBUTING.md on the VTS Browser CPP repository. It applies equally here.

License

See the LICENSE file.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap