Is exporting labels to datasmith possible?

626
4
Jump to solution
12-06-2023 06:53 AM
Stefan_Harding
New Contributor II

I'm trying to export to Unreal engine while being able to identify specific textured sections of a shape, so that they can be replaced with higher resolution textures. I've tried using labels and other methods, but non of it gets exported. Is there a way to do this?

0 Kudos
1 Solution

Accepted Solutions
JonasObertuefer
Esri Contributor

Hi @Stefan_Harding,

Did you try the workflow described in this blog post, already?

https://community.esri.com/t5/arcgis-cityengine-documents/from-cityengine-to-unreal-engine-the-journ...

See under section Materials -> Material replacement

Best,
Jonas

 

View solution in original post

0 Kudos
4 Replies
JonasObertuefer
Esri Contributor

Hi @Stefan_Harding,

Did you try the workflow described in this blog post, already?

https://community.esri.com/t5/arcgis-cityengine-documents/from-cityengine-to-unreal-engine-the-journ...

See under section Materials -> Material replacement

Best,
Jonas

 

0 Kudos
Stefan_Harding
New Contributor II

Thanks for the help

Stefan_Harding
New Contributor II

I'm having trouble with this method were it keeps saying there a list of unexpected tokens despite none being there.

Screenshot 2023-12-07 143720.png

0 Kudos
JonasObertuefer
Esri Contributor

hmm this looks like a copy paste issue to me. I don't get any unexpected token errors when I manually type in whats in your screenshot

 

Lot-->
	set(material.shader, "/Material_test/Content/Megascans/Surfaces/Brick_Wall_wmknbhe/MI_Brick_Wall_wmknbhe_2K.uasset")

 

Did you copy it directly from the blog post? I remember having the same issue in the past that when copying CGA snippets from the blog that sometimes it copies some hidden char, which can't be handled by the CGA compiler.

I suggest to try it with a new file and manually typing it in or copy to notepad first.

0 Kudos