Giter VIP home page Giter VIP logo

cesium4unreal's People

Contributors

jgoffeney avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cesium4unreal's Issues

Test Cesium Plugin for UE45 Preview 2

This documents issues with the Cesium Plugin relased for the UE5 preview here.

Create Project

The first issue encountered is when creating and empty project as Games->Blank without Starter Content it automatically adds a landscape which can not just be deleted.

Solutions ( Closed)

  • Use one of the other templates like First Person and delete the extras when the new project opens.

UE5 Cesium Plugin Warning and Error Suppression

This warning / errors may be useful but they spam the logs so I am going to update them for my plugin.

LogCesium: Warning: [2022-01-18 08:24:44.620] [warning] [Batched3DModelContent.cpp:130] This b3dm header is using the legacy format[batchLength][batchTableByteLength]. The new format is[featureTableJsonByteLength][featureTableBinaryByteLength][batchTableJsonByteLength][batchTableBinaryByteLength] from https://github.com/CesiumGS/3d-tiles/tree/master/specification/TileFormats/Batched3DModel.
LogCesium: Error: [2022-01-18 08:24:44.620] [error] [GltfContent.cpp:37] Failed to load binary glTF from https://jason.goffeney:[email protected]/3dtiles/vricon_tilesets/3563213151/10/513/408.b3dm:
- Only binary glTF version 2 is supported, found version 1
LogCesium: Error: [2022-01-18 08:24:44.470] [error] [Tileset.cpp:817] Tile contained an unknown refine value: replace

GLTF to Raster

Currently able to load the GLTF / GLB and render using a glOrtho based on the model bounds and essentially a passthrough for the shaders using the original POSITION vertex data.

Currently the test GLB file was generated as Geotiff->Unreal->mesh->FBX->Blender->GLB.

Issues:

  • Test GLB
    • The mesh was generated by script within Unreal from Lat/Lon raster data and converted to meters which removes the base grid. It is better to use projected data with equal 1 cell spacing.
    • When exporting from blender it creates Camera and Light nodes in the GLB which have their own transforms. It is better to just ignore the node transforms in favor of just working with the data. It makes the shaders very simple and setting up glOrtho easy by just using the GLTF POSITION vertex data.

To Dos:

  • Create a test mesh to try to get as close to a 1 to 1 raster input and output in the pipeline.
  • Try with terracotta data
    • It is in a format that already follows the curvature of the earth.

Create GDAL Plugin

GDAL Plugin is working in project GDALBlank3. The example pawn is loaded in level NewMap.

Having trouble packaging the plugin. For reasons unknown it is including Cesium although this project does not have Cesium loaded.

UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumSubLevel.h(81) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h(78) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h(83) : LogCompile: Error: An explicit Category specifier is required for Blueprint accessible functions in an Engine module.
UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h(87) : LogCompile: Error: An explicit Category specifier is required for Blueprint accessible functions in an Engine module.
UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h(133) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h(138) : LogCompile: Error: An explicit Category specifier is required for Blueprint accessible functions in an Engine module.
UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h(142) : LogCompile: Error: An explicit Category specifier is required for Blueprint accessible functions in an Engine module.
UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumGlobeAnchorComponent.h(53) : LogCompile: Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumGlobeAnchorComponent.h(58) : LogCompile: Error: An explicit Category specifier is required for Blueprint accessible functions in an Engine module.
UATHelper: Package Plugin Task (Windows):   C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumGlobeAnchorComponent.h(62) : LogCompile: Error: An explicit Category specifier is required for Blueprint accessible functions in an Engine module.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.