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 / 7826
7825  |  7827
Subject: 
Re: Ldglite sourcing STDIN not working under Windows 2000?
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 12 Sep 2002 18:15:08 GMT
Viewed: 
743 times
  
In lugnet.cad.dev, Steve Bliss writes:
In lugnet.cad.dev, Don Heyse writes:
According to the readme.txt file you need to give ldglite the -- command
line option to use stdin.

Hmm.  Supplying '--' does make a difference, but only in the error messages
I get. :)

However I'm pretty sure I disabled that
particular feature when I updated the source to ldlite 2.4.  Gyugyi
changed the code I was using for that particular hook and I couldn't
come up with any reason to justify figuring out how to put it back.
Do you have a compelling reason why I would want to make that work
again?  (other than because the readme.txt file still says it works)

I was going to poke around with making a utility that would give the user a
file polygon-by-polygon, and have them respond with whether the winding was
CW or CCW.

I suppose that's as good a reason as any.  Actually It's kinda neat to
finally find a compelling reason for the single pass, render as you
go, ldlite parser.  Pipes are just too cool!

On the other hand, the user won't be able to spin the model with this
approach because ldglite only enters spin mode when the model is done
parsing.  Rats!  I suppose you could do a 0 CLEAR and use a ROTATE
metacommand to get around this if you can figure out how to magically
calculate a rotation that will make the polygon visible.

The alternative is to use the polling feature.  Then you can spin the
model after each write from your program.  Oh well, I guess the stdin
feature is still worthless.

Anyhow, try this one:

  http://ldglite.sourceforge.net/ldgliteexe_test.zip

You'll have to copy or rename the executable to ldglite.exe for the
stdin stuff to work (or use -ld on the command line).

Enjoy,

Don



Message is in Reply To:
  Re: Ldglite sourcing STDIN not working under Windows 2000?
 
(...) Hmm. Supplying '--' does make a difference, but only in the error messages I get. :) (...) I was going to poke around with making a utility that would give the user a file polygon-by-polygon, and have them respond with whether the winding was (...) (22 years ago, 12-Sep-02, to lugnet.cad.dev)

4 Messages in This Thread:

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

Custom Search

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