| | Tablet usage
|
|
Hi all, I am (still) working on an animation tool (LD4Dmodeler 2, www.rolandmelkert.nl...4DModeler) Thinking about the large amount of controls (for controlling hinges, position and rotation etc), it might be interesting to support a tablet. The (...) (20 years ago, 21-Apr-05, to lugnet.animation, lugnet.cad.dev)
|
|
| | Re: Latest BFC Spec?
|
|
In lugnet.cad.dev, Steve Bliss wrote: [snippity-do-dah] Sorry, I found an old post still waiting to be authorized. I hit "Post" instead of "Delete". Steve (20 years ago, 20-Apr-05, to lugnet.cad.dev)
|
|
| | Re: Latest BFC Spec?
|
|
(...) I thought it was dead 2 (or 3?) years ago. ;) (...) That's a pretty big 'once' you've got there. One problem I've had, revisiting old part files and applying BFC -- once you look at a file, you're also tempted to fix any/all errors you find in (...) (20 years ago, 22-Mar-03, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) Wow, that's cool! LDRAW stuff sent to stdout. I finally get to try ldglite with a pipe from a real program, and it all seems to work. txt2dat -s hello -c 4 -p 72 c:\windows\fonts\ariel.ttf | ldglite -i1 -MFhello.png -- Thanks. That was fun, (...) (20 years ago, 18-Apr-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) Thanks Dave! Any feedback is much appreciated. I've just uploaded a new version, so you might wanna grab that. ROSCO (20 years ago, 17-Apr-05, to lugnet.cad.dev, FTX)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) I've uploaded version 0.1.3, with a couple of bug fixes, and source code. Enjoy! ROSCO (20 years ago, 17-Apr-05, to lugnet.cad.dev, FTX)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) Okay, I admit it: at first I thought "text to LDraw? Big deal--I write all my LDraw partsfiles as text files." But then I clicked on the link and figured it out. Wow, this utility is a great idea! I just downloaded it and will give feedback as (...) (20 years ago, 17-Apr-05, to lugnet.cad.dev, FTX)
|
|
| | txt2dat - Create LDraw files from text
|
|
Hi all, I've just uploaded the first beta version of txt2dat, a command-line program to create LDraw files from text. It has been developed using cygwin and mingw on Windows XP, and has not been fully tested in any other environments. You can (...) (20 years ago, 15-Apr-05, to lugnet.cad.dev, FTX)
|
|
| | Re: Type 5 lines, BFC relevance, and OpenGL
|
|
(...) I'm using a display list. The triangles are drawn inside the display list using "classic" OpenGL calls (glBegin(GL_TRIANGLE....glEnd()). The lines are being drawn inside the display list using vertex arrays. Using vertex arrays to draw the (...) (20 years ago, 4-Apr-05, to lugnet.cad.dev)
|
|
| | Re: Type 5 lines, BFC relevance, and OpenGL
|
|
Slower, you say? Are you executing the functions in immediate mode? Or using a display list? Because if you're not using a display list, it's no suprise that it's slower. If you are using a display list, however, then I'm at a loss. I guess it may (...) (20 years ago, 4-Apr-05, to lugnet.cad.dev)
|
|
| | Re: Type 5 lines, BFC relevance, and OpenGL
|
|
So, I got the code updated so the conditional drawing happens in a display list, and then built LDView with full optimizations turned on in the compiler, and the new method actually runs slightly slower than the old method. (This is on an ATI Radeon (...) (20 years ago, 3-Apr-05, to lugnet.cad.dev, FTX)
|
|
| | Re: Borland/delphi question
|
|
(...) This one did it. Thanks for the help. Kevin (...) (20 years ago, 1-Apr-05, to lugnet.cad.dev)
|
|
| | Re: Borland/delphi question
|
|
(...) Have you tried doing a mainform->restore() (or whatever the Delphi version is) before closing the child? It is likely the user won't mind the window re-appearing when some long processing is finished. If you're worried about that, you could (...) (20 years ago, 1-Apr-05, to lugnet.cad.dev)
|
|
| | Re: Borland/delphi question
|
|
(...) You could try setting another parent for the CancelForm, maybe zero for the DeskTop? Maybe there is some problem when you try to close a child of a minimized form? (20 years ago, 1-Apr-05, to lugnet.cad.dev)
|
|
| | Borland/delphi question
|
|
Well, once again I've hit my limit.... I use a custom form for LPub's main form. I also use a simple custom form for the Cancel window that contains two buttons. When LPub is processing something that takes a long time, it does CanceForm->Show(). (...) (20 years ago, 1-Apr-05, to lugnet.cad.dev)
|
|
| | Re: Type 5 lines, BFC relevance, and OpenGL
|
|
(...) Well, I tried this in LDView, and it seems to work fine. I haven't yet put the new stuff in a display list, so it's drawing all the type 5 line geometry in immediate mode. Consequently, I'm not yet sure how fast it will be (it's very similar (...) (20 years ago, 1-Apr-05, to lugnet.cad.dev, FTX)
|
|
| | Re: Type 5 lines, BFC relevance, and OpenGL
|
|
(...) I think, that in this particular application it is better to deal with line type 5 syntax. Otherwise renderer has to calculate angle between adjanced polygons and select some threshold to decide whether this line is "conditional" or not. (...) (20 years ago, 1-Apr-05, to lugnet.cad.dev)
|
|
| | Re: Type 5 lines, BFC relevance, and OpenGL
|
|
(...) Interesting... so this article is suggesting that type5 lines not be used at all, which may be possible for a model that is certain to be BFC compliant. Wheras the mechanism I was suggesting would work for any model, BFC compliant or not. The (...) (20 years ago, 31-Mar-05, to lugnet.cad.dev)
|
|
| | Re: Type 5 lines, BFC relevance, and OpenGL
|
|
(...) You know, this got me thinking last night. I knew it sounded vaguely familiar, so I searched lugnet for "stencil buffer" and found this. (URL) I was so close, but somehow got distracted before I could work it out. Damn that attention deficit (...) (20 years ago, 30-Mar-05, to lugnet.cad.dev)
|
|
| | Re: Type 5 lines, BFC relevance, and OpenGL
|
|
Hmmm, draw the edge twice and flip the stencil bit eh? It sounds like it could work. I'll have to read up on edge flags. I haven't used them for anything yet. By the way, you should be able to get all the info you need from the type 5 line itself, (...) (20 years ago, 29-Mar-05, to lugnet.cad.dev)
|