03 2018 档案
摘要:// Upgrade NOTE: replaced '_World2Object' with 'unity_WorldToObject' // Upgrade NOTE: replaced '_World2Object' with 'unity_WorldToObject' Shader "Custom/RadarWave" { Properties { _Color...
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; public class LatLonGridGL : MonoBehaviour { /// /// 地球半径 /// public float R = 1; /// /// ...
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShowGrid : MonoBehaviour { public int lineCount = 80; public float radius = 4f; static Materi...
阅读全文
摘要:原因: Unity 在编译时会调用 Android SDK tools 中的 android 命令,而在新版本的 Android SDK tools 中,android这个命令已经废弃了,导致 Unity 无法正常编译。、 解决方案: 从官网http://www.androiddevtools.cn
阅读全文
摘要:新建一个.bat文件 中国地区 osgearth_package.exe ReadyMap.earth --tms ReadyMap.earth --out D:\APICenter\EarthData\China --bounds 73 3 136 54 --max-level 3 --out-e
阅读全文
摘要:解决办法: 将C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64 目录下的rc.exe 和rcdll.dll 复制到 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bi
阅读全文
摘要:class CB : public osg::NodeCallback { virtual void operator()(osg::Node* node, osg::NodeVisitor* nv) { osgEarth::Annotation::ImageOverlay* overlay = dynamic_cast(node); overla...
阅读全文
摘要:0、加入你要读a.mp4,那个正确的写法是osg::Image* image = osgDB::readImageFile("a.mp4.ffmpeg"); 1、在github上下载最新的osg3.4源码https://github.com/openscenegraph/OpenSceneGraph
阅读全文
摘要:Shift+T快捷键打开“资源跟踪”窗口
阅读全文