|
|
On 2/20/2018 2:43 AM, Thomas de Groot wrote:
> On 19-2-2018 17:13, Kenneth wrote:
>> So, I finally coded-up my idea, and it does indeed put the 'center'
>> color of the
>> color_map across the center of the object. That part works, at least.
>> But the
>> color pattern's 'limits' on the object have a problem: the color
>> spread doesn't
>> extend all the way across. So far, after several days of trying to
>> figure out
>> why, I still don't have a clue. I tried changing *every* parameter in
>> the code,
>> but no luck-- although there's probably a hidden 'clue' in those trials.
>>
>> So, I had to resort to some fudge-factors as well :-/
>
> As far as I know from docs and/of previous discussions, min_extent and
> max_extent do not give the /exact/ extent of the object. So, I am not
> really surprised you need a fudge factor...
>
LDraw models all have bounding boxes defined during the conversion
process. I will try and see if I still need any fudge factors after
plugging those values in instead of min_extent and max_extent.
Mike
Post a reply to this message
|
|