As suggested by Sean to concentrate on making "Online Geometry Viewer" instead of geometry editor, I started moving in this direction.
I started with making a simple BRL-CAD database file having a object (sphere) and converted it to text format using g2asc. I found all input information, category of entity and additional information in the form of A (x1, y1, z1), B(x2, y2, z2) and C(x3, y3, z3). Then used "l" (small L) command in command window, and concluded that these may be the vectors since magnitude value is written alongside. Later, above was confirmed after checking in Vol 2 Introduction to MGED. Then added other objects such as rcc and rpp to examine how they are represented in database. This text format of geometry file will help to perform operations of reading / parsing and obtaining the required information to fed to webGL functions. Also I was working on patch this time more seriously and I got the logic of f_journal(). But I didn't found any code block within that function that write data in journal file. Where the f_journal() is called? -- Harmanpreet Singh Blog: http://singhharman.wordpress.com/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
