Fake seams in POV-Ray


RE: Fake seems in POV-Ray
#2
(2017-02-08, 23:08)Roland Melkert Wrote: Anyone knows of an alternative way of faking part seems in POV-Ray besides shrinking all part just slightly?

I added the shrinking option to LDCad's export it looks nice at first glance but then you'll notice the uneven scaling.

For example 5510, the 2x8 plate at the red circle no longer matches the inverted slope brick beneath it.



This is using a scaling of 0.9925

edit: added a zoom

LDView calculates the scaling on a part-by-part basis based on the part's bounding box size in X, Y, and Z, and the bounding box's centroid. For POV exports, the actual seam calculation happens in the POV code based on width, height, and depth, and X, Y, and Z that are calculated by LDView at export time. (See LDXSeamMatrix in any POV file created by LDView.) I believe this concept was copied (with blessing from Lars) from L3P. Note that this means that the actual seam size is consistent between any two parts, no matter their size, and the scaling applied to each part is independent in X, Y, and Z. If you set LDXSW to a large value, you can easily see on plates that the scaling is axis-dependent.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Fake seams in POV-Ray - by Roland Melkert - 2017-02-08, 23:08
RE: Fake seems in POV-Ray - by Travis Cobbs - 2017-02-08, 23:45
RE: Fake seems in POV-Ray - by Travis Cobbs - 2017-02-08, 23:56
RE: Fake seems in POV-Ray - by Damien Roux - 2017-02-09, 8:11
RE: Fake seems in POV-Ray - by Roland Melkert - 2017-02-09, 18:45
RE: Fake seams in POV-Ray - by Roland Melkert - 2017-02-09, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)