Results 1 to 7 of 7

Thread: DLL Using OpenGl

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2008
    Location
    India
    Posts
    8

    DLL Using OpenGl

    Hello,

    I am new to OpenGL. I have to create a dll using OpenGL that will take the pdc from an application and set the camera and other properties of the AutoCAD(ViewPort) so that AutoCAD can draw pointcloud efficiently.
    nilesh mamgain

  2. #2
    Senior Member OpenGL Pro dletozeun's Avatar
    Join Date
    Jan 2006
    Location
    FRANCE
    Posts
    1,367

    Re: DLL Using OpenGl

    please excuse my ignorance, but what is pdc?

  3. #3
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: DLL Using OpenGl

    If I understand you correctly you want to write an Autocad plugin. I doubt that anyone here can help you with that. Please ask some Autocad people...

  4. #4
    Junior Member Newbie
    Join Date
    Jul 2008
    Location
    India
    Posts
    8

    Re: DLL Using OpenGl

    Context Device (CDC*) is class in VC++.Pdc can be an Object of this Class which helps to draw on canvas.
    nilesh mamgain

  5. #5
    Junior Member Newbie
    Join Date
    Jul 2008
    Location
    India
    Posts
    8

    Re: DLL Using OpenGl

    Yes, you are right, but the thing is the Points,Camera Angle and other view Port properties would be passed to my DLL and I will have to render it.I am new to OpenGL and do not know the various classes available GLUT Library.
    nilesh mamgain

  6. #6
    Junior Member Newbie
    Join Date
    Jul 2008
    Location
    India
    Posts
    8

    Re: DLL Using OpenGl

    sorry class of MFC
    nilesh mamgain

  7. #7
    Senior Member OpenGL Pro dletozeun's Avatar
    Join Date
    Jan 2006
    Location
    FRANCE
    Posts
    1,367

    Re: DLL Using OpenGl

    Ok thank you nilu12.

    I am not sure to understand, you need to call opengl commands to draw in the autoCAD viewport or do you draw in a seprate window?

    First case, Zengar is right and you should read how to write a AutoCAD plugin, I doubt that you have to render directly in in the viewport.

    Second case, if you need information about glut, this tutorial is good. Then, you can find more information about opengl in NeHe tutorials.

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