Opened 8 years ago
Closed 7 years ago
#2739 closed enhancement (done)
Improve binpacking visualization
Reported by: | abeham | Owned by: | abeham |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.15 |
Component: | Problems.BinPacking | Version: | 3.3.14 |
Keywords: | Cc: |
Description
Currently, the visualization of a binpacking solution scales the container and all items to a unit cube. It also ignores the material property. Additionally, the rotation is performed at the corner of the container. The code is also a bit awkward having only a total of three Geometry3DModels. It would be better if each item and the container is its own model that is dynamically created and added to the visualization.
Improvements should be:
- Color for each material
- Display everything in unaltered aspect ratio
- Put the coordinate center in a better position
Attachments (1)
Change History (12)
comment:1 Changed 8 years ago by abeham
- Owner set to abeham
- Status changed from new to accepted
comment:2 Changed 8 years ago by abeham
Changed 8 years ago by abeham
comment:3 Changed 8 years ago by abeham
comment:4 Changed 8 years ago by abeham
r14709: fixed materials out of range index
comment:5 Changed 8 years ago by abeham
r14971: Embedded ViewPort3D into Border to catch mouse events in the background
comment:6 Changed 8 years ago by abeham
r14978: Improved Bin Packing 3D View
- Fixing an overlap of triangles in the corner points in the wireframe code
- Removing unnecessary translate transforms and using centerXYZ of scaling and rotation
- Correctly calculated the center of the bin after scaling
- When an item is selected, instead of using solid cubes with semi-transparent surfaces, a wireframe model is displayed
- The selected cube has to be drawn first, otherwise the other wireframe cubes are not transparent to it
comment:7 Changed 8 years ago by abeham
r14979: Improving camera position and look direction
comment:8 Changed 7 years ago by abeham
- Owner changed from abeham to jkarder
- Status changed from accepted to reviewing
comment:9 Changed 7 years ago by jkarder
- Owner changed from jkarder to abeham
Reviewed and made further changes, please check.
r15167: improved 3d visualization
- in UpdateVisualization, no materials are available after Clear, therefore TryGetValue is unnecessary
- removed unnecessary ctrlDown field and OnKeyDown event handler
comment:11 Changed 7 years ago by abeham
- Resolution set to done
- Status changed from readytorelease to closed
r15278: merged revisions 14708, 14709, 14971, 14978, 14979, 15167, 15230, 15233, 15240, 15241, 15276 to stable
r14708: worked on visualization of binpacking solutions