| | Re: Ldglite bug report (Was: Portable Ldraw system) Jeremy H. Sproat
|
| | (...) I've been pounding on ldglite and I think I've gotten the effect I was thinking of. I have a screenshot here (warning: 1024x768x32 PNG ahead): (URL) I made: - line types 3 and 4 render in white - color 24 renders same color as 16 (to make up (...) (22 years ago, 25-Aug-02, to lugnet.cad.dev)
|
| | |
| | | | LDGLite sketch feature (Was: Ldglite bug report) Jacob Sparre Andersen
|
| | | | (...) > > (URL) wants that! Can you dump the source somewhere, so I can rebuild LDGLite with that feature? Which flags are needed to get that look? (...) :-) (...) Certainly. Play well, Jacob (22 years ago, 25-Aug-02, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: LDGLite sketch feature (Was: Ldglite bug report) Jeremy H. Sproat
|
| | | | | (...) I didn't add any flags, I still haven't taken the time to learn that part of the code yet. However, the only changes were to L3View.cpp, and are very straightforward. Note that this is just a proof-of-concept, and is far from being ready for (...) (22 years ago, 25-Aug-02, to lugnet.cad.dev)
|
| | | | | |
| | | | | | | Re: LDGLite sketch feature (Was: Ldglite bug report) Jeremy H. Sproat
|
| | | | | | (...) Let's re-write that, and break it up a bit: - modified function DrawPart() - color 24 is replaced with CurColor instead of edge_color(CurColor), just like color 16 - switch(LinePtr->LineType) cases 3 and 4 use a constant color 15 - (...) (22 years ago, 25-Aug-02, to lugnet.cad.dev)
|
| | | | | | |
| | | | | | | Re: LDGLite sketch feature (Was: Ldglite bug report) Jacob Sparre Andersen
|
| | | | | (...) substituted "L3View.cpp" with (URL), deactivated off-screen rendering in the make file, and compiled. But when I try to use it: jsproat.ldglite -mc fly.mpd I just get the usual image. Is your function hidden in some Win32 specific code? Should (...) (22 years ago, 25-Aug-02, to lugnet.cad.dev)
|
| | | | | |
| | | | | | | Re: LDGLite sketch feature (Was: Ldglite bug report) Jeremy H. Sproat
|
| | | | | (...) Whoops! I forgot to change one item before I uploaded the cpp! Change the line (around line #67), const int jitter_num = 0; to use some positive number, e.g. const int jitter_num = 2; Cheers, - jsproat (22 years ago, 25-Aug-02, to lugnet.cad.dev)
|
| | | | | |
| | | | | | | Re: LDGLite sketch feature Jacob Sparre Andersen
|
| | | | | (...) Fixed that, cleaned out all the ".o" files, rebuilt and tried again. With the same result. :-( I hope this isn't because the Linux and Win32 versions of LDGLite actually use different source code. The make file doesn't look like it. Play well, (...) (22 years ago, 25-Aug-02, to lugnet.cad.dev)
|
| | | | | |
| | | | | | | Re: LDGLite sketch feature Don Heyse
|
| | | | | (...) Don't be silly. You're probably just making some simple mistake that'll seem so obvious you'll wonder why you didn't think of it yourself. For example, L3View.cpp is only used by the l3 parser. If you don't use -l3 on the command line, you (...) (22 years ago, 26-Aug-02, to lugnet.cad.dev)
|
| | | | | |
| | | | | | | Re: LDGLite sketch feature Jeremy H. Sproat
|
| | | | | | (...) Thanks, Don. :-, That's the trick, it seems. Using -l3 turns it on for me, -ld turns it off. Where do I make changes so that this will still work when using the ldlite parser? Cheers, - jsproat (22 years ago, 26-Aug-02, to lugnet.cad.dev)
|
| | | | | | |
| | | | | | | Re: LDGLite sketch feature Jacob Sparre Andersen
|
| | | | | | (...) Ahhh. And as I showed in my example, I didn't use "-l3". When I do, I get nice pictures like this one: (URL) of it. :-) Play well, Jacob -- Bregnerod (a LEGO town): (URL) (22 years ago, 26-Aug-02, to lugnet.cad.dev)
|
| | | | | | |
| | | | | | | Re: LDGLite sketch feature Don Heyse
|
| | | | | (...) Beats me. I'd probably grep for the render_*() functions in the lex and yacc sources files. But then you'd need to grab some lex and yacc executables for the PC to build it. You can look in the lex/yacc output files lex.yy.c and y.tab.c but (...) (22 years ago, 26-Aug-02, to lugnet.cad.dev)
|
| | | | | |
| | | | Re: Ldglite bug report (Was: Portable Ldraw system) Fredrik Glöckner
|
| | | | (...) illustration, however, be careful not to over-use it! Perhaps it would be even better if you, at random, split some of the lines in two, and then jittered their end points as well. You could possibly even do this recursively, so that a line (...) (22 years ago, 26-Aug-02, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Ldglite bug report (Was: Portable Ldraw system) Jeremy H. Sproat
|
| | | | (...) Good idea! My biggest problem, though, is in trying to figure out how to join many line segments into one long line; for example, in Jacob's rendering the wings look *too* broken up, where one jagged line would have served better. That, and (...) (22 years ago, 26-Aug-02, to lugnet.cad.dev)
|
| | | | |