Subject:
|
Re: LDGlite and LPub
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Mon, 25 Oct 2004 13:39:41 GMT
|
Viewed:
|
1619 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.cad.dev, Kevin L. Clague wrote:
> Thanks for the help. I run L3P like this:
>
> set PATH=C:\LDRAW;
> set LDRAWDIR=C:\LDRAW
> l3p.exe -stdout -ca1.000000 -cg30.000000,45.000000,60000.000000 -q2
> -b0x02ffffff -o LDraw\CAR.DAT POV\CAR.pov
>
> and I get this result rendering at 800x600
>
> http://www.brickshelf.com/gallery/kclague/temp/car.bmp
>
> I run ldglite like this:
> set PATH=C:\LDRAW\ldgliteexe1_0_7;
> set LDRAWDIR=C:\LDRAW
> ldglite.exe -l3 -mS -i2 -Z100000 -j -ca1 -cg0,0,60000.000000
> -v800,600 -fh -w1 -q C:\LDRAW\MODELS\LDraw\CAR_l.dat
>
> and I get this result:
>
> http://www.brickshelf.com/gallery/kclague/temp/car_l1.png
>
> I'm using a lense angle of 1 to approximate orthographic.
Ok, now we're getting closer to the problem, I think. The ldglite
image is blank, so I changed a few things to see what's up. I switched
-mS to -ms so I could see it on screen and got a car facing forward.
Does the offscreen windows rendering -mS work for you? I made some
changes in the code the other day so I may have broken mine.
Anyhow, I switched the -cg to -cg30,45,60000 to get the same
viewing angle as the l3p command line and got an image much closer
to the pov output. However the car was a bit smaller. Nuts!
I noticed if I use a larger screen height in ldglite the car comes
out bigger. A setting of -v5 gives a much closer match, so maybe I
botched the pov aspect ratio calculation. 768 is close to 800 so
perhaps I reversed the x and y. I'll have to take a look at that.
-v800,800 looks very close in size to the pov output.
Don
|
|
Message has 2 Replies: ![](/news/x.gif) | | Re: LDGlite and LPub
|
| (...) <snip> (...) Hi Don, Thanks for the help. I was able to make -mS work, but only if I backed way off on the 60000 number. By the time LPub presents the car model to ldglite to render, LPub has alrealy applied ROTSTEP to the model, assuming the (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
| ![](/news/x.gif) | | Re: LDGlite and LPub
|
| (...) Please note that L3P's field of view is the horizontal field of view, and OpenGL's is the vertical field of view. You have to convert if you want the same result. You can check real quick by doing a square image in each. If they look the same, (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
|
Message is in Reply To:
![](/news/x.gif) | | Re: LDGlite and LPub
|
| (...) Don, Thanks for the help. I run L3P like this: set PATH=C:\LDRAW; set LDRAWDIR=C:\LDRAW l3p.exe -stdout -ca1.000000 -cg30.000000,45.0000...000.000000 -q2 -b0x02ffffff -o LDraw\CAR.DAT POV\CAR.pov and I get this result rendering at 800x600 (...) (20 years ago, 25-Oct-04, to lugnet.cad.dev)
|
52 Messages in This Thread: ![LDGlite and LPub -Kevin L. Clague (13-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: LDGlite and LPub (and maybe ldview? -Don Heyse (13-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Steve Bliss (14-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: LDGlite and LPub (and maybe ldview? -Don Heyse (14-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Steve Bliss (15-Oct-04 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: LDGlite and LPub (and maybe ldview? -Travis Cobbs (14-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Steve Bliss (14-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Don Heyse (14-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Travis Cobbs (14-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Don Heyse (14-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Travis Cobbs (14-Oct-04 to lugnet.cad, lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Don Heyse (15-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Don Heyse (15-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Don Heyse (15-Oct-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub (and maybe ldview? -Ross Crawford (15-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: LDGlite and LPub (and maybe ldview? -Steve Bliss (15-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Orion Pobursky (15-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Steve Bliss (15-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: LDGlite and LPub (and maybe ldview? -Andrew Westrate (15-Oct-04 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub (and maybe ldview? -David Laswell (15-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Orion Pobursky (16-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: LDGlite and LPub (and maybe ldview? -Jan Folkersma (16-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: LDGlite and LPub (and maybe ldview? -Orion Pobursky (16-Oct-04 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub (and maybe ldview? -Tim David (18-Oct-04 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: LDGlite and LPub (and maybe ldview? -Steve Bliss (18-Oct-04 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub (and maybe ldview? -Dan Boger (18-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Orion Pobursky (18-Oct-04 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub (and maybe ldview? -Chris Dee (15-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub (and maybe ldview? -Steve Bliss (15-Oct-04 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub -Kevin L. Clague (24-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: LDGlite and LPub -Don Heyse (24-Oct-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Kevin L. Clague (25-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/246.gif) ![Re: LDGlite and LPub -Kevin L. Clague (25-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Don Heyse (25-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: LDGlite and LPub -Kevin L. Clague (25-Oct-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub -Kevin L. Clague (25-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Don Heyse (25-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Kevin L. Clague (25-Oct-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub -Travis Cobbs (25-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Travis Cobbs (25-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Don Heyse (26-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Travis Cobbs (26-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Don Heyse (26-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Travis Cobbs (26-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: LDGlite and LPub -Anders Isaksson (26-Oct-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub -Don Heyse (26-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Kevin L. Clague (29-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Don Heyse (30-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Kevin L. Clague (1-Nov-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDGlite and LPub -Lars C. Hassing (5-Nov-04 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: LDGlite and LPub -Kevin L. Clague (5-Nov-04 to lugnet.cad)](/news/x.gif)
- 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
|
|
|
|