Len Trigg
25bcff3656
Fix #2861 , provide consistent mouse-wheel zoom direction, plus a GUI preference to invert ( #3749 )
...
* Make mouse-wheel in 2D toolpath zoom in the same direction as it does in 3D and 3D-preview
* Add a GUI preference setting for whether to invert the direction that
mouse-wheel scrolling will zoom in the 2D and 3D panels.
2017-03-10 23:37:17 -06:00
Joseph Lenox
5fa45989af
Replace glVertexPointer_p() call with glVertexPointer_c(). ( #3677 )
...
Delete VBO buffers after they've been drawn. Both ways work on OpenGL.pm 0.7
Credit to @bubnikv from prusa3d fork, drawn from commit c0b3de6248f6e6d50624b3d2132c823fb65af95e on that repository.
2017-02-07 16:49:36 -06:00
Alessandro Ranellucci
475f9d45a5
Some minor fixes. #3603
2016-12-21 20:42:17 +01:00
Alessandro Ranellucci
807b0111ed
More reasonable axes length in 3D preview
2016-12-19 15:42:44 +01:00
Alessandro Ranellucci
e901514212
New feature: brim connections
2016-12-18 15:21:27 +01:00
Alessandro Ranellucci
54f782c121
Preserve transparency when modifier volumes are selected
2016-12-18 12:09:01 +01:00
Alessandro Ranellucci
a778cd9820
Cut along X and Y axes too
2016-12-17 19:51:29 +01:00
Alessandro Ranellucci
7472077540
Merge pull request #3591 from lordofhyphens/3589-viewport-divide-by-zero
...
Avoid recentering viewport if the bounding box is max size 0
2016-12-16 22:02:44 +01:00
Joseph Lenox
d398c27e1f
Avoid recentering viewport if the bounding box is max size 0, as noticed by @jreinam
2016-11-27 11:34:38 -06:00
Alessandro Ranellucci
a7693c4719
Fixes and improvements to the view selection menu
2016-11-27 16:48:48 +01:00
bubnikv
9367eb6db7
Increased the gimbal lock threshold to 170 degrees from 150 degrees.
...
This makes it possible to look at the bottom of an object.
Conflicts:
lib/Slic3r/GUI/3DScene.pm
2016-11-24 17:13:11 +01:00
bubnikv
8c315ff467
Select standard camera views (left / right / top / bottom / front / rear / default)
...
by menu.
2016-11-24 15:48:29 +01:00
bubnikv
c353eef626
Generate multiple vertex lists rather than requesting a single huge
...
memory block.
2016-11-24 15:42:02 +01:00
bubnikv
9f0523cb53
Documented the purpose of various perl modules.
...
Conflicts:
lib/Slic3r/GUI/3DScene.pm
lib/Slic3r/GUI/Plater/2DToolpaths.pm
2016-11-24 15:41:19 +01:00
Alessandro Ranellucci
2004a7cbc2
Merge pull request #3575 from lordofhyphens/opengl-fix-bed-draw
...
Fix for OpenGL.pm 0.70 segfault
2016-11-22 18:13:50 +01:00
Joseph Lenox
0563a95b3b
Added comments and VBO implementation for drawing of cut plane, which also crashes.
2016-11-17 23:01:15 -06:00
Joseph Lenox
2df6b00f1d
Significant code cleanup; remember to turn off VBOs after done with use to not interfere with other code.
2016-11-17 13:10:22 -06:00
Joseph Lenox
4cd8ea9e5f
hamfisted fix for opengl 0.70 problems, making and using buffers explicitly for bed grid base
2016-11-17 12:05:42 -06:00
uclaros
6563a5fe9a
Use Alt modifier to move camera center (center of rotation) up or down
2016-11-02 15:53:09 +02:00
uclaros
45922e6f5d
DoubleClick middle mouse button to zoom to extents (AutoCad style).
2016-11-02 14:38:25 +02:00
uclaros
8738d7f5e7
Don't select objects when the shift button pressed. This allows for easier rotating when zoomed in.
2016-11-02 14:11:22 +02:00
uclaros
d7edc08287
Added small axis marker on the center of rotation when rotating or translating.
2016-11-02 14:05:36 +02:00
bubnikv
59b81fa11e
Support multi sampled anti-aliasing with wxWidgets 3.0.3.
2016-07-09 11:52:14 -05:00
Alessandro Ranellucci
f7e97f7e9b
Refactor cutting logic, don't slice in 3DScene
2015-12-19 23:15:37 +01:00
Alessandro Ranellucci
e0678d3a38
Bugfix: skirt was floating in 3D preview when raft layers were enabled. #2843
2015-05-24 15:47:07 +02:00
Alessandro Ranellucci
c64308a5e7
Render brim and skirt in 3D toolpaths preview. #2649
2015-05-18 00:49:16 +02:00
Alessandro Ranellucci
80b169aa75
Pan & zoom for toolpaths preview
2015-05-16 00:33:22 +02:00
Alessandro Ranellucci
70c032868a
Prevent OpenGL scene from Z clipping
2015-03-01 19:58:05 +01:00
Alessandro Ranellucci
69ea88473d
Workaround for the Clipper issue causing extra points in grid segments
2015-02-22 17:09:08 +01:00
Alessandro Ranellucci
d44bf38906
Sync viewport of 3D views. #2628
2015-02-16 00:37:36 +01:00
Alessandro Ranellucci
9abcd5816c
Little test for mixing objects and toolpaths
2015-01-25 15:36:20 +01:00
Alessandro Ranellucci
c264969962
Bugfix: crash when rendering lines with zero length in 3D preview. #2569
2015-01-25 15:21:45 +01:00
Alessandro Ranellucci
a5c0ffe963
Faster loading of 3D preview and much less memory used
2015-01-24 23:35:29 +01:00
Alessandro Ranellucci
c9cdae1a96
Wrong file included in previous commit
2015-01-19 15:32:39 +01:00
Alessandro Ranellucci
229039d3b8
Fixed test and implementation of ooze prevention standby points (wrong test caused wrong implementation). #2103
2015-01-19 15:31:12 +01:00
Alessandro Ranellucci
3d500ca317
Skip geometry from unfinished steps in 3D rendering
2015-01-18 21:31:09 +01:00
Alessandro Ranellucci
428f831886
Scroll 3D preview layers with a slider
2015-01-18 20:48:54 +01:00
Alessandro Ranellucci
f2818ddbe0
Live 3D toolpaths preview.
2015-01-18 19:36:47 +01:00
Alessandro Ranellucci
2bbb6c570b
Ported toolpaths rendering to C++
2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
bfbcbd55d8
Render infill and support material as well
2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
d781371d66
Join extrusions properly in 3D preview
2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
e0a3d2577c
Initial work for 3D rendering of toolpaths
2015-01-15 20:06:30 +01:00
Alessandro Ranellucci
18e815d032
More efficient 3D preview of slices
2015-01-15 18:49:07 +01:00
Alessandro Ranellucci
3ee0fc5b1c
Ability to select object parts by clicking in the 3D view in the object editor
2015-01-13 20:55:19 +01:00
Alessandro Ranellucci
d46d5c955b
One more refactoring in 3DScene (select group/drag group)
2015-01-13 20:55:19 +01:00
Alessandro Ranellucci
9c8f8f8ded
Refactoring: make Slic3r::GUI::3DScene::Base model-independent
2015-01-13 20:55:19 +01:00
Alessandro Ranellucci
fb08588007
Renamed PreviewCanvas to 3DScene
2015-01-09 01:30:04 +01:00