Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How can I use the objects which I made by 3DMax into Open GL ??!!

How can I use the objects which I made by 3DMax into Open GL ??!!

Scheduled Pinned Locked Moved C#
questioncsharphelp
5 Posts 2 Posters 0 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    suroor453
    wrote on last edited by
    #1

    I made objects By 3D Max and I want to use these objects in Open GL... I'm useing C# I Appreciate any help

    J 2 Replies Last reply
    0
    • S suroor453

      I made objects By 3D Max and I want to use these objects in Open GL... I'm useing C# I Appreciate any help

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      Well, firstly, you're going to need to render a scene in OpenGL using C#. Since OpenGL is native code rather than .NET, you'll need some bindings/wrapper to use OpenGL in C#. One such binding is the Tao OpenGL bindings[^]. You can use that to program OpenGL in your C# code. In order to load files from 3dsMax, you'll need some library that loads files exported from Max. You can code one yourself or more preferrably, find an existing one. 3dsMax can save to .max files which are proprietary and closed. .3ds files can be exported from Max, and there are many well known .3ds file parsers which can parse out a .3ds file, read in the vertices, faces, and textures, then throw those together into a DirectX or OpenGL scene. One such .3ds importer for OpenGL is available here[^].

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: I luv teh choco The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

      S 1 Reply Last reply
      0
      • S suroor453

        I made objects By 3D Max and I want to use these objects in Open GL... I'm useing C# I Appreciate any help

        J Offline
        J Offline
        Judah Gabriel Himango
        wrote on last edited by
        #3

        suroor, if you require more information, please post in the forums so that it can benefit others as well.

        1 Reply Last reply
        0
        • J Judah Gabriel Himango

          Well, firstly, you're going to need to render a scene in OpenGL using C#. Since OpenGL is native code rather than .NET, you'll need some bindings/wrapper to use OpenGL in C#. One such binding is the Tao OpenGL bindings[^]. You can use that to program OpenGL in your C# code. In order to load files from 3dsMax, you'll need some library that loads files exported from Max. You can code one yourself or more preferrably, find an existing one. 3dsMax can save to .max files which are proprietary and closed. .3ds files can be exported from Max, and there are many well known .3ds file parsers which can parse out a .3ds file, read in the vertices, faces, and textures, then throw those together into a DirectX or OpenGL scene. One such .3ds importer for OpenGL is available here[^].

          Tech, life, family, faith: Give me a visit. I'm currently blogging about: I luv teh choco The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

          S Offline
          S Offline
          suroor453
          wrote on last edited by
          #4

          I'm allready use openGL with c# I have visited this link before, but it deals with VC++ and there is no comments in the code source. if there is onther tutorial which deals with C# plz inform us thanks

          J 1 Reply Last reply
          0
          • S suroor453

            I'm allready use openGL with c# I have visited this link before, but it deals with VC++ and there is no comments in the code source. if there is onther tutorial which deals with C# plz inform us thanks

            J Offline
            J Offline
            Judah Gabriel Himango
            wrote on last edited by
            #5

            The RealmForge project[^] uses C#, OpenGL and includes a 3ds importer. You might want to look into the source packages to see how its done. Also, I believe the Axiom project includes a similar 3ds importer. You might want to check that out as well.

            Tech, life, family, faith: Give me a visit. I'm currently blogging about: I luv teh choco The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups