 | | Re: video card
|
|
(...) You could also try adding this: if ((!strcmp(verstr, "1.1 APPLE-1.1")) && (!strcmp(vendstr, "Apple")) && (!strcmp(rendstr, "Generic")) ) { printf("Stencil buffer disabled for XOR with Apple driver.\n"); // Generic Apple driver has problem with (...) (24 years ago, 26-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: how to get a debugger going
|
|
(...) Suggestions besides fighting with gdb: are you sure the keyboard() routine is getting to glutPostRedisplay() ? this is at the bottom of keyboard(). You could add a printf() there to find out. Maybe your 'E' key case is returning early? If it's (...) (24 years ago, 25-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: how to get a debugger going
|
|
(...) You could try running ldglite in the background to give gdb control of the console. Try this on the command line: ldglite blah blah blah & Then attach the debugger. Or maybe in gdb try: r blah blah blah & It might help, but I'm not positive. (...) (24 years ago, 25-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | how to get a debugger going
|
|
Now that I've got some bugs, I'd like to get into the code with a debugger. In particular, I am trying to set a breakpoint in the keyboard() method so that I may trace the execution of key commands. Id like to figure out why pg-up/pg-down refreshes (...) (24 years ago, 25-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: video card
|
|
(...) I have tried all 4. The differences are subtle, I'm not sure I see them all. I like -le the best because I can see the entire model on each refresh. (...) I commented this out but it did not make the trailing go away. I can always get the (...) (24 years ago, 25-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: video card
|
|
(...) Before you debug, I'd try all 4 of (-le, -ledit, -LE, and -LEDIT) to see which methods have problems. Then comment out this line in main.c and recompile: #define USE_OPENGL_STENCIL This might fix the wireframe droppings at the cost of some (...) (24 years ago, 23-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: video card
|
|
(...) Here is the printout at startup. GL_VERSION = 1.1 APPLE-1.1 GL_EXTENSIONS = GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixel GL_APPLE_client_storage GL_ARB_transpose_matrix GL_EXT_clip_volume_hint GL_EXT_rescale_normal (...) (24 years ago, 23-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: video card
|
|
(...) I forgot to mention this, but if you only want to look at the model, or *mostly* just want to look, you can skip the -le, -ledit, -LE, or -LEDIT on the command line. Then when you want to edit, just press the INSERT key to enter and exit from (...) (24 years ago, 23-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: video card
|
|
(...) Some of that might be normal behaviour, but I'm not positive from the description. Using -ledit on the command line turns on the draw to current piece mode that LEDIT uses. If you just use -le I think it should draw the whole model. You can (...) (24 years ago, 23-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: video card
|
|
Opps. I just noticed you do have -l3 there. I missed that. So, no, I have no idea what is wrong. I can test ldglite on some beige G3/300's next Monday. James (...) (24 years ago, 23-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: video card
|
|
Try: ldglite -v3 -l3 -ledit myfile.dat -l3 tells it to do stuff different or something like that.. ? Anyway, it is alot faster for me with -l3 James (...) (24 years ago, 23-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | video card
|
|
I have been doing an analysis of the ldglite 0.9.5 code base. Most of the ledit commands cause the image to be either invisible or render incorrectly. Also, I get a wireframe trail when I use the arrow keys. Everything re-renders fine if I cycle (...) (24 years ago, 22-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Apple Design Awards: Best Mac OS X Open Source Port
|
|
Hi all, Though many of the programers will likely see this, I thought I'd forward it here just in case. Since getting LDraw tools on the Mac is an unpaid (and underappreciated!) prospect, the idea of winning one of the prizes below might be a bit of (...) (24 years ago, 22-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: Status of ldglite 0.9.5 source on Mac ?
|
|
(...) I have a pretty good idea where those problems might be. If you want, I could try and help you over the trouble spots one at a time like I did with James on OS X. Don (24 years ago, 19-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: Status of ldglite 0.9.5 source on Mac ?
|
|
I don't think anyone has tried. James (...) (24 years ago, 18-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Status of ldglite 0.9.5 source on Mac ?
|
|
I have been attempting to compile the 0.9.5 source with CW-5 and have a variety of problems. Has anyone successfully compiled this for MacOS (8.x or 9.x) ? Ray (24 years ago, 18-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: glut conundrum
|
|
(...) That would be me. Anywhere you see "NOTE" its probably a note to myself that I want to get back to something and do it right when I have more time. I don't always get around to revisiting things though, especially if the cheap fix works well (...) (24 years ago, 18-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: glut conundrum
|
|
(...) Indeed, it is a very old bug, and it appears that someone ran into this more recently based on the following comment in the 0.9.5 code ... // NOTE: I dont understand the colortable stack used in translate_color() // so use the default (...) (24 years ago, 17-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: glut conundrum
|
|
(...) Thats an affirmative, however, I have two development limitations: CW-5 and MacOS 8.6, which I do not believe has been attempted with the latest source code, so this may involve a bit of effort. Ray (24 years ago, 17-Feb-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: glut conundrum
|
|
(...) That may be a very old bug. I remember there was a problem with the background color way back when. You can check the logs or browse the current (and old) source at the sourceforge to compare. (URL) the 0.5 code may actually predate the CVS (...) (24 years ago, 17-Feb-02, to lugnet.cad.dev.mac)
|