Results 1 to 7 of 7

Thread: How to create my own 3D files.

  1. #1

    How to create my own 3D files.

    Hi all
    I want to know how I create my own 3D files, 3D files that should contain what data? I read somebooks through this a few days, learned that it should include vertices, lines, polygons, that enough? Another question, I put these data into the database or store as files, which is better? why?

    ths all.

  2. #2

    Re: How to create my own 3D files.

    If you make it database you can't open it with anything else than your own loader, is possibly larger and slower to open.

    On current day modellers use all same programs like 3DS Max or Lightwave etc. That defines what file formats programmers need to use, and it's not a bad thing really, lots of thought have put into their design.

    I went using my own text format but also OBJ and little bit Milkshape3D is supported. Most people use 3DS, MD2 or MD3 format but you can expect to study a bit to learn them.

    Lines? There is no such thing in 3D model. Vertices, polygons, texture coordinates, normals, possibly color materials, animation frames and bones.

  3. #3
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    The Netherlands, Eindhoven

    Re: How to create my own 3D files.

    You can look at the .obj spec. Could provide a lot of information about what date to store:
    NecroSOFT - End of line -

  4. #4

    Re: How to create my own 3D files.

    Very grateful to User137,NecroDOME.

  5. #5

    Re: How to create my own 3D files.

    User137 I use 3DMax export an architectural model to obj file , I found that the obj file is too big.
    I want create a virtual reality program, and if so, the model file will occupy considerable disk space.

  6. #6

    Re: How to create my own 3D files.

    I don't have experience in such advanced stuff, but it sounds like you might need a different approach. If object is too big for file then it is more than likely too big for video memory aswell - too slow to render if its at all possible to open.

    I would think no game uses a single model for terrain or full buildings. Instead self made editors which combine shapes and many objects.

    OBJ is big because it is text inside. 3DS and many others are binary but if you like the challenge (and isn't hard) you can make converter that reads OBJ and saves it again in binary format. Floating point numbers will each fit in 4 bytes instead of for example "900.512334" string that is separated by line change too.

  7. #7

    Re: How to create my own 3D files.

    thank you very mach.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Comodo SSL