• Game Development

    From Jean-Christophe@21:1/5 to All on Fri Oct 16 18:24:51 2015
    "Dev57868022" :
    I Want to learn to load and render 3ds file format on opengl screen.
    Please describe me in easy way.

    AFAIK there's no "easy way" to do this : you'll have to parse the chunk
    headers and then process data accordingly, which means that you
    first have to learn the file format before writing your loader's code.

    Here's the file structure description : http://www.martinreddy.net/gfx/3d/3DS.spec

    HTH

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dev57868022@21:1/5 to All on Fri Oct 16 04:37:38 2015
    I Want to learn to load and render 3ds file format on opengl screen. Please describe me in easy way.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johann Klammer@21:1/5 to All on Sat Oct 17 08:58:08 2015
    On 10/16/2015 11:37 AM, Dev57868022 wrote:
    I Want to learn to load and render 3ds file format on opengl screen. Please describe me in easy way.


    There was a lib3ds once, with a demo for openGL... does it still exist?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jean-Christophe@21:1/5 to All on Sat Oct 17 11:30:12 2015
    "Johann Klammer" :
    There was a lib3ds once, with a demo for openGL... does it still exist?

    Try to search (for instance, GNU)
    https://code.google.com/p/lib3ds/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From R.Wieser@21:1/5 to All on Sat Oct 17 01:12:24 2015
    Dev57868022,

    Although I agree with Jean-christophe, the easiest way is to look at how
    others did it. So, google someone who posted his/her sourcecode, and study
    it.

    Ofcourse, this is assuming you actually want to *learn*, instead of having a loader. If not, the easiest way is to include the found sourcecode into
    your own project. :-)

    Regards,
    Rudy Wieser


    -- Origional message:
    Dev57868022 <devendrarajaryal@gmail.com> schreef in berichtnieuws QdadnV1Of4P_WL3LnZ2dnUU7-a2dnZ2d@giganews.com...
    I Want to learn to load and render 3ds file format on opengl screen.
    Please describe me in easy way.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From J. Scheurich@21:1/5 to All on Sun Feb 14 19:51:32 2016
    I Want to learn to load and render 3ds file format on opengl screen. Please describe me in easy way.

    There is a additional way to lib3ds, but it is a bit more complicated:

    There is a program to render X3D/VRML with opengl/jogl: white_dune

    http://wdune.ourproject.org/

    First you have to convert your 3ds file to a X3D file, this can be
    either done with 3D Studio MAX or blender (blender can not export
    animations to X3D).

    With white_dune, you can export a C, C++ or java file.

    In wdune*/docs you can find export_example_c* or
    export_example_java with example how to render the
    exported scenegraph with GLUT/OpenGL (or jogl).

    so long
    MUFTI

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)