Results 1 to 7 of 7

Thread: How to use DXF files

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2000
    Posts
    16

    How to use DXF files

    I whant to know i to draw my dxf files on an opengl window ???

  2. #2
    Member Contributor
    Join Date
    Jun 2000
    Posts
    63

    Re: How to use DXF files

    You can use 3D Exploration to convert 3d files to C display list code. Here is a link to there web site:
    http://www.xdsoft.com/

    It worked quite nicely for me anyway

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2001
    Posts
    3

    Re: How to use DXF files

    If you want to load the files directly, you will have to write a dxf file loader.

    There is good documentation on DXF files at the Autodesk (?) homepage (www.autodesk.com or something like that). It looks confusing, but you don't need 80% of the information provided. Simply look for the ENTITIES section, it's the only part that contains geometry data.

    I hope I could help you,
    greetings,
    Sam

  4. #4
    Junior Member Newbie
    Join Date
    Jun 2000
    Posts
    16

    Re: How to use DXF files

    Thank you for your help!

  5. #5
    Junior Member Newbie
    Join Date
    Jun 2000
    Posts
    16

    Re: How to use DXF files

    I've got the 3D Explorer : very nice
    But now, can you tell me how to use that .cpp files (the big lines will be ok)

  6. #6
    Senior Member Regular Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    472

    Re: How to use DXF files

    A piece of advice from someone whose had to use DXF's.....

    They're lame

    Don't bother loading in DXF's for the following reasons.....

    * they only store vertices
    * you therefore have to calculate normals
    * you have to calculate texturing co-ordinates
    * You'll end up doing more work trying to utilise them and blag your way round them to make them look good.

    Go to www.wotsit.org and find a file format that is a better one to use, eg *.obj, *.rib ...

    In my experiance, files that allow you to take out things such as, normals, texture co-ordinates etc. Prove to be far more useful, it speeds up the modelling process and make the models look a hell of a lot nicer.

    Try and see if your modelling package will export into any other format and use that. Trust me it'll be worth it in the end....

    [This message has been edited by Rob The Bloke (edited 06-21-2000).]

  7. #7
    Junior Member Newbie
    Join Date
    Jun 2000
    Posts
    16

    Re: How to use DXF files

    humm ...well ! very good advice, thanx

Similar Threads

  1. Replies: 2
    Last Post: 10-20-2007, 02:15 PM
  2. nvb files
    By imported_robert in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-14-2003, 02:34 AM
  3. DEM Files
    By Pete Bassett in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 11-09-2000, 03:50 AM
  4. open Gl 1.2 header files and lib files for Windows 2000
    By nes in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-20-2000, 09:55 PM
  5. open Gl 1.2 header files and lib files for Windows 2000
    By nes in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 10-20-2000, 10:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean