Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Handling A|W .obj VTs?

    SDK Help
    0
    2
    376
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 16/02/2003 at 10:09, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.012 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hi,
      I'm getting ready to open, parse, and display a Wavefront .obj file (I'd use LoadDocument() if 1. it didn't create a new document for each file (don't know how to merge yet) and 2. it retained the 'usemtl' names instead of calling each and every one "polygon selection").
      For the first two parts there is code and I don't expect much trouble in creating the geometry, but what do I do with the texture vertices (VT)?
      If there is an easier way that I have overlooked, don't hesitate to mention it. 🙂
      Thanks,
      Robert

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 20/02/2003 at 07:06, xxxxxxxx wrote:

        Same problem i'm running into too Robert, except I'm going the other way.

        If it's anything like it is for going oppisite direction, It seems that you'd have to manually have to translate the local UV coordinates on the verts into global UVW coordinates, create them as a UVW struct, put them into UVWTag array, get them into a TextureTag, register the Tag on the material and polygon.

        -eric

        1 Reply Last reply Reply Quote 0
        • First post
          Last post