Unity oblique photography development-Unity loads oblique photography models in 3DTiles format

  1. First, let’s take a look at the effect of Unity loading the 3DTiles format.
  2. First use the oblique photography model in osgb format generated in the previous chapter. The address of the previous section: Unity oblique photography development-aerial image generation 3mx and OSGB model_Virtual Reality (Mote) Blog-CSDN Blog
  3. Using the Software
    1.  Unity3d
    2. 3DTiles (Unity3d plug-in, you can download it from the Unity Mall, download address: 3DTiles | Modeling | Unity Asset Store
  4. Use Unity to create a URP rendering pipeline project (the plug-in supports the default rendering pipeline and HDRP rendering pipeline. The author uses the URP rendering pipeline here to facilitate WebGL and mobile terminals to load models), and import the 3DTiles plug-in
  5. 3D uses the built-in tool of the plug-in to convert OSGB format to 3DTiles format. Click Window->3DTiles->ConvertTo3DTiles to open the window for converting OSGB to 3DTiles, as shown in the figure below. Select the OSGB directory, select the 3DTiles directory to be saved, and click Convert button and wait for the conversion and Unity to finish loading the model
  6. Choose to open the Demo_2 case project in the 3DTiles plug-in and modify the url, as shown in the figure below
  7. If the model does not appear in the camera's field of view and is not loaded, you can open the tileset.json file and modify the position of the camera in Unity. The corresponding relationship is as shown in the figure below.
  8. The final effect is as follows

 

 

 

Guess you like

Origin blog.csdn.net/fengzi1103771698/article/details/132392936