Wayne Stambaugh
cfde5300d7
Fix wxWidgets 3.1 and later deprecated build warnings.
...
wxWidgets 3.1 has deprecated wxPATH_NORM_ALL when normalizing file
paths when calling wxFileName::Normalize(). This change keeps the
existing behavior except in places where our own internal
ExpandEnvVarSubstitutions() to expand environment variables.
(cherry picked from commit 898ec0d094
)
2022-08-17 14:07:06 -04:00
Jeff Young
471c0c4c1d
More wide-string declarations.
2022-02-05 13:29:00 +00:00
Wayne Stambaugh
11becc5a68
Fix 3D view format specifiers for all platforms (hopefully).
2021-07-27 21:06:24 -04:00
Wayne Stambaugh
c71ab17892
Fix 3D view format specifiers and remove overly aggressive assertion.
2021-07-27 10:07:23 -04:00
Wayne Stambaugh
728b160719
3D plugin debugging output fixes.
2021-07-24 13:27:35 -04:00
Wayne Stambaugh
4c457b5ed3
More NULL expunging.
2021-07-18 14:31:55 -04:00
luz paz
f968fc8719
Fix source comment / documentation typos
2021-06-09 19:32:58 +00:00
Marek Roszko
88179ec52d
Bump version
2021-03-10 18:56:28 -05:00
Marek Roszko
130d64df48
enum class WRL1_ORDER
2021-03-10 18:54:49 -05:00
Marek Roszko
57dbb7def0
enum class WRL2NODES
2021-03-10 18:49:09 -05:00
Seth Hillbrand
7c28c3838a
Comment-only changes
...
Makes class comments conform to coding standards
2020-01-10 16:43:01 -08:00
Mark Roszko
ae785194ce
Silence/fix double to float conversion warnings
2019-12-12 21:51:21 +00:00
Seth Hillbrand
b5f021ff9f
Cleanup: Replace push_back with emplace_back
...
In cases where we create a new item and immediately push into a
container, the emplace idiom is faster and more efficient.
2019-12-05 13:41:21 -08:00
Cirilo Bernardo
5013ea2e8e
Added comments on skipped patterns in VRML2 parser
2017-04-25 20:24:44 -04:00
Simon Richter
59c81976dc
Explicitly mark overriding functions.
2016-09-24 14:53:15 -04:00
Cirilo Bernardo
9b2dba2b1b
3D Viewer: fix swapped VRML material colors.
...
* Fix a bug in the VRML2 parser which exchanged the blue and green components
of the ambient lighting.
2016-06-13 12:50:42 -04:00
Cirilo Bernardo
dbef1d41c5
Remove dead code (Coverity CID 149046)
2016-06-03 06:30:47 -04:00
Cirilo Bernardo
47e2aab7de
PATCH: segfault in VRML2 plugin
...
The attached patch fixes a segfault in the VRML2 plugin
which is caused by Shape entities with empty vertex
lists.
2016-05-19 21:12:07 -04:00
Cirilo Bernardo
20b40aba1c
Fixed bad delete/delete [] invocations and other warnings and errors as suggested by cppcheck
2016-04-05 20:32:22 +10:00
Cirilo Bernardo
2dfd8064d4
Fix filename resolution within VRML2 Inline{}
2016-04-03 10:55:22 +10:00
Bernhard Stegmaier
5b0a250609
Fix compilation and install for OSX plus general code cleanup
2016-03-01 10:08:19 +11:00
Cirilo Bernardo
b0a26f32ef
Fixed bugs in VRML/X3D parser log code
2016-02-23 13:37:35 +11:00
Cirilo Bernardo
d2a13efc12
Changed VRML2 parser debug output from stderr to wxLogTrace
2016-02-23 13:31:51 +11:00
Cirilo Bernardo
0d14fd0f9b
Fix scaling bug in vrml2_box.cpp
2016-02-22 20:00:23 +11:00
Cirilo Bernardo
684e41358a
Added support for VRML2 Inline{}
2016-02-22 19:59:07 +11:00
Cirilo Bernardo
943c5d8ea8
Changed default creaseAngle from ~30deg (VRML spec) to ~42deg for prettier smoothing
2016-02-08 08:56:03 +11:00
Cirilo Bernardo
99aba8f261
Changed handling of ambientIntensity; change of major version in SG* lib
2016-02-07 08:41:27 +11:00
Cirilo Bernardo
f52744b29c
Added back-pointers to referenced entities
2016-02-06 09:38:03 +11:00
Cirilo Bernardo
b987445676
Forced smoothed normals calculations for VMRML2 parser
2016-02-02 16:50:46 +11:00
Cirilo Bernardo
9a0b020806
Added VRML conversion of 'translation' and 'center' to mm on read and 0.1 inch on write
2016-01-18 10:39:51 +11:00
Cirilo Bernardo
ef62a5f153
Ensure consistent use of mm within SG models and that SG models write VRML files using 0.1 inch units
2016-01-18 08:35:29 +11:00
Cirilo Bernardo
81977ed6b7
Finished checking debug/info messages and internationalization where appropriate
2016-01-12 18:03:17 +11:00
Cirilo Bernardo
979edc4f9f
Improved VRML1 conformance to spec
2016-01-08 16:23:42 +11:00
Cirilo Bernardo
7dd4bd9f09
Improving VRML1/2 parsers
2016-01-07 15:43:32 +11:00
Cirilo Bernardo
8a9eb3bbe8
Fixed various bugs in VRML2 and VRML1 code
2016-01-07 11:24:11 +11:00
Cirilo Bernardo
7e165ac866
Work in progress: implementing VRML1 to SGNODE translation
2016-01-06 18:02:21 +11:00
Cirilo Bernardo
403cd94edc
Fixed color indexing for VRML2 plugin
2016-01-06 16:51:29 +11:00
Cirilo Bernardo
6f309a46c9
Implemented per-vertex colors for VRML2 and SGNODE
2016-01-06 16:15:54 +11:00
Cirilo Bernardo
6b873ed46b
Work in progress: implementing SG translation for VRML1 models
2016-01-06 15:34:14 +11:00
Cirilo Bernardo
38543ab94f
Work in progress: added Switch and IndexedFaceSet to VRML1 plugin
2016-01-06 08:29:13 +11:00
Cirilo Bernardo
43c2c7223b
Sync with main branch r6421
2016-01-05 16:37:52 +11:00
Cirilo Bernardo
d52d8867c8
Fixed bug in vrml2_shape.cpp which resulted in segfaults. (used AND rather than OR in control statement)
2016-01-04 20:24:40 +11:00
Cirilo Bernardo
c798f8b545
Added support for FreeCAD VRML files
2016-01-04 18:10:15 +11:00
Cirilo Bernardo
54905cb15c
Adding forgotten VRML2 Box sources
2016-01-03 17:58:23 +11:00
Cirilo Bernardo
5208a1b47e
Added VRML2 Box node
2016-01-03 16:55:53 +11:00
Cirilo Bernardo
59cf4c5ed0
+ Fixed calculation of overall transform in SCENEGRAPH
...
+ Fixed NULL dereference bug in VRML2 nodes
2016-01-03 14:55:30 +11:00
Cirilo Bernardo
62c6cba2a1
Reorganizing VRML parser code
2016-01-03 10:06:28 +11:00
Cirilo Bernardo
4d9ce774a8
Organizing VRML2 plugin debug reporting levels
2016-01-03 09:57:41 +11:00
Cirilo Bernardo
8939955f2f
Relax VRML2 naming rules (perhaps temporarily) to accept the '-' character in DEF names
2016-01-03 09:18:16 +11:00
Cirilo Bernardo
76bf525d12
+ Changed the debug output switch to DEBUG_VRML2
...
+ Transform nodes will now correctly include referenced nodes
2016-01-02 14:41:54 +11:00