Hello!
I am trying to make a converter in C#. The goal is making a working converter that can convert a binary mesh file into wavefront .obj, and vice versa (3d models). Converting the binary file to obj is already working, now I'm working on the reverse. The problem is, when I use the BinaryWriter to do the opposite actions from the BinaryReader used in the first converter.
To undo the BinaryReader.Re adSingle() method I'm using the BinaryWriter.Wr ite(Single). And for the BinaryReader.re adInt16 I'm using BinaryWriter.Wr ite(int16).
My problem is, I get a totally different file from the one I started with, without modifying the model.
Could anybody help me out?
Thanks,
Perry
EDIT: SORRY WRONG SECTION :/
I am trying to make a converter in C#. The goal is making a working converter that can convert a binary mesh file into wavefront .obj, and vice versa (3d models). Converting the binary file to obj is already working, now I'm working on the reverse. The problem is, when I use the BinaryWriter to do the opposite actions from the BinaryReader used in the first converter.
To undo the BinaryReader.Re adSingle() method I'm using the BinaryWriter.Wr ite(Single). And for the BinaryReader.re adInt16 I'm using BinaryWriter.Wr ite(int16).
My problem is, I get a totally different file from the one I started with, without modifying the model.
Could anybody help me out?
Thanks,
Perry
EDIT: SORRY WRONG SECTION :/