To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 796
795  |  797
Subject: 
Re: Need (working) program to generate instruction pictures
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Sun, 4 Mar 2007 19:30:47 GMT
Viewed: 
4991 times
  
In lugnet.cad.dev.mac, Christopher Masi wrote:

...

I'm not a programmer, but as it was explained to me by Don Heyse, that
the only way for a double-clickable Mac application to get information
about unix-like environment variables is if that variable is specified
in a file called "environment.plist" which needs to have the following
location "~/.MacOSX/environment.plist". If that file isn't there, then
the Mac bundle will not be able to find the ldraw directory. On the
other hand, you are correct that the command line version of the program
has access to the environment variable regardless of whether you set
them manually, read them from .tcshrc or .login or what ever. This might
explain why the command line version will load a model but the Mac
bundle won't.

OK. I've set up a proper .MacOSX/environment.plist now, but I can't see that
it's made any difference. The [mis]behavior is the same. This and the video
information your provided supports my gut feeling that the problem is limited to
the display mechanism rather than any of the underlying LDraw stuff.

The the faster 17" and 20" iMacs use an ATi Radeon X1600 graphics
processor, and the 24" iMac uses a NVIDIA GeForce 7300 GT graphics
processor. The MacBook Pros use an ATI Mobility Radeon X1600 graphics
processor. I suspect that is why I don't have any display artifacts and
you do.

Ah, I didn't realize your machine is a MacBook Pro. I thought it was a plain
MacBook, like mine. Indeed there are considerable video differences between
these models that may explain the different experiences we've had. I think
that's useful to know.

Thanks,
Jim



Message has 2 Replies:
  Re: Need (working) program to generate instruction pictures
 
(...) I haven't followed all of this, but I suspect this is probably a driver issue. Ldglite is getting pretty old. It's so old that when I wrote the opengl bits the hardware (and software opengl) of the time was typically unable to render the model (...) (18 years ago, 4-Mar-07, to lugnet.cad.dev.mac)
  Re: Need (working) program to generate instruction pictures
 
(...) [...] (...) Oh, I thought you got no model displayed when launching the Mac bundle. I figured that with the environment.plist file, you'd at least get the the model displayed. On my old PowerBook I used this as a environment.plist <?xml (...) (18 years ago, 4-Mar-07, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: Need (working) program to generate instruction pictures
 
(...) Jim, I'm not a programmer, but as it was explained to me by Don Heyse, that the only way for a double-clickable Mac application to get information about unix-like environment variables is if that variable is specified in a file called (...) (18 years ago, 4-Mar-07, to lugnet.cad.dev.mac)

12 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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