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 / 3652
  Ldlite for OpenGL and Linux (and uppercase filenames)
 
If anyone is interested, I've started a port of Ldlite to OPenGl and linux. So far I've only gotten the rendering part working, and only with a fixed viewpoint, but the images look pretty close to ldlite for windows. I suppose the next step is to (...) (24 years ago, 17-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) I haven't looked at your port of the source, but I would like to mention that you should use GLUT, to make your effort available to other platforms, other than linux, eventually have the same version for windows/Linux. I should warn you that (...) (24 years ago, 18-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Yes, they were. You could use DD or simiar to edit them to lowercase, in which case "DIR" would show them lower, but command.com and the fileopen-type calls all treated everything case-insenitively and could see them. -Steven (URL) (24 years ago, 18-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Yeah, I used GLUT and it seems fairly portable. So far I've compiled it with gcc for linux/mesa, the mingw32 port of gcc for windows, and Visual C++ for windows. I've already started looking for better menus than GLUT. So far FLTK and GLUI (...) (24 years ago, 18-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Looks like everything is upper-case in the distribution files. Unfortunately, the case of the names on the files is only a small part of the battle. The real problem is all the references to various DAT files inside all the other various DAT (...) (24 years ago, 18-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) all (...) tending (...) Actually the problem with mixed case inside the files is easily fixed by one line of code in the program that either UPPERCASES or lowercases the filename (and directory: P, PARTS, or MODELS) before attempting to open (...) (24 years ago, 18-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Don Heyse: (...) I think we should decide how the files should be stored (upper, lower, or mixed case), and then append that to the DAT format specification. My personal preference is lower case. Mixed case should be allowed in DAT files no matter (...) (24 years ago, 18-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Why don't we just define filenames are case-sensitive, and allow for an option to treat them differently (case-insensitive) if someone requires it ? we should look in to the future, every OS will tend to be case-sensitive, windows hasn't made (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Are you sure that was the problem, because Ledit runs on DOS, which doesn't care on filename case, it's case-insensitive, so it should always work in DOS. Rui Martins (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) This is a special LEdit feature, not related to DOS at all. If the STUD.DAT filename is uppercase, it is always displayed like a full stud in LEdit, even if the user chooses to have "line for stud" to save rendering time. Fredrik (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) So this is not a problem, just change the primitive file "stud.dat" to "stud.DAT" (according to what I have previously proposed), and if the user wants (or not) to draw the studs, he will change the "line for stud" option of Ledit. P.S. Just (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Rui: (...) ^^^...^^^ I presume you mean "mixed case". We can't choose between case-sensitive and case-insensitive. (...) I am not sure of that. There are many good reasons for working with case-insensitive file systems. (...) I don't get your point (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) I meant exactly CASE-SENSITIVE. and by case-sensitive I mean "model.dat" is different from "Model.dat". And why can't we choose between ? It's a lot easyer to convert from a case-sensitive complient filename to case-INsensitive than the other (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Hmmm, tell me more about this. Do you mean the studs are fully drawn if the file MYBRICK.DAT includes STUD.DAT, but not if it includes stud.dat? Is there any other unusual behavior triggered by case inside the DAT files? Does someone have (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Rui: (...) That is not possible, since some DAT renderers work with case-insensitive file systems. (...) Because it is a matter of the file system and the rendering program has to live with that. (...) Most languages consider a word the same no (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Don Heyse: (...) My preference is all lower-case (mostly from an aesthetic point of view), which generally is more readable than upper-case. (...) I don't think it would be difficult to switch this to lower-case (if I can convince you guys to agree (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Filenames were not changed to take advantage of the "force stud-drawing" "feature" of LEdit. The code inside of several files was changed to reference stud.dat or STUD.DAT. But the primitive file remained STUD.DAT. So this is not an issue for (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) I agree, but my preference isn't so strong that I'd actually *want* to take the effort to repackage the distribution files. Also, I don't know if the ARC compression format/tool will allow lower-case filenames. (...) Yes, in LDraw code, the (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) I doubt that future OS's will be case-sensitive. If anything, I expect future OS's to be case-INsensitive. Most people (esp. non-geeks) don't see that FILE.doc as different from file.DOC, and it is counter-intuitive for the filesystem to use (...) (24 years ago, 19-Jan-00, to lugnet.off-topic.geek)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) If you go way back to the beginning of this thread you'll see that my PERSONAL preference is also lower case, because it's easier to type, easier to read, etc. But I seem to recall a debate a while ago about the rights to distribute modified (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  CASE style in filenames (was Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
I have given up on my CASE-SENSITIVE choice, and I now have a Summary of all this talk, with some taughs in the middle. Apart from visual aspect, all files should (not MUST) be UPPERCASE. for compatibility issues, because: - MSDOS keeps the files in (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Steve: (...) Since I want to make a floppy sized distribution anyway, I definitely feel like taking the time to do it. (...) Since it also seems to work on Linux, I suspect that it does. Another thing is that I would prefer to use gzipped tar or MPD (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Don Heyse: (...) Sorry, I had forgotten that. (...) I am sure we can get the Jessimans to accept a repackaging of that kind (if we agree on it). (...) A very sensible strategy. (...) We would have to have it approved by the Jessimans. (...) I can't (...) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) I agree. However, AFAIK, whenever LEdit creates a file, it creates it as all uppercase. --Bram Bram Lambrecht / o o \ BramL@juno.com ---...---oooo-----(_...o---...--- WWW: (URL) (24 years ago, 19-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) I disagree. Or should I say DISAGREE?? (see the difference? :-) ) (24 years ago, 20-Jan-00, to lugnet.off-topic.geek)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) There is one problem. several files were "corrected" to have the stud.dat references uppercased so that ledit would show the studs. -- Jonathan Wilson wilsonj@xoommail.com (URL) (24 years ago, 20-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) What I meant was this: normally ledit shoes studs as lines, right. Several files were changed to uppercase so that ledit would not do the substitution and show the studs. -- Jonathan Wilson wilsonj@xoommail.com (URL) (24 years ago, 20-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Under Linux: "unarj x ldraw.exe", RedHat comes with the unarj utility but I'm sure you'll be able to find it easily if your system doesn't. Leonardo (24 years ago, 20-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) At this point, I don't even know if the ARC program is DOS or Windows, so I can't say for sure if it's case-aware or not. I'll be finding out soon, after the 2000-01 voting process. Which is going to happen (relatively) soon, I promise. Steve (24 years ago, 20-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
I'm not quite sure where I left off in this discussion, so I suppose this is as good a place as any for an update. I just hooked up ldglite to Netscape in linux by adding the MIME type "application/x-ldraw" and setting the app to (...) (24 years ago, 20-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Thanks for the tip. I just tried this. The files unpacked themselves in lowercase, so I vote for lowercase as the standard for files in the p and parts directories on case sensitive filesystems. This reverses my earlier vote for UPPERCASE, but (...) (24 years ago, 21-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) Pardon me for my ignorance, but is gzipped at all like pkzipped? I'd go for MPD distribution, but that would require a two-step distribution: un-compress the file, then mpdsplit it. And unless there was a 'delete MPD archive' included as a (...) (24 years ago, 21-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) No, but infozipped is. Actually, InfoZip (executables are called zip and unzip) is pkzip compatable, and freely available on Unix, Win32, Mac, VMS, DOS, etc. It can zip / unzip through pipes, and has support for multi-volume or split archives. (...) (24 years ago, 21-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
OK, someone posts a significant improvement/expansion of ldLite, ported to gcc, running on Windows and Linux, and WHAT do you people talk about? DOS names? ZIP files? ldGLite is at an early stage, much like ldLite was at v0.3. Can those who know (...) (24 years ago, 22-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Leonardo: (...) I don't know what I have been doing earlier, because I just did as Leonardo told me to (and I thought I had tried already), and it worked very well. I can add the information that unarj on Red Hat Linux unpacks the LDraw archive with (...) (24 years ago, 22-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Steve: (...) Now that I know it is possible to unpack ARJ files on Linux, I think it is better that we stick to that format, and don't start spending time on additional formats until it becomes neccesary. (...) No. (...) You are completely correct (...) (24 years ago, 22-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) I've never used mpdsplit, does it create the directories needed ? Leonardo (24 years ago, 23-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
(...) I'd also like to say that I prefer lowercase names and, of course, we should keep the 8.3 filename convention to keep compatibility with DOS programs. (...) You could also explain how to create associations for most WM out there (KDE and (...) (24 years ago, 23-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Leonardo: (...) The most recent version does. Play well, Jacob ---...--- -- E-mail: sparre@cats.nbi.dk -- -- Web...: <URL: (URL) > -- ---...--- (24 years ago, 23-Jan-00, to lugnet.cad.dev)
 
  Re: Ldlite for OpenGL and Linux (and uppercase filenames)
 
Don: (...) It wasn't quite clear what you need in addition to the distribution on <URL: (URL) >. Which libraries have you used for the Linux version? And could you make a plain zip OR tgz file? The mixture you use for the Linux source distribution (...) (24 years ago, 23-Jan-00, to lugnet.cad.dev)

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