Commit graph

52 commits

Author SHA1 Message Date
jlewin
19a7fba3a6 Extract screen space axis indicator to dedicated drawable 2019-06-18 12:23:07 -07:00
jlewin
08600fa2a7 Convert to three point axis indicator 2019-06-18 11:51:46 -07:00
LarsBrubaker
16177288d0 Show screen rotation axis (testing) 2019-06-18 08:21:48 -07:00
LarsBrubaker
12df410035 improving rendering to show direction
fixing warnings
2019-06-14 21:48:40 -07:00
John Lewin
8634c17a0a Simplify 2019-06-03 16:33:28 -07:00
John Lewin
a589bc3025 Remove unused ClippingFrustum calls 2019-06-03 16:33:28 -07:00
LarsBrubaker
af7be404d9 fixing warnings 2019-05-27 16:39:51 -07:00
John Lewin
3717d284a7 Simplify - use overload with default identity matrix 2019-05-21 07:40:36 -07:00
LarsBrubaker
7fc0c8cc77 only show normals on selected object 2019-05-10 22:55:33 -07:00
LarsBrubaker
ca24a67706 Improving twist object
fixed draw normals and added it
2019-05-10 12:11:22 -07:00
John Lewin
b60c2ef960 Enable transparency on design workspace bed
- Issue MatterHackers/MCCentral#5450
Looking up in design view has no bed transparency
2019-05-03 11:12:40 -07:00
jlewin
8d4547d706 Revise naming to match behavior 2019-05-01 15:39:16 -07:00
LarsBrubaker
73ebdde9e5 Changing nozzle1_inset to t0_inset
refactoring some surrounding code to talk about tool rather than nozzle
or hotend

figure it's better to do this change before we have any profiles with this set into them

issue: MatterHackers/MCCentral#5333
Consider if Tool nomenclature should be used instead of Nozzle
2019-04-20 21:03:05 -07:00
jlewin
2e806892a7 Kick off texture creation in constructor
- Issue MatterHackers/MCCentral#5354
Long delay before bed texture appears
2019-04-17 13:24:12 -07:00
John Lewin
a0bda73449 Fix improperly initialized state
- Issue MatterHackers/MCCentral#5345
Switching bed shape causes the bed to have no texture
- Force invalidate on texture change
2019-04-15 21:20:12 -07:00
Lars Brubaker
1161ada17f Make sure we get the bad set early on dual extrusion 2019-04-15 17:53:06 -07:00
jlewin
accae2bdaf Fix incorrect texture after ReloadAll 2019-04-15 16:25:39 -07:00
jlewin
db1680b87d Invalidate bed textures on extruder_count change 2019-04-15 16:07:01 -07:00
jlewin
b0fc918edf Fix missing bed texture on single hotend printer
- Issue MatterHackers/MCCentral#5337
Bed grid does not render for single extrusion printer
2019-04-15 16:07:01 -07:00
jlewin
161ef1062c Fix hotend limits texture for items with descendants 2019-04-15 16:05:52 -07:00
John Lewin
46c55f004b Add label override for unioned nozzle case 2019-04-13 15:55:02 -07:00
John Lewin
0a9e943efe Add basic support for multi-material limits rendering
- Issue MatterHackers/MCCentral#5323
Add hotend limits support for multi-material items
2019-04-13 15:41:44 -07:00
John Lewin
a290cd672e Handle wipe tower case
- Issue MatterHackers/MCCentral#5323
Add hotend limits support for multi-material items
2019-04-13 15:35:54 -07:00
John Lewin
e355dbc338 Disable CullFace before rendering design space background
- Issue MatterHackers/MCCentral#5329
Bed background color lost when scene has children
2019-04-13 15:04:47 -07:00
John Lewin
d9e8f6cdde Fix invalid TriangleStrip definition
- Issue MatterHackers/MCCentral#5328
bed in design view has different colors on the two triangles of the
upper face
2019-04-13 10:29:47 -07:00
LarsBrubaker
d0c7b7ebee account for beds that have a lower left position at something other than (0, 0)
issue: MatterHackers/MCCentral#5319
no nozzle inset set but bed showing a clipping region (I think)
2019-04-13 07:45:22 -07:00
John Lewin
7159b48a13 Guard for non-supported hotends
- Issue MatterHackers/MCCentral#5326
Put in guards for materials other than 1 & 2
2019-04-13 02:32:09 -07:00
John Lewin
89e5aba86e Invalidate on related settings change
- Issue MatterHackers/MCCentral#5321
Invalidate per hotend bed textures on related settings change
2019-04-13 02:25:27 -07:00
John Lewin
60a1238f54 Migrate nozzle limits texture construction to drawable
- Construct and cache textures after use
- Create placeholder textures for use before constructed
- Remove bed texture construction from CreatePrintBedAndVolume
- Issue MatterHackers/MCCentral#5325
Migrate to themed bed colors
- Issue MatterHackers/MCCentral#5320
Cache per hotend bed textures
2019-04-13 02:13:20 -07:00
John Lewin
17eca3b36c Use theme colors 2019-04-13 02:05:27 -07:00
John Lewin
2d00baff69 Draw grid background for Design workspace in BedColor
- Sync colors across printer/workspace views
2019-04-13 02:04:48 -07:00
John Lewin
eeb3410bc4 Update one theme for custom bed colors
- Issue MatterHackers/MCCentral#5325
Migrate to themed bed colors
2019-04-13 01:55:14 -07:00
John Lewin
92a3693772 Move bed colors into theme
- Issue MatterHackers/MCCentral#5325
Migrate to themed bed colors
2019-04-13 01:54:01 -07:00
jlewin
f11fe7e29f Conditionally disable bed texture blending
MatterHackers/MCCentral#5310
Texture is darkened when rendered onscreen
2019-04-12 16:44:06 -07:00
John Lewin
32ab931342 Add item TraceData renderer 2019-02-04 16:18:06 -08:00
John Lewin
e9b79e1099 Add common properties to IDrawableItem 2019-02-04 16:18:06 -08:00
John Lewin
f26a8758e5 Extract embedded types to new files 2019-02-04 16:18:06 -08:00
John Lewin
9543c1450e Rename for more specificity 2019-02-04 16:18:06 -08:00
John Lewin
cf4bece014 Extract selection rendering to new Drawable 2019-02-04 16:18:06 -08:00
John Lewin
a9bb99cd99 Adjust timing so that some stages are inside/outside of SetGLContext 2019-02-04 16:18:06 -08:00
John Lewin
83712d7e08 Add and use new ISceneContext interface 2019-02-04 16:18:06 -08:00
John Lewin
c7e76e1996 Add Enabled property to IDrawable 2019-02-04 16:18:05 -08:00
John Lewin
8aaa42d078 Invoke drawables at each stage 2019-02-04 16:18:05 -08:00
John Lewin
0d895258aa Require additional metadata for Drawables 2019-02-04 16:18:05 -08:00
John Lewin
a33a7e8924 Fix alpha accumulation to 0 2019-02-04 16:18:05 -08:00
John Lewin
8f58e8e8d4 Extract InspectedItem render to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
a8dd1c6a5d Extract AABB debugger to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
0f857acc96 Add iterable list of Drawables to viewer 2019-02-04 16:18:05 -08:00
John Lewin
c2fee997d2 Extract AxisIndicator to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
7269d71b65 Disable example 2019-02-04 16:18:04 -08:00