| | Re: Simple Maths Help Needed
|
|
(...) I think what you want is: value = start_value + ((end_value - start_value) * (Progress - from) / (to - from)) HTH ROSCO (19 years ago, 4-Feb-06, to lugnet.cad.dev)
|
|
| | Simple Maths Help Needed
|
|
I'm ashamed to admit, but I have got stuck in a quite simple Maths problem. It's all about an implementation of the basic formula y=kx+m, but somehow I have managed to think the wrong way. Luckily, I made problems like this in a glanse back in (...) (19 years ago, 4-Feb-06, to lugnet.cad.dev)
|
|
| | Re: LDraw File Repository version 1.0 released
|
|
(...) Hello, I am glad to see there is a place where one can quickly identify WHAT can be found, usually site promotion means i know WHERE to go, just to explore and discover nothing crosses my interests. Even if the list is far from exhaustive it (...) (19 years ago, 21-Jan-06, to lugnet.cad.dev)
|
|
| | LDraw File Repository version 1.0 released
|
|
Version 1.0 of the LDraw File Repository is now available: (URL) repository currently has downloads of files by 5 authors, totaling 362 LDraw files, 10.7 MB. Most of the files are available on the authors' sites, but a few extras not on the authors' (...) (19 years ago, 21-Jan-06, to lugnet.cad.dev, lugnet.announce)
|
|
| | Re: L3P "Skip" part metacommand
|
|
(...) That looks perfect. Thank you :) (19 years ago, 18-Jan-06, to lugnet.cad.dev)
|
|
| | Re: L3P "Skip" part metacommand
|
|
(...) It's never too late - I only hope that I'll soon have some time for L3P again. The shortest and easiest to remember keywords I could think of is: 0 L3P CAMERA_CALC OFF ... 0 L3P CAMERA_CALC ON Note, however, that it will only work in the main (...) (19 years ago, 15-Jan-06, to lugnet.cad.dev)
|
|
| | Re: L3P "Skip" part metacommand
|
|
(...) That's almost there but it still includes that part in the camera position calculations so doesn't really leave me better off. This would still require copying the camera data over. I'll have a look at doing two passes and copying it over (...) (19 years ago, 14-Jan-06, to lugnet.cad.dev)
|
|
| | Re: L3P "Skip" part metacommand
|
|
(...) True, but IFNOTPOV produces "if(0)" statements that can very easily be replaced by "if(-1)" and all the commented out tracks will be uncommented again. I find that easier than copy and paste camera positions. /Tore (19 years ago, 14-Jan-06, to lugnet.cad.dev)
|
|
| | Re: L3P "Skip" part metacommand
|
|
(...) Everything inside IFNOTPOV won't show up in the POV file at all, so that would still require two passes (one with IFNOTPOV to generate the camera, and one without to have the correct scene). --Travis (19 years ago, 14-Jan-06, to lugnet.cad.dev)
|
|
| | Re: L3P "Skip" part metacommand
|
|
(...) It's not what you're asking for, but I have code in an (unreleased) version of LDView that will put a POV camera into the clipboard based on the current view in LDView. It then lets you compose your view in LDView and simply replace L3P's (...) (19 years ago, 14-Jan-06, to lugnet.cad.dev)
|
|
| | Re: L3P "Skip" part metacommand
|
|
(...) Oh, I think I see now. What about using IFNOTPOV? (19 years ago, 14-Jan-06, to lugnet.cad.dev)
|
|
| | Re: L3P "Skip" part metacommand
|
|
(...) Not quite. Currently, L3P uses the entire visible "model" to calculate the camera position (-cg? ) to fit it all in. I would like to keep this functionality, but be able to tell it to ignore certain parts, e.g. train tracks which will extend (...) (19 years ago, 14-Jan-06, to lugnet.cad.dev)
|
|
| | Re: L3P "Skip" part metacommand [DAT]
|
|
(...) If I understand you correctly, I may already have found a solution to your problem with my two ldraw objects "camera.dat" and "look_at.dat". Following camera will be seen in any LDraw renderer, but invisible in POV: 0 ~Camera Position 0 Name: (...) (19 years ago, 14-Jan-06, to lugnet.cad.dev)
|
|
| | L3P "Skip" part metacommand
|
|
Is it too late to see a command for the new L3P to ignore a part/line when calculating the camera position/angle, but still render it in the final scene? Most of my renders are quite plane, but I'd prefer to have the railway track going beyond the (...) (19 years ago, 13-Jan-06, to lugnet.cad.dev)
|
|
| | Re: Massive LDraw file repository
|
|
(...) You can, of course, support both. The reason I say SMTP is less reliable on the client side is because you can't know if they even have an mail program, much less what it is or how it works. In an environment you're controlling (like work) (...) (19 years ago, 11-Jan-06, to lugnet.cad.dev)
|
|
| | Re: Massive LDraw file repository
|
|
(...) I use HTTP POST to have my work computers talk to databases and it seems very unreliable because if there is a network problem, the request dies then and there. But if I use email, the server will keep retrying. But I agree, HTTP POST is easy (...) (19 years ago, 11-Jan-06, to lugnet.cad.dev)
|
|
| | Re: Massive LDraw file repository
|
|
(...) I think HTTP is more reliable in unknown environments... From the server side, the HTTP method might be more complex, but keeping the complexity on the server side is better than making complex clients. (...) Right - the clients pushing data (...) (19 years ago, 10-Jan-06, to lugnet.cad.dev)
|
|
| | Re: Massive LDraw file repository
|
|
(...) I find it easier to make a script dump an e-mail with some text in a mailbox than to hack a HTTP POST form. I might not care to implement such an announcement feature in my script, if it was too much work to do. Sending e-mail and posting to (...) (19 years ago, 10-Jan-06, to lugnet.cad.dev)
|
|
| | Re: Massive LDraw file repository
|
|
(...) Using email for the transport here is just adding comlication - why not just have a web API that the remote repos use to notify of updates? Could be a fancy SOAP/REST interface, or a simple POST form. It's not hard to parse email, but it's (...) (19 years ago, 10-Jan-06, to lugnet.cad.dev)
|
|
| | Re: Massive LDraw file repository
|
|
(...) I'm very lazy. ;) Any interest in a copy of the program that generates my overview file? (...) Definitely. Maybe we should take a few moments to think about how to announce the available LDraw files on a web site? Is the NNTP/SMTP header (...) (19 years ago, 10-Jan-06, to lugnet.cad.dev)
|