# VCTR Polygon, Point data processing and visualize

**URL:** <https://community.cesium.com/t/vctr-polygon-point-data-processing-and-visualize/42980>\
**Category:** Cesium for Unity\
**Created:** [August 25, 2025, 9:54am UTC](https://community.cesium.com/t/vctr-polygon-point-data-processing-and-visualize/42980 "2025-08-25T09:54:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_Lee](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tom_lee/32/31450_2.png) [@Tom\_Lee](https://community.cesium.com/u/Tom_Lee)\
**Post date:** [August 25, 2025, 9:54am UTC](https://community.cesium.com/t/vctr-polygon-point-data-processing-and-visualize/42980/1 "2025-08-25T09:54:06Z")

</div>

for VCTR (Polygon, Point)

spec document:  
[https://github.com/CesiumGS/3d-tiles/tree/vctr/TileFormats/VectorData](https://github.com/CesiumGS/3d-tiles/tree/vctr/TileFormats/VectorData)

I uploaded PRs for VCTR Polygon, Point data processing and visualize.

> <https://github.com/CesiumGS/cesium-unity/pull/606>
>
> \## Description
> 
> for VCTR (Polygon, Point)
> 
> spec document:
> https://github.co…m/CesiumGS/3d-tiles/tree/vctr/TileFormats/VectorData
> 
> for polygon mesh extrusion works min height -200m and max height 1000m from geoide 0 height.(hard coded)
> 
> and for Point. there is no mesh for this just cesium globe anchor, mesh filter with one vertex mesh, and mesh renderer(I thought about this but I don't have best idea about this. adding sphere mesh to render? maybe better idea)
> 
> for Polyline. I've not finished implementing this yet. I don't have clear time line (FYI)
> 
> for testing this. use with other PR code.
> https://github.com/CesiumGS/cesium-native/pull/1228
> https://github.com/CesiumGS/cesium-unity/pull/601
> 
> \## Issue number or link
> 
> 
> 
> 
> 
> \## Author checklist
> 
> \- \[x\] I have submitted a \[Contributor License Agreement\](https://github.com/CesiumGS/community/tree/main/CLAs) (only needed once).
> \- \[x\] I have done a full self-review of my code.
> \- \[\] I have updated \`CHANGES.md\` with a short summary of my change (for user-facing changes).
> \- \[\] I have added or updated unit tests to ensure consistent code coverage as necessary.
> \- \[\] I have updated the documentation as necessary.
> 
> \## Testing plan
> 
> for VCTR Polygon testring (URP)
> http://localhost:8080/Apps/SampleData/Cesium3DTiles/Vector/VectorTilePolygons/tileset.json
> http://localhost:8080/Apps/SampleData/Cesium3DTiles/Vector/VectorTilePolygonsBatchedChildrenWithBatchTable/tileset.json
> 
> 1. build this PR with other PR code after that we can get com.cesium.unity-{version number}.tgz in CesiumForUnityBuildProject folder. ( https://github.com/CesiumGS/cesium-native/pull/1228, https://github.com/CesiumGS/cesium-unity/pull/601 )
> 2. git clone Cesium Unity Samples repo ( https://github.com/CesiumGS/cesium-unity-samples.git )
> 3. unpack built tgz file to cesium-unity-samples\\Packages\\com.cesium.unity folder (overriding)
> 4. git clone cesiumjs repo ( https://github.com/CesiumGS/cesium.git )
> 5. move Vector folder to Apps/SampleData/Cesium3DTiles folder
> 6. build ( "npm install" and "npm run build")
> 7. local run ( "npm start" )
> 8. open Cesium Unity Samples repo with Unity Editor and open 02\_CesiumMelbourne scene
> 9. set CesiumGeoreference and Cesium Globe Anchor of DynamicCamera lot, lat, height (0, 0, 3000) 
> 10. change Tileset Source to "FromUrl" and change url for each test by referencing above for Cesium3DTileset component in Melbourne Photogrammetry game object.
> 11. set material from other PR( https://github.com/CesiumGS/cesium-unity/pull/601 ) to Opaque Material in Cesium3DTileset component in Melbourne Photogrammetry game object. and change rendering setting ( AddRendererFeature and other things follow instruction in other PR page, https://github.com/CesiumGS/cesium-unity/pull/601)
> \<img width="1359" height="991" alt="image" src="https://github.com/user-attachments/assets/fce678f5-c8bc-45c0-bd33-ad8391eec740" /\>
> 
> for VCTR Point testing.
> http://localhost:8080/Apps/SampleData/Cesium3DTiles/Vector/VectorTilePoints/tileset.json
> http://localhost:8080/Apps/SampleData/Cesium3DTiles/Vector/VectorTilePointsBatchedChildrenWithBatchTable/tileset.json
> 
> 1~10 are same of VCTR Polygon testing
> 11. check to set true of Show Tiles in Heirachy in Cesium3DTileset component in Melbourne Photogrammetry game object.
> 12. in child objects of Melbourne Photogrammetry game object. replace mesh filter to "Sphere" mesh and change value of scale of game object transform to 100, 100, 100
> \<img width="1357" height="968" alt="image" src="https://github.com/user-attachments/assets/5a511ed5-ef9c-4664-a5e6-b78db2e84bfb" /\>

> <https://github.com/CesiumGS/cesium-native/pull/1228>
>
> for VCTR (Polygon, Point)
> 
> for polyline, I am not yet done checking(I mean deb…ug). I am pretty sure polyline processing is not working properly
> 
> and for Point. (has only one vertex, I thoght about this I haven't come up with better idea. I think it would be better to handle it appropriately depending on the engine.)
> 
> I don't have clear time line for Polyline (FYI)
> 
> spec document:
> https://github.com/CesiumGS/3d-tiles/tree/vctr/TileFormats/VectorData

My colleague llcrowe( [lLcrowe-dev · GitHub](https://github.com/llcrowe-dev) ) worked on this for stencil shadow volume rendering technique in Unity in order to visualize VCTR 🙂

it is also uploaded as a PR

> <https://github.com/CesiumGS/cesium-unity/pull/601>
>
> Ported the stencil shadow volume shader from CesiumJS to Unity (For URP).
> suppo…rt for stencil shadow volume rendering technique in order to render vector shapes visualize on terrain. 
> 
> (My colleague @TomLeeLive is planning to do PR for VCTR polygon mesh processing, and it would work well together with this functionality.)
> 
> Instruction.
> \*\*Follow this Step\*\*
> 
> //Project Setting
> 1. In ProjectSetting \>\> Graphics \>\> ScriptableRenderPipelineSetting
> 2. Select SRPSetting \>\> Rendering \>\> index0 (UniversalRendererData)
> 3. AddRendererFeature \>\> Add 2 more "RenderObjects (Experimental)" A, B
> 4. Set A B RenderObjects \>\> Layer Mask \>\> "Everything"
> 5. A RenderObjects \>\> Filters \>\> LightMode Tags \>\> Add "Step1"
> 6. B RenderObjects \>\> Filters \>\> LightMode Tags \>\> Add "Step2" 
> 7. Sort this role A(Step1), B(Step2)
> 
> //Create Material
> 1. In Shader "CesiumToUnityStencilShadowVolume"
> 2. Select And RightMouseClick \>\> Create \>\> Material
> 3. Choose Color
> 
> // Use case example
> 1. Return the Scene. And Create cube. 
> 2. Apply the Material(CesiumToUnityStencilShadowVolume) To the cube \>\> Set Scale (1, 20, 1)
> 3. Create Other Cube \>\> Set Scale (100, 1, 100)
> 5. Select Apply the Material cube \>\> Overlap the two cube

test scene capture image is here below( with VCTR polygon test data )

 ![화면 캡처 2025-08-25 142726](https://global.discourse-cdn.com/cesium/original/3X/a/4/a431da8c7db07d1f3b8d6cd0884050dcee8b75fa.jpeg)

I’ve not tested with cesium ion asset tileset (5737) in the example below. I have no idea how to load it in Unity. I expect that it will work well too

> **[Cesium Sandcastle](https://sandcastle.cesium.com/?src=3D%20Tiles%20Terrain%20Classification.html)**
>
> The Cesium Sandcastle provides an interactive environment for testing Cesium code.

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [August 27, 2025, 1:14am UTC](https://community.cesium.com/t/vctr-polygon-point-data-processing-and-visualize/42980/2 "2025-08-27T01:14:45Z")

</div>

Thank you both for all your work on these PRs, and for sharing them with the community!

---

<div class="post-metadata">

**Author:** ![Tom\_Lee](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tom_lee/32/31450_2.png) [@Tom\_Lee](https://community.cesium.com/u/Tom_Lee)\
**Post date:** [August 27, 2025, 1:28am UTC](https://community.cesium.com/t/vctr-polygon-point-data-processing-and-visualize/42980/3 "2025-08-27T01:28:11Z")

</div>

Thanks! It’s my pleasure.

I’d appreciate it if you could review the PR!
