Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 29 Oct 2012
Offline Last Active Nov 15 2012 03:45 AM

Posts I've Made

In Topic: STL Mesh Rendering

15 November 2012 - 03:48 AM

So, I have tried for the past week without any luck with Assimp (no proper documentation, etc) and I have implemented a pretty efficient STL Rendering system using VTK. If there are any updates/changes, I will probably update it in the VTK forum (since now it has become completely unrelated to NeHe). Posted Image

To everyone who replied - thank you. Posted Image

In Topic: STL Mesh Rendering

05 November 2012 - 05:01 AM

Does anyone have any references to documentation regarding Assimp..? I have been trying since the past week and I haven't been able to even get the importer to fire up.. The documentation given in the site of the source code isn't very comprehensive and the sample codes just do not work. :(

In Topic: STL Mesh Rendering

30 October 2012 - 08:34 AM

Maybe simpler to learn and integrate a 3rd party API (Assimp etc) rather than learn how to parse file formats from scratch. At least consider it one more good time before continuing. Both paths will be beneficial to your learning.

Okay, thanks.

In Topic: STL Mesh Rendering

30 October 2012 - 08:25 AM

I actually tried attaching a part of the file here but the attachement plugin wouldn't let me do it. I didn't know that the input formats for Binary and ASCII STLs were different..

In any case, the name of the mesh is irrelevant, right..? I mean, as long the normals and vertices can be read, they will be rendered, right..? Posted Image

I have found extensive software packages that do a lot of stuff (Assimp, VTK, etc).. But they are way too complicated and just increase the dependencies of my code. I would prefer to have something much simpler.. Posted Image Posted Image

In Topic: STL Mesh Rendering

30 October 2012 - 06:54 AM

I'm confused. The file in your original post looks like some kind of text format. Your code appears to be trying to treat it as binary data. Have you pre-processed / compiled the file into a binary format?

The data type is ASCII STL. I will run the code you have given and update asap. Thanks. Posted Image