Marek Roszko
eff75b630f
Get rid of anonymous struct typedefs
We are using C++14 where there is no reason for this and is banned in C++20 under P1766R1. MSVC generates a warning under C++14 as a reminder.
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
Marek Roszko
ffa87e69c6
Remove/replace some stdint.h includes
4 years ago
Marek Roszko
53571bf742
Remove GLM_FORCE_PURE as a experiment
5 years ago
Marek Roszko
bf2e7215a5
const SGPOINT::GetPoint args
5 years ago
Simon Richter
99c1d7cf96
Add noexcept to some functions in the 3d viewer.
6 years ago
Seth Hillbrand
7c28c3838a
Comment-only changes
Makes class comments conform to coding standards
6 years ago
Marvin Schmidt
69974b73db
Remove some extra semicolons
8 years ago
Tomasz Włostowski
90ab5860dc
refactoring: removed dependency of libpcbcommon on 3d-viewer.
8 years ago
jean-pierre charras
6a3c1720b2
Fix a few doxygen warnings
8 years ago
jean-pierre charras
70226ecdeb
Fix a few doxygen warnings
8 years ago
Wayne Stambaugh
66e97fa905
Doxygen comment improvements.
Fix lots of Doxygen warnings.
Fix Doxygen comment for IO_MGR::FootprintEnumerate() which was recently
changed.
8 years ago
Simon Richter
59c81976dc
Explicitly mark overriding functions.
9 years ago
Mrio Luzeiro
d8eab321f7
3D Viewer: complete refactor of the 3D viewer.
* Split and rewrite the preview window and canvas.
* Create a new class for handling the board information.
* Adds new render targets: openGL, legacy, and ray tracing.
* Render targets take full advantage of the new 3D plugins system and 3D cache
for a fast 3D model loading.
* Faster board loading.
* New OpenGL render is faster than the old one.
* New ray tracing render target with a post processing shader.
* Use of new 3D plugins (WRL, X3D, STEP and IGES) and 3D model caching.
* Preview of 3D model while browsing the file name.
* 3D preview of the footprint while adding / align 3D shapes.
* Render of 3D models according to attributes: Normal, Normal+Insert, Virtual.
* Pivot rotation centered in one point over the PCB board.
* Shortcuts keys improved for XYZ orientation..
* Animated camera.
9 years ago
Simon Richter
1cb9260972
3D Viewer: drop extra copy ctors from IFSG_NODE.
* This is unnecessary. Explicitly specifying the regular copy ctor will
inhibit any generated versions.
9 years ago
Cirilo Bernardo
973786d75d
Fix 3D Coverity issue, other minor fixes
* CID 143740: Null pointer dereferences (NULL_RETURNS)
A few minor cut/paste and style issues in the 3D code are also fixed.
10 years ago
Simon Richter
a78a3f064e
Drop dependency on <mm_malloc.h>
This appears to be unused.
10 years ago
Simon Richter
9f420e0e76
Fix condition for Windows-style DLL export
10 years ago
Cirilo Bernardo
80f8e74797
Make changes to GLM header includes as per suggestions by Mario Luzeiro
10 years ago
Cirilo Bernardo
d051a8f47e
Changed IFSG* log reports from stderr/stdout to wxLogTrace
10 years ago
Cirilo Bernardo
99aba8f261
Changed handling of ambientIntensity; change of major version in SG* lib
10 years ago
Cirilo Bernardo
8dd744f635
Improved 3D cache manager's ability to replace outdated cache models
10 years ago
Cirilo Bernardo
dddc3d91e9
Cleaned up 3D SceneGraph API by removing references to wxString
10 years ago
Cirilo Bernardo
9d55ad375f
Removing redundant sg/ifsg colorindex files and references
10 years ago
Cirilo Bernardo
6b873ed46b
Work in progress: implementing SG translation for VRML1 models
10 years ago
Cirilo Bernardo
c798f8b545
Added support for FreeCAD VRML files
10 years ago
Cirilo Bernardo
fad73f0e85
VRML2 3D plugin is now functional
10 years ago
Cirilo Bernardo
b426740195
Removed dead code modules
10 years ago
Cirilo Bernardo
008d8a540a
+ Fixed bug in SGSHAPE::Prepare() : bad assignment of color pointer
+ Reworked s3d_plugin_demo2.cpp to use per-vertex-per-face normals
+ Reworked s3d_plugin_idf.cpp to use per-vertex-per-face normals
10 years ago
Cirilo Bernardo
eab70be17b
Changed cache->Prepare() to cache->GetModel()
10 years ago
Cirilo Bernardo
c0fcb15e3a
+ Rework S3D_CACHE::Prepare() to take only a filename and return
non-transformed S3DMODEL for rendering.
+ S3D_CACHE now caches S3DMODEL and returns a pointer to a single
instance of the S3DMODEL for repeated calls to Prepare()
+ Beginning the VRML Plugin
10 years ago
Cirilo Bernardo
c251fbac75
+ Improved the normals calculations (however it's still buggy)
+ Reworked 3D plugins to use normals calculations
10 years ago
Cirilo Bernardo
304cd81ebd
+ Bugfix: changed Plugin Loader to expect 'GetPluginVersion' instead of
'GetVersion'.
+ Introduced normal calculations. This is buggy due to multiple equal
face normals distorting the vertex normal; this will be fixed by
removing the redundant face normals from the calculations.
10 years ago
Cirilo Bernardo
6294e507f9
Changed function name to avoid name clash with MinGW system call
10 years ago
Cirilo Bernardo
aff84eab52
Using stdint.h rather than cstdint on MSWin
10 years ago
Cirilo Bernardo
b7d44368bd
Build fix: do not include cstdint under MSYS/MinGW
10 years ago
Cirilo Bernardo
a2fe783f53
Finished refactor and introduction of generic Plugin scheme
10 years ago
Cirilo Bernardo
3ff8ca0caf
Refactored to use new generic plugin base
10 years ago
Cirilo Bernardo
4e12999fa8
Removed some trailing white space. Fixed FindGLM.
10 years ago
Cirilo Bernardo
ac3acb0061
Moving headers to facilitate support for building 3D plugins out-of-tree
10 years ago
Mario Luzeiro
69cc788e8e
+ Removed glm source from kicad tree (Maciej / Cirilo)
+ Added renderer for 3D model preview (Mario)
+ Added 3d_cache including name resolver and modifications to 3D model dialogs (Cirilo)
10 years ago