Results 1 to 4 of 4

Thread: export to CATIA

  1. #1
    Join Date
    Feb 2008
    Posts
    4

    Question export to CATIA

    I would like to need how to get the image resources when I do an export to catia
    I get the file .fx but no texture file and so on
    Thank you for answering

  2. #2
    Join Date
    Jun 2007
    Location
    Berlin
    Posts
    447

    Default

    When you export to Catia, only the path to the textures is stored in the .fx file, no textures are exported. When using textures in Catia, make sure that the .dds files are in a power of two size, otherwise you'll have problems when loading.
    Before exporting select the textures that you want to use and export your shader for Catia. When you load it into Catia, it should work fine. Should your shader have problems when rendering (or show up as a yellowish-looking surface) check out the cgFX compiler error log: This log can be found under
    <Documents and settings>/<username>/Local Settings/Application Data/DassaultSystemes/CatTemp/CatCGFX_Errors.txt

    Best Regards,
    Ruediger

  3. #3
    Join Date
    Feb 2008
    Posts
    4

    Default

    Thank you for answer but I do not understand excatly how to select the texture
    let see the attached file
    there are two textures in the parameter part It is these texture I would like to export with the file.fx
    Last edited by fmn; October 17th, 2008 at 16:18.
    Best regards
    FMN

  4. #4
    Join Date
    Jun 2007
    Location
    Berlin
    Posts
    447

    Default

    Before going into detail, I have to disappoint you that Catia's .dds support is a bit restricted. For the nodes that generate procedural patterns (like the wood) catia can't read the .dds file properly, resulting in a broken display. We're workin on this and hope to find a solution in the near future.

    Anyways, to answer you question:
    You can choose the texture using the "..."-box as you can see in the attached image. In the image you see that there's the filename only, so mental mill exports the texture only relative: Thus you'd have to put the files "noise_perm.dds" and "noise_grad.dds" in the same path of the exported shader. Or you give an absolute path like "C:\programs\mentalmill\textures\noise_perm.dd s"
    In this case Catia will find the texture immediately (but still can't open it).
    The texture_lookup_2d nodes work fine though.

    Best Regards,
    Ruediger

Posting Permissions

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