span8
span4
span8
span4
Hi FME 亚搏国际在线官网community.
I am trying to color my 3D object based on its fme_color attribute but I don't know how to do it.
Currently fme_color is set as cyan.So,if I can how this as 2D in the Inspector,it shows as cyan.However,if I switch to 3D,it becomes gray.I think this is a default color.I looked at the Front Appearance Reference and this setting is set as
If I can set the Front Appearance Reference as same as fme_color,then this 3D object will be cyan color.I used AppearanceSetter to manually set the Front Appearance Reference but I don't know how to change it with transformers.
If someone who knows how to do it,please share your knowledge.
Thank you in advance.
Hiroo
Hi@hirooimaki,you can use the AppearanceStyler to create a set of attributes for appearance based on attributes of incoming feature (e.g."fme_color"),then set the appearance to a 3D geometry with the AppearanceSetter.
In the case,you don't need to set color/texture parameters in the AppearanceSetter.
Thank you@takashiagain.I could make it work.First I exposed fme_color using AttributeExposer and use it in the AppearanceStyler.That was tricky!I thought I could assign fme_color in the AppearanceSetter somehow.I attached my workspace image and my test 3D model with colors here (sorry about the Japanese description!)
Write Sketchup with colors1 Answer
Colour mapping of 3D multi surfaces4 Answers
Draping polygonal features on a TIN?4 Answers
Is it possible to link cobie file of bim to a esri geodatabase?2 Answers
Morph geometry1 Answer
© 2019 亚搏在线Safe Software Inc |Legal