To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 4579
4578  |  4580
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Help needed with cond. lines
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Mon, 31 Mar 2003 07:12:29 GMT
Viewed: 
1151 times
  
In lugnet.cad.dat.parts, Willy Tschager writes:
Looking at how the geometry is layed out, I think you've hit a limitation in
LDView's smoothing algorithm.  In other words, the lack of smoothness is
caused by a problem with LDView, not by a problem with your layout.

this is good news ... at least for me ;-)

While investigating this, I determined two things.  First, LDView does have
a limitation that causes incorrect rendering of this file, but only when
Primitive Substitution is enabled.  Based on the way my smoothing code
works, it's highly unlikely I will fix this any time soon (if ever).

However, you're not completely off the hook, because when primitive
substitution is disabled, the incorrect rendering is caused by the fact that
the file is indeed wrong.  I have corrected the problems (with comments) and
posted the fixed version below.

I hope this helps.

--Travis Cobbs (tcobbs@REMOVE.halibut.com)


0 Minifig Helmet with Thick Chinstrap - Type 2
0 Name: conditional.ldr
0 Author: Willy Tschager
0 Unofficial Part
0 BFC CERTIFY CW
0 Substitute for 2-4ndis.dat
0 4 16 14.5 4 0 14.219 4 1.416 14.219 7 1.416 14.5 7 0
0 4 16 14.5 4 0 14.219 4 -1.416 14.219 7 -1.416 14.5 7 0
4 16 10.253 4 10.253 10.253 21 10.253 13.396 21 5.549 13.396 4 5.549
5 24 13.396 4 5.549 13.396 21 5.549 10.253 4 10.253 14.5 21 0
3 16 13.396 4 5.549 13.396 21 5.549 14.219 7 1.416
5 24 13.396 4 5.549 14.219 7 1.416 13.396 21 5.549 14.219 4 1.416
3 16 14.219 4 1.416 13.396 4 5.549 14.219 7 1.416
5 24 14.219 7 1.416 13.396 21 5.549 13.396 4 5.549 14.5 17 0
3 16 14.219 7 1.416 13.396 21 5.549 14.5 17 0
5 24 14.219 7 1.416 14.5 17 0 13.396 21 5.549 14.5 7 0
3 16 14.5 17 0 14.5 7 0 14.219 7 1.416
5 24 14.5 17 0 13.396 21 5.549 14.219 7 1.416 14.5 21 0
3 16 14.5 17 0 13.396 21 5.549 14.5 21 0
5 24 14.219 4 1.416 14.219 7 1.416 13.396 4 5.549 14.5 7 0
5 24 14.5 7 0 14.219 7 1.416 14.5 17 0 14.219 4 1.416
1 16 14.5 5.5 0 0 -0.981 -0.281 1.5 0 0 0 -0.195 1.416 2-4ndis.dat
0 Travis Cobbs - removed because it didn't line up with any edges:
0 5 24 14.5 4 0 14.219 7 1.416 14.5 7 0 14.219 4 1.416
0 Travis Cobbs - removed because it didn't line up with any edges:
0 5 24 13.396 4 5.549 14.5 21 0 13.396 21 5.549 14.5 4 0
0 Travis Cobbs - fixed:
5 24 14.5 7 0 14.5 17 0 14.219 4 1.416 14.219 7 -1.416
0 Travis Cobbs - fixed:
5 24 14.5 17 0 14.5 21 0 13.396 4 5.549 13.396 21 -5.549
0 Travis Cobbs - removed because it didn't line up with any edges:
0 5 24 14.5 4 0 14.219 7 -1.416 14.5 7 0 14.219 4 -1.416
0 BFC CERTIFY INVERTNEXT
1 16 14.5 5.5 0 0 0.981 -0.281 1.5 0 0 0 -0.195 -1.416 2-4ndis.dat
5 24 14.219 4 -1.416 14.219 7 -1.416 13.396 4 -5.549 14.5 7 0
5 24 14.219 7 -1.416 14.5 7 0 14.219 4 -1.416 14.5 17 0
3 16 14.5 7 0 14.5 17 0 14.219 7 -1.416
5 24 14.219 7 -1.416 14.5 17 0 14.5 7 0 13.458 14.186 -5.239
4 16 14.5 17 0 13.458 14.186 -5.239 13.511 12 -4.975 14.219 7 -1.416
5 24 14.219 7 -1.416 13.511 12 -4.975 13.458 14.186 -5.239 13.511 9 -4.975
3 16 13.511 12 -4.975 13.511 9 -4.975 14.219 7 -1.416
5 24 14.219 7 -1.416 13.511 9 -4.975 13.511 12 -4.975 13.458 6.81 -5.239
3 16 14.219 7 -1.416 13.511 9 -4.975 13.458 6.81 -5.239
5 24 13.458 6.81 -5.239 14.219 7 -1.416 13.396 6.199 -5.549 13.511 9 -4.975
3 16 14.219 7 -1.416 13.458 6.81 -5.239 13.396 6.199 -5.549
5 24 13.396 6.199 -5.549 14.219 7 -1.416 13.396 4 -5.549 13.458 6.81 -5.239
4 16 14.219 4 -1.416 14.219 7 -1.416 13.396 6.199 -5.549 13.396 4 -5.549
5 24 13.458 14.186 -5.239 14.5 17 0 13.396 14.801 -5.549 14.219 7 -1.416
4 16 14.5 17 0 13.396 17 -5.549 13.396 14.801 -5.549 13.458 14.186 -5.239
4 16 14.5 17 0 14.5 21 0 14.775 21.295 -2.939 14.775 17 -2.939
4 16 14.775 17 -2.939 14.775 21.295 -2.939 14.191 21.59 -5.878 14.191 17 -5.878
0 Travis Cobbs - removed because it didn't line up with any edges:
0 5 24 13.396 4 -5.549 14.5 21 0 13.396 21 -5.549 14.5 4 0
0



Message has 1 Reply:
  Re: Help needed with cond. lines  [DAT]
 
(...) hi travis, thx for your suggestion. the removed lines are clear to me. I added them in a desperate attempt to smooth the primitive - just to see if I could rid of the problem, but I do NOT understand the fix. I added my comments below: 0 (...) (22 years ago, 2-Apr-03, to lugnet.cad.dat.parts)

Message is in Reply To:
  Re: Help needed with cond. lines
 
(...) this is good news ... at least for me ;-) (...) this will hopefully become good news. many thx for sorting this out and giving me a helping hand. bye, w. (22 years ago, 28-Mar-03, to lugnet.cad.dat.parts)

9 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