Commit Graph

297 Commits

Author SHA1 Message Date
Vojtech Bubnik
1c60fa2704 GCodeProcessor collects positions of line ends for GCodeViewer,
GCodeViewer no more parses G-code just to extract line end positions.
Removed start_mapping_gcode_window(), void stop_mapping_gcode_window(),
they are no more needed.
2021-09-07 15:42:56 +02:00
enricoturri1966
df30579753 GCodeViewer - Fixed crash when importing gcode generated with Simplify3D and switching to tool view 2021-09-07 12:25:30 +02:00
enricoturri1966
e2ea3d26a1 Changed color for toolpaths whose extrusion role is unknown 2021-09-07 11:13:12 +02:00
enricoturri1966
0e4ca4624f Tech ENABLE_SEAMS_USING_MODELS - Fixed crash when enabling visualization of tool change markers in preview 2021-09-06 13:15:36 +02:00
Vojtech Bubnik
e16e664757 Speed-up in GCodeViewer vertex buffer generator 2021-09-03 16:21:44 +02:00
enricoturri1966
345dcb8472 Fixed build when tech ENABLE_GCODE_VIEWER_STATISTICS is enabled 2021-09-02 13:42:37 +02:00
enricoturri1966
1fcf579fd1 Fixed typo which broke export of toolpaths to obj file 2021-09-01 09:54:59 +02:00
enricoturri1966
7fbc1cc37b Requires OpenGL 3.3 as a minimum to enable instanced rendering of seams and other options in preview 2021-09-01 09:34:07 +02:00
enricoturri1966
15fa298ca1 Fixed warning 2021-08-31 09:17:52 +02:00
enricoturri1966
7bf3a988b8 ENABLE_SEAMS_USING_MODELS -> Increased size of instances 2021-08-30 14:13:41 +02:00
enricoturri1966
59f55aabb6 ENABLE_SEAMS_USING_MODELS -> Fixed instances when horizontal slider is enabled for top layer only 2021-08-27 15:23:27 +02:00
enricoturri1966
61e5a43ba5 Tech ENABLE_SEAMS_USING_INSTANCED_MODELS merged into tech ENABLE_SEAMS_USING_MODELS 2021-08-27 11:41:34 +02:00
enricoturri1966
b5fbe79f31 ENABLE_SEAMS_USING_INSTANCED_MODELS -> Completed implementation of rendering models using instancing 2021-08-27 10:16:50 +02:00
enricoturri1966
cf1b3dcbd8 Code cleanup and small refactoring 2021-08-26 14:37:09 +02:00
enricoturri1966
4868c42169 ENABLE_SEAMS_USING_INSTANCED_MODELS -> WIP: Render models using glDrawElementsInstanced 2021-08-26 12:37:55 +02:00
enricoturri1966
13bcc58b8e Temporary tech ENABLE_SEAMS_USING_INSTANCED_MODELS -> WIP (still missing opengl calls) 2021-08-05 15:08:49 +02:00
enricoturri1966
f81648e4aa Techs ENABLE_SEAMS_USING_MODELS + ENABLE_GCODE_VIEWER_STATISTICS -> Added instances counter 2021-08-05 10:19:02 +02:00
enricoturri1966
b483a13819 Techs ENABLE_SEAMS_USING_MODELS + ENABLE_GCODE_VIEWER_STATISTICS -> Fixed detection of used memory to store instances data 2021-08-05 09:35:12 +02:00
enricoturri1966
61c056fb63 Tech ENABLE_SEAMS_USING_MODELS -> Use new options visualization only if OpenGL 3.1 or greater is detected 2021-08-05 09:09:07 +02:00
enricoturri1966
f34f607226 Fixed build warnings on non-Windows OS 2021-08-05 08:10:42 +02:00
enricoturri1966
d3e1b5cb91 Fixed build of tech ENABLE_SEAMS_USING_MODELS when tech ENABLE_GCODE_VIEWER_STATISTICS is disabled 2021-08-04 15:23:37 +02:00
enricoturri1966
086d157da1 Tech ENABLE_SEAMS_USING_MODELS - 1st installment 2021-08-04 15:13:43 +02:00
enricoturri1966
374efd7fbc A bit of refactoring into GCodeViewer 2021-08-04 13:49:51 +02:00
enricoturri1966
d844fb9cbd Colors defined as std::array<float, 4> in GCodeViewer 2021-08-04 13:27:42 +02:00
enricoturri1966
3b6f3dd0cb Removed constness from a few renderXXX() methods 2021-08-04 12:47:36 +02:00
enricoturri1966
75fce3026d Fixed calls set_uniform(emission_factor, xx) to use floats 2021-08-04 11:58:50 +02:00
enricoturri1966
9750701f43 Fixed build when tech ENABLE_GCODE_VIEWER_STATISTICS is enabled 2021-08-02 12:16:03 +02:00
enricoturri1966
a397c705cb Preview legend: title of estimated print time section dependent on results 2021-07-23 14:49:24 +02:00
enricoturri1966
5dabae7d0d Fixed import of color print view from gcode files into GCodeViewer 2021-07-23 11:27:07 +02:00
enricoturri1966
63ae8756bb Tech ENABLE_SEAMS_VISUALIZATION set as default 2021-07-22 12:58:33 +02:00
enricoturri1966
3dcf5f1156 Tech ENABLE_START_GCODE_VISUALIZATION set as default 2021-07-22 12:32:08 +02:00
enricoturri1966
13a56cfff7 Tech ENABLE_SCROLLABLE_LEGEND set as default 2021-07-22 12:18:38 +02:00
enricoturri1966
4537263265 Tech ENABLE_GCODE_WINDOW set as default 2021-07-22 09:37:02 +02:00
enricoturri1966
cb873bd88c Tech ENABLE_GCODE_LINES_ID_IN_H_SLIDER set as default 2021-07-22 08:35:21 +02:00
enricoturri1966
ab8cdae689 GCodeViewer -> Fixed crash when importing gcode files generated by older versions of PrusaSlicer 2021-07-21 08:58:14 +02:00
enricoturri1966
22cf01f449 Tech ENABLE_SEQUENTIAL_LIMITS set as default 2021-07-20 12:05:15 +02:00
enricoturri1966
bfdaeae376 Delayed rendering of transparent volumes 2021-07-14 13:20:57 +02:00
enricoturri1966
69eb2fd4e5 Follow-up of d6fdf2d5c2 -> Automatic generation of missing thumbnails 2021-07-13 11:57:19 +02:00
enricoturri1966
d9e9e76467 #6587 - Fixed temporary .gcode file locked by gcode window visualizator while exporting to gcode 2021-06-07 11:54:16 +02:00
enricoturri1966
95c519fbf2 Fixed conflicts after merge with master + fixed rendering of hovered gizmo grabbers 2021-05-31 12:54:48 +02:00
enricoturri1966
1c168809d1 Added missing uniform calls for emission_factor 2021-05-28 16:44:13 +02:00
enricoturri1966
7519193bb3 Follow-up of b3ca8cb0af -> Fixed typo 2021-05-27 14:05:29 +02:00
enricoturri1966
1ae72e2a33 Fixed calculation of used filament for gcode viewer (take data from gcode file) 2021-05-27 12:25:59 +02:00
enricoturri1966
0dfe398549 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-24 14:19:40 +02:00
Lukas Matena
d125c498b5 Fixed several locales issues on file import/export 2021-05-24 12:22:00 +02:00
Lukas Matena
1cb432a4ae Fixed first batch of locale-dependent calls 2021-05-24 12:20:29 +02:00
enricoturri1966
00df797a4d Fixed conflicts after merge with master 2021-05-20 15:37:56 +02:00
Enrico Turri
0649a231f7 Test 2021-05-20 11:04:47 +02:00
enricoturri1966
9f94836b8b Fixed conflicts after merge with master 2021-05-13 14:10:42 +02:00
enricoturri1966
3f558b878a Add estimated printing time for first layer in legend 2021-05-12 11:21:18 +02:00