Alex Shvartzkop
f6f0b9a661
ADDED: PCB 3D image raytracing rendering from CLI.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/3691
2 years ago
Alex Shvartzkop
fb089a182b
3D viewer: support transparent background in Raytracing mode.
2 years ago
Alex Shvartzkop
85b1978408
Use 64-bit type to represent microseconds.
int and long are 32-bit on Windows, causing overflows.
2 years ago
Alex Shvartzkop
80457d5871
Support transparent background in 3D viewer PNG/clipboard export.
Only really works with realtime renderer currently.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12060
2 years ago
Jeff Young
fef404352d
Remove stale TODOs.
2 years ago
Alex Shvartzkop
4defa6b58f
Reduce editing timeout in 3D viewer raytracing.
2 years ago
Jeff Young
6136c2438d
Make sure sorts are deterministic.
2 years ago
Marek Roszko
6b12a12b3e
On second thought rename PROJECT_PCBNEW to PROJECT_PCB
2 years ago
Marek Roszko
7e8b18035f
Eliminate the conditional pcbnew/cvpcb definition of PROJECT
2 years ago
Marek Roszko
37479c4154
HIDPI_GL_3D_CANVAS needs CAMERA so move it over
2 years ago
Jeff Young
c1a988e3ff
Handle plated vs non-plated copper for copper other than pads.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5569
2 years ago
Jeff Young
78f70b45e6
Minor readability improvements.
2 years ago
Jeff Young
c0ce543464
Use standard KiCad abbreviations for TH and NPTH.
2 years ago
Jeff Young
8cf291e423
Overhaul 3D degenerate shape protection.
2 years ago
Marek Roszko
7505fd0f37
Profile can live in core
2 years ago
jean-pierre charras
fe18a9bf97
3d_rendering/raytracing/create_scene.cpp: add test missing in commit 22256c97
Fixes #15560
https://gitlab.com/kicad/code/kicad/-/issues/15560
2 years ago
Jeff Young
22256c97f3
Fix logic errors in handling board body visibility.
Also fixes a bug where models were placed above the silk when the
solder paste layer was shown, but on the solder paste layer when
it wasn't shown.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15510
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6770
2 years ago
Jeff Young
0c37e3c443
Remove realistic-mode (and duplicated settings from preferences).
Most of these settings are now available in the appearances panel.
It was concluded in a Zulip discussion that any missing items can
be added back in time if people find they need them (ie: complain).
Also hooks up 3DViewer to the common language framework.
2 years ago
Jeff Young
f45760062b
ADDED: appearances manager for 3D viewer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12413
2 years ago
Josue Huaroto
8a407756c1
Change min and max zoom values
2 years ago
Marek Roszko
8a7044c3fb
Fix some more warnings
3 years ago
jean-pierre charras
1406341d2d
Fix a few doxygen errors (no actual code change)
3 years ago
qu1ck
a6d10c8e97
Enable warnings on msvc
3 years ago
jean-pierre charras
e0e2bcf20a
Ensure 3D shapes are always shown in footprint settings dialog.
Fixes #14371
https://gitlab.com/kicad/code/kicad/issues/14371
3 years ago
Ian McInerney
56b7d570f9
Remove uses of climits header/defines
2 of the 3 includes never used it, and the other could be switched to
the C++ numeric_limits class.
3 years ago
Mario Luzeiro
7bc976f3f4
3D-Viewer: sort models and material models when rendering in transparent
Also enables transparency on model preview and small optimizations fixes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14005
3 years ago
Alex
1dd25dd196
3d-viewer: prevent max zoom+frustum from growing infinitely at reload.
Fixes https://gitlab.com/kicad/code/kicad/issues/13381
3 years ago
jean-pierre charras
5b8cf96736
3D viewer: catch an exception thrown when a fp library is not found in table,
when the 3D viewer try to rebuild the 3D shape of a footprint.
Fixes #12524
https://gitlab.com/kicad/code/kicad/issues/12524
3 years ago
Marek Roszko
c50b4fb04f
Add relative to footprint 3d model path resolution
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2073
3 years ago
Marek Roszko
66e8931405
Remove IU_PER_MM thats standalone
3 years ago
Jeff Young
6f49b57f9b
Cleanup & performance enhancements.
3 years ago
Mario Luzeiro
ef4f0b49fc
3D-Viewer, raytracing: implement bevel edges on item layers
4 years ago
Mario Luzeiro
2aa56e2c86
3D-Viewer: assign correct copper material based on render plated option.
change plated material intensity.
4 years ago
Jeff Young
65185f53a1
Rotate fp zones before comparing with library versions.
Also includes some performance fixes to not copy around triangulation
data when it's not needed.
Fixes https://gitlab.com/kicad/code/kicad/issues/10143
4 years ago
Jeff Young
9582457fef
Be explicit about literal wide-strings.
4 years ago
Jeff Young
5739505aa3
TextBoxes for PCBNew.
4 years ago
Jeff Young
abd3f5bc2b
Move footprints to EDA_ANGLE.
4 years ago
Marek Roszko
2d1357dc54
Swap some of the 3d viewer to VECTOR2I
4 years ago
Jeff Young
b84a85f648
Cleanup dead code and stale TODOs.
4 years ago
Jeff Young
dabc75bee8
Source 3D dimensions from board stackup.
Also includes a performance improvemnt by caching the 3D model matrices.
4 years ago
Jeff Young
68d2630d08
Flatten a layer of indirection out of 3D config settings.
4 years ago
Mario Luzeiro
f81539cd41
3D-Viewer: do not change the z component of the normal on silkscreen material
Fixes https://gitlab.com/kicad/code/kicad/issues/9823
4 years ago
Mikolaj Wielgus
c3b792592b
Remove uncommented dead code in 3D viewer
4 years ago
Mikolaj Wielgus
cf3a979711
3D Viewer: Fix zoom limit calculations
Fixes https://gitlab.com/kicad/code/kicad/issues/9407
Fixes https://gitlab.com/kicad/code/kicad/issues/8805
4 years ago
Mikolaj Wielgus
363214d252
Fix incorrect behavior of BBOX_3D::GetMaxDimension()
4 years ago
Jeff Young
6c0110ecd3
Naming conventions.
There's nothing "legacy" about the OpenGL 3D renderer.
4 years ago