 | | Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
|
|
(...) Yes, but look where the x, y, and z are. The example matrix is transposed vs the "standard" one shown in OpenGL text. If you swap the rows and columns in the above matrix, you'll get the OpenGL one. It's an alternate way of expressing a 3D (...) (19 years ago, 22-Aug-07, to lugnet.cad)
|
| |
 | | Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
|
|
(...) I think we'll just include two examples of how the data would go into a matrix in the two different directions and leave it at that. At this point, I think the best thing would be to add something like the following to the currently proposed (...) (19 years ago, 22-Aug-07, to lugnet.cad)
|
| |
 | | Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
|
|
(...) The OpenGL 2.1 specification: page 23 Vertex Arrays "Matrices are loaded into these slots in column major order." page 43 Matrices LoadMatrix takes a pointer to a 4 × 4 matrix stored in column-major order as 16 consecutive floating-point (...) (19 years ago, 22-Aug-07, to lugnet.cad)
|
| |
 | | Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
|
|
(...) You guys are both wrong, OpenGL is NOT column major. This is one of the biggest mistakes I keep hearing people repeat about OpenGL. The API doesn't care if you use column major or row major matrices, it just expects an array of 16 floats with (...) (19 years ago, 21-Aug-07, to lugnet.cad)
|
| |
 | | Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
|
|
(...) Hi again. What I meant was, I am confused by the (apparent) difference in what the *current* spec says on this issue, and what the new proposed spec says. If you will look at the current spec and scroll down near the end to the Line Format (...) (19 years ago, 22-Aug-07, to lugnet.cad)
|
| |
 | | Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
|
|
(...) From the standpoint of OpenGL, it uses row-major ordering. There are two ways to draw a transformation matrix. OpenGL uses the following (array offsets shown after): A D G X 0 4 8 12 B E H Y 1 5 9 13 C F I Z 2 6 10 14 0 0 0 1 3 7 11 15 (...) (19 years ago, 22-Aug-07, to lugnet.cad)
|
| |
 | | Re: LDraw File Format Spec 1.0 DRAFT - Call for Public Comments
|
|
(...) I came across the *current* LDraw file spec here: (URL) the matrix example is using column-major ordering. So now I'm really confused. Does the current spec use column-major, and the new spec is proposing to change it? Or is the current spec (...) (19 years ago, 22-Aug-07, to lugnet.cad)
|
| |
 | | *** LDView Version 3.2 Released ***
|
|
LDView 3.2 is now available for download from the LDView downloads page here: (URL) Please note that the translations have not yet been updated to work with this release, and translations created for version 3.1 will refuse to load. The 3.2 (...) (19 years ago, 22-Aug-07, to lugnet.announce, lugnet.cad, FTX) !!
|
| |
 | | Re: Question about LDraw.org Library Header Specification
|
|
(...) Yes. (...) Yes to that too. I've fixed both of these problems. Hopefully I didn't introduce new once (the content system on ldraw.org can be finicky). --Travis (19 years ago, 22-Aug-07, to lugnet.cad)
|
| |
 | | Question about LDraw.org Library Header Specification
|
|
At this url: (URL) you scroll down to the first Examples header (in bold) there's this line: 0 !CATEGORY Animal 0 !KEYWORDS Sting, Poison, Adventurers, Egypt Is there supposed to be a line break between "Animal" and "0"? Also, a little later in the (...) (19 years ago, 22-Aug-07, to lugnet.cad)
|