Then we imported the same file into City Engine, but the textures were missing to view. Please find the below screenshot.
Now, we prepared textures including the top image in 3DS Max Application as individual buildings and exported DAE format, please find the below screenshot.
The same file was imported in City Engine but the model was shaped out, We tried to fix the issue, but it was creating the same problem with the City Engine application. Please find the below screenshot. Whereas the data appears good in the other formats. Please suggest further.
We have assigned generic textures in City Engine and buildings are showing proper shapes with texture, please find below screenshot.
Once we export into DAE format, models are not showing properly, please find below screenshot.
Please suggest us the way further. Also, City Engine is not allowed to assign the RoofTop image texture.
3d Model(.dae) is also attached.
Regards
Muhammad Shahzad
The best luck I've had working with Sketchup models is exporting as KMZ files. It ends up being a DAE also but you should see the textures.
Give that a try and report back.
Hello @Muhammad_ShahzadZafar
When looking at your provided Collada (.dae) 3d Model, I noticed that most geometries have a redundant material assigned. This might have happened unintentionally during the modelling process.
A simple insert rule can remove the undesired materials:
version "2021.0"
@File
attr assetPath = "DAE/Part1/Part1.dae"
attr removeMaterial = ["__auto_1","__auto_","__auto_4"]
R-->
i(assetPath, yUp, keepSizeAlignPosition)
comp(m){all: RemoveMat }
RemoveMat -->
case findFirst( removeMaterial , material.name) > -1:
NIL
else:
print(material.name)
X.
This lets you then get the textured buildings in CityEngine: