Display DWG file data using OpenGL

Discussion in 'AutoCAD' started by Aanand Yatri, May 16, 2008.

  1. Aanand Yatri

    Aanand Yatri Guest

    Hi All,

    I am at present working on reading DWG file containg 2D data using
    RealDWG library and displaying its content using OpenGL.
    At present I am able to retrieve the entity data (e.g. line, circle
    etc), but could not able to see the drawing done using the OpenGL
    API's.
    As am working with the DWG file for the first time, I'll appreciate
    your reply on -
    # if DWg file contains any information regarding scaling, view
    region,
    # if the coordinates of different entitys mentioned in the DWG file
    posses any unit e.g. mm. ( Do I need to do any conversion prior
    passing the coordinates values to OpenGL API's)

    Please give me an idea about DWG data as to display it with OpenGL.
    I’ll appreciate your reply.
    Thanks.
    - Prashant.
     
    Aanand Yatri, May 16, 2008
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.