To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.modelsOpen lugnet.cad.dat.models in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Models / 1951
1950  |  1952
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
possible rendering problem with LDLite and transparent parts
Newsgroups: 
lugnet.cad.dat.models
Date: 
Sat, 29 Mar 2003 18:09:24 GMT
Viewed: 
2627 times
  
I have encountered a small problem rendering transparent parts with LDLite
2.4 and I am wondering if anyone else has run into it.

consider the file flat.dat, attached

It has a trans yellow, trans cyan and trans white brick in it as the first
step (helpfully lableled Y C and W respectively)

Then it adds progressively more parts. Each part is farther away from the
place where the trans are, so that the clipped image will need to be larger.

Render it with this command

C:\shortprg\LDRAW\MODELS\MTW_1005_Combine_and_cars\test>..\..\..\ldlite\ldlite.exe
-W2 -MS -S3.0 -C15
-A0.707104,0,0.707104,0.276288,0.920505,-0.276288,-0.65089
5,0.390731,0.650895  -D1 -U02500,02500 -I-4 -K  flat.dat

(unwrap it)

As the size of the generated image (in terms of the area covered, or the
image dimensions, that is, not the filesize) the colors cycle through
correct, just the edge color with no dithered transparent color, and solid
color with no dithered transparency... weird weird.

Has anyone seen this behaviour? I suspect I'm overflowing a buffer somewhere...

Win 2K, .5G of memory, LDLite 2.4

I don't think it has anything to do with high parts counts or nested models
as this small file has neither, it has 7 parts and no nesting of mpds...


0 Flat file, transparent parts first, then parts to make model larger and larger in extent
0 Name: flat.dat
0 Author: Larry Pieniazek with MLCad
0 Unofficial Model
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 43 10 -8 0 1 0 0 0 1 0 0 0 1 3005-C.DAT
1 46 30 16 0 1 0 0 0 1 0 0 0 1 3005-Y.DAT
1 47 50 40 0 1 0 0 0 1 0 0 0 1 3005-W.DAT
0 STEP
1 4 -10 -8 420 0 0 1 0 1 0 -1 0 0 2465.DAT
0 STEP
1 4 -10 -8 -230 0 0 1 0 1 0 -1 0 0 2465.DAT
0 STEP
1 4 -10 -8 1060 0 0 1 0 1 0 -1 0 0 2465.DAT
0 STEP
1 4 -10 -8 1700 0 0 1 0 1 0 -1 0 0 2465.DAT
0



Message has 1 Reply:
  Re: possible rendering problem with LDLite and transparent parts
 
(...) How are you viewing the resulting image files? Have you looked at them at full scale? Your problem may be aliasing in the resampling of the images when viewed at reduced scale, and not a problem in ldlite. Check with Jacob for tips on how to (...) (22 years ago, 31-Mar-03, to lugnet.cad.dat.models)

8 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