Results 1 to 4 of 4

Thread: OBJ(wavefront) and .JSON Converter Release [Open Source]

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    3

    OBJ(wavefront) and .JSON Converter Release [Open Source]

    Hello I've been quite interested in WebGL for quite some time now and I was getting annoyed of the lack of plugin support or older script comparability new 3D Applications are doing these days, so I went ahead and wrote a program that converts OBJ(wavefront) 3D model format to the JSON format and can do the other way around. I wanted to write something you don't need to write or have your artists/programmers spending more time writing plugins just to get a model going on the screen.

    Features:
    * Drag and drop support on executable.
    * Easy to use program.
    * Converts OBJ to JSON
    * Converts (converted)JSON to OBJ

    Recommended:
    Windows 2000, XP, Vista, Win7
    Mac OS X 10 (Not Available Unless Requested)

    Download Program for Windows (.zip)

    Download Source Code [Visual Studio 2008 C++] (.zip)

    Please post comments, suggestions, questions and what have you here or to my email.

  2. #2
    Junior Member
    Join Date
    Aug 2011
    Posts
    3

    Re: OBJ(wavefront) and .JSON Converter Release [Open Source]

    Download Source Code [Visual Studio 2008 C++] (.zip)

    That is the correct link to the source code, it appears I cannot edit at the moment. =/

  3. #3
    Junior Member
    Join Date
    Aug 2011
    Posts
    3

    Re: OBJ(wavefront) and .JSON Converter Release [Open Source]

    2.0 Has Been Released Including Source Code:

    Changes I've Made

    Program and source now uses GNU License

    Program Changes
    • By default program is in silent mode if path argument is found.
      Triangles Allowed Only
      Better Error Handling Support
      Fixed Start Up Crash on Some PCs.
      New Help Output (Will Include License Information)
      Included new command line arguments.


    -debug = Prints out important variable's values.
    -verbose = Allows print on console.
    -overwrite = Allows overwritting of files.
    -help = Displays helpful information such as commands and license information.

    Source Code Changes
    • Added Model Class (Keeps Model Data)
      Added JSON Class (Load/Saves JSON files)
      Added OBJ Class (Loads/Saves OBJ files)
      Added BAF namespace (Brute Array Functions)
      Added ErrorHandler Class
      Changed: OBJtoJSON.cpp to main.cpp (Seemed More Appropriated)
      Cleaned OBJ Loader sscanf spamming for faster parsing.
      Removed deinitalizers on classes not for inheritance.
      Error Handling is now being used on all file functions to detect file reading/writing


    DOWNLOAD: Windows Executable (.zip)

    DOWNLOAD: Source Code [VS2008 C++] [.zip]

  4. #4
    Junior Member
    Join Date
    Apr 2012
    Posts
    1

    Re: OBJ(wavefront) and .JSON Converter Release [Open Source]

    Hey,

    I am trying to convert my json file into obj .
    The json file contains vertices normals and colors of the molecule.
    but the converter fails to do anything.

    i downloaded the last executable link from this forum.


    DOWNLOAD: http://www.mediafire.com/?0oynrpi11opvkm7

Similar Threads

  1. Wavefront obj loader material problem
    By lenka in forum OpenGL ES 1.X - fixed function hardware
    Replies: 0
    Last Post: 11-14-2010, 09:53 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
  •