Subject:
|
Re: Line Thickness and Antialiasing in LdGLite 0.7.3
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 29 Dec 2000 01:02:16 GMT
|
Viewed:
|
699 times
|
| |
| |
Don Heyse wrote...
> In lugnet.cad, Lars C. Hassing writes:
> > Don Heyse wrote...
> > > ... I also finally got around
> > > to fixing a few nagging case sensitive filename problems in the L3
> > > parser. Lars if you're reading this, I added a few more #ifdef OPENGL
> > > lines to the version of L3Input.cpp in l3glite.
> >
> > I don't understand why that should be necessary.
> > FixDatName() should handle case-sensitivity.
> > Are you sure
> > platform_fixcase(SubPartDatName); // Should NOT do this for model files.
> > localize_path(SubPartDatName);
> > work correctly ?
> > (Also, the parameter should be DatName, but you are saved in that FixDatName
> > is only called with SubPartDatName :-)
>
> Well I'm not positive anything I wrote works correctly, but I'm not sure
> it got to the functions mentioned above in this case. There seemed to be
> a bunch of special case checks for files like light.dat and primitives
> where the determinant is zero. I swapped stricmp for strcmp and it fixed
> the problem. There may be a better fix, but this works.
I really would like to find the cause of the problem, because L3P relies on the
same routines, and it does work for L3P.
All filenames are internally made lowercase (FixDatName), so I don't have to worry
about any following compares.
Which platform(s) had the problem?
/Lars
|
|
Message has 1 Reply: | | Re: Line Thickness and Antialiasing in LdGLite 0.7.3
|
| In lugnet.cad.dev, Lars C. Hassing writes: [snip] (a bunch of stuff about (...) It was on a linux system where I had copied all the DAT files from a smbmounted Windows filesystem and somehow ended up with them all in UPPERCASE. This is probably not (...) (24 years ago, 29-Dec-00, to lugnet.cad.dev)
|
Message is in Reply To:
| | Re: Line Thickness and Antialiasing in LdGLite 0.7.3
|
| (...) Well I'm not positive anything I wrote works correctly, but I'm not sure it got to the functions mentioned above in this case. There seemed to be a bunch of special case checks for files like light.dat and primitives where the determinant is (...) (24 years ago, 28-Dec-00, to lugnet.cad.dev)
|
15 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
|
|
|
|