Results 1 to 5 of 5

Thread: Is there such File Format ?

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2000
    Posts
    3

    Is there such File Format ?

    I have a lot of 3D Studio Files ,
    I'm writing a program in MSVC+OpenGL , but i don't know how to load these objects into my program , so I decided that I'll search for an ascii file format which contain data of a 3D object and draw it using OpenGL , it must contain :
    (a)vertices data
    (b)face data (3/4 points from (a) and RGB color of face)

    my question :
    a)Is there such known format which has it (including face color!) ?
    b)Is there converter from common formats to that format ?

    [This message has been edited by byaniv (edited 06-14-2000).]

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: Is there such File Format ?

    I think there are lots of those around.
    The first two that come to my mind are Alias|Wavefront's *.OBJ format, and a little more complicated to parse or convert are VRML2 files.

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2000
    Posts
    3

    Re: Is there such File Format ?

    The problem is that I need a simple file format :
    just a vertices,faces from those vertices and face color
    I know that there are a lot of file-formats but they full of a lot of other stuff like lighting info
    I need something like the raw format (=just vertices) but also plus face-color information , 10ks in advance .

    Originally posted by Relic:
    I think there are lots of those around.
    The first two that come to my mind are Alias|Wavefront's *.OBJ format, and a little more complicated to parse or convert are VRML2 files.


  4. #4
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,502

    Re: Is there such File Format ?

    Well, if thats the file format you want then simply make your data files fit your specification. You don't have to use some well known format if you aren't planning on making the data viewable in other programs.

  5. #5
    DelsydSoftware
    Guest

    Re: Is there such File Format ?

    One other solution,if you don't mind having hardcoded objects,is to get a copy of 3d Exploration.It let's you output 3ds files as OpenGL code,but you can make it save out only the data that you need,(I.E vertices,surfaces,etc.).

    If you wanted to get creative,you could make a file parser that opened those OGL files and read in the proper data.
    Just a thought...

    Chris

Similar Threads

  1. txt file 2 NVIDIA scenegraph file format (.nbf)
    By Giancarlo in forum OpenGL: General
    Replies: 1
    Last Post: 07-20-2009, 06:37 PM
  2. Replies: 12
    Last Post: 05-25-2005, 12:42 PM
  3. OT - TGA File format ...
    By Shag in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 12-19-2001, 12:14 AM
  4. DXF file format
    By anngo in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-10-2001, 02:33 AM
  5. Replies: 5
    Last Post: 12-14-2000, 03:19 PM

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