To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10753
  Re: LPub 4 Status
 
(...) How about I send you a universal binary of a static libpng? (If I remember correctly, it was a real pain to make.) (...) I think I got mine via BrickSmith, which is kind of sad, really, but I just checked, and LDView will happily download the (...) (17 years ago, 26-Mar-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) Thanks guys for all the help. I grabbed BrickSmith and moved the ldraw folder that came with it to /Library. I wanted both anyhow so it seemed to be the way to go. Then I built a new (universal?) ldglite with your static libpng and some (...) (17 years ago, 27-Mar-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) Hi Don, It worked! Now I just have to figure out how to get my main menu and popup menus to work on the Mac from Qt! Thanks! Kevin (17 years ago, 27-Mar-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) If you used my code as an example for Core GL setup, then the error was due to a bug in my code. If not, put the following in your CGLPixelFormatAttribute array, and it should work even via ssh: CGLPixelFormatAttribute attrs = (...) (17 years ago, 29-Mar-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) Actually it turned out that despite the warning message my settings did work from a remote ssh login as a different user. The old AGL code, while it worked locally (that was a surprise), did not work remotely and produced the same warning (...) (17 years ago, 30-Mar-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Apparently this is working for others, but when I run it (on an original MacBook in OS 10.4), all I get is a bus error. Did you compile it as a Leopard app? --Travis (17 years ago, 18-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) Err, I rushed it and sorta botched the build. So a few files got built with no PPC code. I rebuilt it, but didn't get a chance to borrow an older machine to test it on yet. Hey, maybe (probably) you know this. What's involved in supporting a (...) (17 years ago, 20-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) Actually, I don't have a PPC Mac, just the previous OS version. I believe that if you don't get everything right for the "universal" stuff, it will give you an error at link time. I know that's what it does to me if any of the libraries aren't (...) (17 years ago, 21-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) That's interesting. I built it on a new laptop with the version of XCode that comes with leopard. However I just added the arch targets to the old makefile (but missed one of the libraries). So I guess the default is to target leopard only. I (...) (17 years ago, 21-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) No idea. Whatever it is, it needs Tiger, though, since LDView is built to require Tiger. It presumably needs a G4. --Travis (17 years ago, 21-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) For what it's worth, Tiger will run on a 300 MHz G3. While it certainly wasn't fast, I don't recall ever encountering any software that simply said "I need a G4". That's not to say there's no reason why such software couldn't or shouldn't (...) (17 years ago, 21-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) Since I already lost this once, I'm gonna stash it here just in case. To compile something that runs on Tiger from a makefile on Leopard add this: CFLAGS+= -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk LDFLAGS+= -isysroot (...) (17 years ago, 23-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) Good idea. (...) I'll be happy to be your Tiger test subject, but I can only test Intel. --Travis (17 years ago, 23-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) Ok, give (URL) this one> a try. (17 years ago, 23-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) That one works for LPub. The buffer isn't getting flushed to the screen right. I have to resize or force a redraw in order. Are you calling CGLFlushDrawable at the end of your drawing code? --Travis (17 years ago, 24-Apr-08, to lugnet.cad.dev, FTX)
 
  Re: LPub 4 Status
 
(...) No, I use glfinish(). I've had all sorts of problems over the years with Apple because I often render in the front buffer to emulate the various ancient ldlite immediate rendering modes. Does it update ok when you spin the model with the (...) (17 years ago, 24-Apr-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Sorry about the self reply, but now I'm really curious about this. I found myself an old G4 EMac with a Geforce2 and OSX Tiger for testing and everything worked ok. It also worked on an Intel Macbook with the Intel GMA X3100 graphics. So I (...) (17 years ago, 29-Apr-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Sorry for not responding, but I didn't remember to look at it while I was at home. I'll try to do so tonight. (...) Actually, my Intel MacBook (one of the original ones) has Intel motherboard graphics. Probably a different model than yours, (...) (17 years ago, 29-Apr-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Here's my info: Vendor: Intel Inc. Renderer: Intel GMA 950 OpenGL Engine Version: 1.2 APPLE-1.4.56 --Travis (17 years ago, 30-Apr-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Hmmm, I guess that's slightly different from the GMA X3100, which seemed to work for me. If you get a chance, try and run it with -n4 on the command line. That should render everything in the back buffer like 99.99% of the opengl programs out (...) (17 years ago, 30-Apr-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) The -n4 didn't have any noticeable effect. What exactly does n4 mean. I know it means "draw to back buffer", but what does the n and the 4 mean? --Travis (17 years ago, 1-May-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Arrgh, that's not good. It worked for me whenever I had a problem like that. I guess I'll have to use the OSX flush function. Are you by chance using partially transparent windows, or something fancy like that? (...) It's hooked to an ldlite (...) (17 years ago, 1-May-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Nope. It starts out partially under my dock, which I keep on the left. I can't remember if I ever moved it completely out from under the dock or not, but I'm pretty sure I did. (As a note, I looked around, and it appears that (...) (17 years ago, 1-May-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Hmmm, a partially obscured window. Sounds like a clue. I'll have to run some tests with a side mounted dock on the G4. And I should probably look back and see what I did on windows when the annoying popup tooltips were driving me nuts. Thanks, (...) (17 years ago, 1-May-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Well, I pulled the window out from under the dock, and that didn't help. On an unrelated note, why will it only open models in the current directory? If I give the full path to a model in a different directory, it fails to load it. --Travis (17 years ago, 3-May-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) Yeah, but the hint helped me. With the side mounted dock I was able to reproduce the problem (or a problem at least) on the G4. I cleaned up some of the buffer swapping and window reshaping code, and it seems to work better for me now. Of (...) (17 years ago, 3-May-08, to lugnet.cad.dev)
 
  Re: LPub 4 Status
 
(...) --Travis (17 years ago, 3-May-08, to lugnet.cad.dev)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR