8 Replies Latest reply on Jul 24, 2014 5:30 PM by zdseagle-co-nz-esridist

    FBX Export Issues / Unreal UDK

    jadkins
      New to CityEngine and having fun! I have selected several buildings, and am exporting them to fbx with a 'write t3d' python script on the back end. The t3d script creates a name for each building (actor). The fbx exporter creates a seperate name for each fbx model. Therefore the models referenced in the t3d dont match.

      Help!
        • Re: FBX Export Issues / Unreal UDK
          MBuehler-esristaff
          Hi Jonah,

          are you writing that python script yourself or did you find the old one we provided 1.5 years ago on the old procedural forum ?
          • Re: FBX Export Issues / Unreal UDK
            jadkins
            Hi Jonah,

            are you writing that python script yourself or did you find the old one we provided 1.5 years ago on the old procedural forum ?


            I am editing the old script "write_instances_t3d.py" I was able to successfully edit the script to match the names assigned by the fbx exporter. It seems there should be a way to change the naming convention that is assigned by the fbx exporter.

            Haven't figured out how to get the textures to come into the UDK on the fbx models..??
            • Re: FBX Export Issues / Unreal UDK
              MBuehler-esristaff
              I am not really familiar with the script, but what I'd recommend is you adapt the fbx exporter settings to change the behavior ..


              sorry to ask, but did you check the CE Help (F1) Python Scripting > Commands by Category > FBXExportModelSettings
              ?

              class FBXExportModelSettings :
              setGeneralName()



              to also get the textures and copy them to the output dir, I'd use :
              getMaterialsCollectTextures()




              does this what you need ?
              • Re: FBX Export Issues / Unreal UDK
                jadkins
                I ended up modifying the script to change the name of the paths in the t3d script to match the auto-naming of the fbx exporter.....i like your suggestion about the fbx name call, i will have to look into that...
                • Re: FBX Export Issues / Unreal UDK
                  MBuehler-esristaff
                  ok, cool !

                  let me know how it works !
                  • Re: FBX Export Issues / Unreal UDK
                    dbawel
                    Hi,

                    I was trying to contact Jonah as he appears to be the only person I've found with any question related to Unreal Engine.  We are having issues exporting FBX files from City Engine in groups that we can use to remap and work with in Unreal 4 as well as Motionbuilder.  If Jonah can respond to this post to describe the issue he was having as well as any info he can provide about FBX exporting from CE, this would be very valuable to us.  Also, I cannot locate the write_instances_t3d.py script that is referenced in this post.
                    If anyone can respond with info on how we can have more control over the model and texture export as FBX file from City Engine, this would be great.  Otherwise, the way they are currently grouped on export is useless for us in Unreal and Motionbuilder.

                    Thank you,

                    David Bawel
                    • Re: FBX Export Issues / Unreal UDK
                      jadkins
                      David,

                      Sad To Say I've Been Out Of The UnReal / City Engine Game For Awhile (1.5 yrs). Here Is The Link To The Older Forum Post That Includes The Download For The UnReal /UDK Workflow Sample http://forums.esri.com/CityEngine/forum-16088.html