| | Re: L3P On Strike
|
|
(...) Yes, it did the trick! I just pasted "SET LDRAWDIR=F:\LDraw" into the batch file and L3P went nicely back to work. Now I have to figure out how to remind Windows please to use its enviroment variables... Thanks again! /Tore (18 years ago, 22-Apr-07, to lugnet.cad.ray)
|
|
| | Re: L3P On Strike
|
|
(...) Sometimes Windows seems to have a hard time remembering environment variables in DOS boxes (I'm sure there's some long, complicated and stupid system to it). Maybe add something to set them to the batch files and see if it works. Tim (18 years ago, 22-Apr-07, to lugnet.cad.ray)
|
|
| | Re: L3P On Strike
|
|
(...) Thanks for your quick reply. Yes, it is my method of marking that the file represents one animation frame. '@' is a legal filename character and has worked before, but to be 100% sure, I removed it from the batch file as well as from the model (...) (18 years ago, 22-Apr-07, to lugnet.cad.ray)
|
|
| | Re: L3P On Strike
|
|
--snip-- (...) Is the above '@' verbatim? Could it be causing the problem? Tim (18 years ago, 22-Apr-07, to lugnet.cad.ray)
|
|
| | L3P On Strike
|
|
I have used L3P for years, and suddely it went on strike. AutoExec.bat still contains: SET LDRAWDIR=F:\LDraw And the SET command still outputs: LDRAWDIR=F:\LDraw And C:\Windows\ldraw.ini still contains: BaseDirectory=f:\LDraw But running the .bat (...) (18 years ago, 22-Apr-07, to lugnet.cad.ray)
|
|
| | Re: POV Color Cheat! Turn Pink into Medium Blue
|
|
(...) I thought it was, but in this case it wasn't. The color 24 line can be skipped. And the double pigment declaration was just a pure mistake; one definition is of course sufficient. :) /Tore (18 years ago, 9-Apr-07, to lugnet.cad.ray)
|
|
| | Re: POV Color Cheat! Turn Pink into Medium Blue
|
|
(...) Good to know. Thanks! (...) I kind of recall that. In some cases, I've seen that L3P ignores an LDraw file with just Type 0 lines. I haven't checked if the IFPOV code makes it not ignore C13-73.dat, but I just did it in a routine manner. /Tore (18 years ago, 9-Apr-07, to lugnet.cad.ray)
|
|
| | Re: POV Color Cheat! Turn Pink into Medium Blue
|
|
(...) If you want to see the medium blue in LDView, just add the following line to C13-73.dat (anywhere outside the IFPOV section): 0 !COLOUR Medium_Blue CODE 13 VALUE #6E99C8 EDGE 0 Tore, is the color 24 line in the file necessary in order to make (...) (18 years ago, 9-Apr-07, to lugnet.cad.ray)
|
|
| | Re: POV Color Cheat! Turn Pink into Medium Blue [DAT]
|
|
(...) This is a great idea that deserves to be highlighted while we're waiting for L3P and other programs to support ldconfig.ldr! Inpired be the objects like timers, dialog objects, menu items etc I add to a Form in a Delphi project, I just came up (...) (18 years ago, 9-Apr-07, to lugnet.cad.ray)
|
|
| | Re: Inverse matrix?
|
|
The latest: (URL) (18 years ago, 8-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix?
|
|
(...) Well I'll be! That works too! Thanks you guys! James (18 years ago, 8-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix? [DAT]
|
|
(...) Did you mean this: [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ] [ 1 5 9 13 2 6 10 14 3 7 11 15 4 8 12 16 ] I have yet to try it. James (18 years ago, 8-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix?
|
|
(...) I learned my matrix math from a 3d game programming book and I have no idea what the diagonals are... I was going to look it up but I got Travis' code to work! (URL) might still look it up as I may need to know about it) James (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix?
|
|
(...) I mean swap the OFF-diagonals, leave the diagonals as is. (...) (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix?
|
|
(...) Just take the transpose of the 3x3 world rotation matrix and it should work as the inverse. Transpose means swap diagonals M[1,2] <=> M[2,1] etc. If this doesn't work I've misunderstood you. Tim (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix?
|
|
(...) Hehehe, cool, I'll try that. Thanks! James (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix?
|
|
Clarification! .... snip (...) I am using additional points to specify the location of feet. Combined with the model location, I have 3 points for the hip and feet. [now the following paragraph should make more sense] (...) (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix?
|
|
(...) Arg. I thought this was going to be easy. I liked this part of the wikipedia article: "In practice, inverting a matrix is rarely required. Most of the time, one is really after the solution of a particular system of linear equations." Hm. I (...) (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix?
|
|
(...) I just realised something... do you want a general inverse or a specific inverse? Some inversions are simple eg. a pure rotation can be inverted by taking its transpose and reflections are their own inverses. Tim (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
|
| | Re: Inverse matrix?
|
|
(...) There really is no easy way to do it. Feel free to look at TCVector::invertMatrix in the LDView code if you want to see code that does it on a 4x4 matrix. To convert a 3x3 matrix into a 4x4 matrix, put the 3x3 in the top left, put a 1 in the (...) (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|