+ Reply to Thread
Results 1 to 6 of 6

Thread: FBX Export Issues / Unreal UDK

  1. #1
    Jonah Adkins
    Join Date
    Apr 2010
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default FBX Export Issues / Unreal UDK

    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!
    Jonah Adkins, GISP
    Lead GIS Engineer
    BAE Systems/US ARMY JTCOIC
    http://jonahsmaps.tumblr.com
    http://geographyoflost.tumblr.com

  2. #2
    Matthias Buehler

    Join Date
    Oct 2011
    Posts
    1,054
    Points
    316
    Answers Provided
    79


    0

    Default Re: FBX Export Issues / Unreal UDK

    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 ?
    _________________

    CityEngine Machinist

    * YOUTUBE CHANNEL : www.youtube.com/channel/UCNS4TLgToEDQiH9pi06ofOA
    * tutorial videos : http://forums.arcgis.com/threads/648...URCES-FAQ-HELP
    * Please use the rating buttons on the right side !

  3. #3
    Jonah Adkins
    Join Date
    Apr 2010
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default Re: FBX Export Issues / Unreal UDK

    Quote Originally Posted by matthiasbuehler View Post
    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..??
    Jonah Adkins, GISP
    Lead GIS Engineer
    BAE Systems/US ARMY JTCOIC
    http://jonahsmaps.tumblr.com
    http://geographyoflost.tumblr.com

  4. #4
    Matthias Buehler

    Join Date
    Oct 2011
    Posts
    1,054
    Points
    316
    Answers Provided
    79


    0

    Default Re: FBX Export Issues / Unreal UDK

    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 ?
    _________________

    CityEngine Machinist

    * YOUTUBE CHANNEL : www.youtube.com/channel/UCNS4TLgToEDQiH9pi06ofOA
    * tutorial videos : http://forums.arcgis.com/threads/648...URCES-FAQ-HELP
    * Please use the rating buttons on the right side !

  5. #5
    Jonah Adkins
    Join Date
    Apr 2010
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default Re: FBX Export Issues / Unreal UDK

    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...
    Jonah Adkins, GISP
    Lead GIS Engineer
    BAE Systems/US ARMY JTCOIC
    http://jonahsmaps.tumblr.com
    http://geographyoflost.tumblr.com

  6. #6
    Matthias Buehler

    Join Date
    Oct 2011
    Posts
    1,054
    Points
    316
    Answers Provided
    79


    0

    Default Re: FBX Export Issues / Unreal UDK

    ok, cool !

    let me know how it works !
    _________________

    CityEngine Machinist

    * YOUTUBE CHANNEL : www.youtube.com/channel/UCNS4TLgToEDQiH9pi06ofOA
    * tutorial videos : http://forums.arcgis.com/threads/648...URCES-FAQ-HELP
    * Please use the rating buttons on the right side !

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts