POV-Ray : Newsgroups : povray.binaries.images : Warehouse WIP : Re: Warehouse WIP Server Time
7 Nov 2024 07:33:44 EST (-0500)
  Re: Warehouse WIP  
From: Alain
Date: 15 Jun 2016 23:40:45
Message: <57621fbd@news.povray.org>

>
> Just something I'm paying with to keep the 3D modeling / coding / math skills a
> little less rusty.
>
> My lighting and textures are the usual WIP crap  ;)  The boxes seem ok - but
> need a lot more variation. Same with the pallets.
>
> A macro takes each pallet and randomly loads it with 0 - 4 levels of boxes, with
> the top layer randomly filled.

How about stacked full pallets? Up to 3 is relatively common when you 
have a fork lift. I've seen some cases with as much as 5 full pallets 
high. Most of the time, they don't go higher than 4.

Also, you may want to have stacks of empty pallets. Those may go over 10 
high.

>
> I want to randomly rotate the pallets, vary the construction & texture, vary the
> box sizes and texture, randomly twist and offset everything, and get some more
> pallets loaded up onto the racks.

Be light on the random rotation of the pallets. Something like rotate 
(rand(R)-rand(R))*2*y should be enough in most cases.
You may go as high as 4 for the smallest pallets, but larger need lower 
values.
Same for shifting and twisting the boxes. When you load a pallet, you 
always try to place the boxes as regularly as possible.
That said, it's not rare to see skewed pallets where the angles are not 
as right as they should.

As for the wood of the pallets, it's often very rough, using cheap 
"utility" grade wood. Very rough, unfinished, unplanned, knotty and 
often split, with some bark left... It's also almost always light 
coloured: white pine, light yellow pine, light oak,...

>
> I'm thinking about how to write a macro to shrink-wrap a loaded pallet - not
> sure how I'll do the crinkly plastic film...
>
Good luck on that one.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.