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 / 2189
2188  |  2190
Subject: 
Re: LDAO Suggestion Mark 2
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 1 Jul 1999 16:30:11 GMT
Reply-To: 
jsproat@#spamless#geocities.com
Viewed: 
952 times
  
Steve Bliss wrote:
On Thu, 1 Jul 1999 06:31:21 GMT, Paul Gyugyi <paul@gyugyi.com> wrote:
Should we add a search path in the ldraw.ini file?
A definable search path would be good.  Some ideas:
1. An ini-file setting.

Definitely.

3. An environment variable.  This would be L3P-friendly.
4. A command-line option.  Not necessarily a good idea (how many people
launch LDLite from the command line?  I'd guess very few), but LDAO could
pass stuff this way.

Both IMHO are necessary.  I do all my non-LDAO (which is quite a bit)
LDraw/LDLite stuff from the command-line.  VC++ doesn't make it *that* hard
to implement exotic command-line parameters, especially if one uses
getopt().  I don't know how VB handles it, though...

6. A meta-command, in the main model file.

I have another idea.

I'm all for making command-line parameters available in the DAT file in a
meta-command.  That way, one could specify default viewing angle, default bg
color, etc. as well as search path and any new command-line options if /
when they're implemented.  The rendering application could just ignore
options it doesn't understand.

It might look like, I dunno, something like this:

0 FILE SOMEFILE.DAT
0 CMDLINE -a0.5,0,0.86,0.43,1,-0.25,-1,0,2
0 CMDLINE -B3 -MC
0 CMDLINE -etc.

One can imagine LDLite adding support
for cylinder and disc primitives.
Yes, one can.  Really, really.

:-D

In that case, you might want to
create an /ldlite_p directory, place it first in the search path, and
put an optimized version of stud.dat therein.
That would be good. :)

Agreed!

Cheers,
- jsproat

--
Jeremy H. Sproat <jsproat@geocities.com>
http://www.geocities.com/SiliconValley/Horizon/5249/
Darth Maul Lives



Message has 1 Reply:
  Re: LDAO Suggestion Mark 2
 
(...) One problem I have with the command-line option is that the command line is already long enough. But that doesn't mean that having the option is bad. (...) I was worried about the user more than the developer. (...) In VB, there's a function (...) (25 years ago, 1-Jul-99, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDAO Suggestion Mark 2
 
(...) A definable search path would be good. Some ideas: 1. An ini-file setting. 2. Several ini-file settings, similar to the [Views] section. Let the user setup as many different ones as he wants, and pick one at render-time. 3. An environment (...) (25 years ago, 1-Jul-99, to lugnet.cad.dev)

23 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