-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix isolate selected regression, and longstanding issue with selectio…
…n highlight. (#11037) * this works, but ideally it would be done in the shader to avoid this sorting * update shader to make selected geometry more prominent than vertColored geo new tests * move camera closer regen images disable update image define remove unneccesary sorting * fix copy paste error
- Loading branch information
1 parent
1a1addf
commit 89818c3
Showing
8 changed files
with
198 additions
and
7 deletions.
There are no files selected for viewing
Binary file modified
BIN
-6.45 KB
(92%)
src/DynamoCoreWpf/ViewModels/Watch3D/compiledShaders/vsDynamoMesh
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+76.9 KB
...re/visualization/imageComparison/referenceImages/SelectedSolidsOverlapping1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+76.9 KB
...re/visualization/imageComparison/referenceImages/SelectedSolidsOverlapping2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+69.7 KB
...lization/imageComparison/referenceImages/SelectedSolidsOverlappingIsolated1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+69.7 KB
...lization/imageComparison/referenceImages/SelectedSolidsOverlappingIsolated2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
143 changes: 143 additions & 0 deletions
143
test/core/visualization/imageComparison/twooverlappedspheres.dyn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
{ | ||
"Uuid": "7a753dd2-d694-4222-8815-22bca6046723", | ||
"IsCustomNode": false, | ||
"Description": null, | ||
"Name": "twooverlappedspheres", | ||
"ElementResolver": { | ||
"ResolutionMap": {} | ||
}, | ||
"Inputs": [], | ||
"Outputs": [], | ||
"Nodes": [ | ||
{ | ||
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", | ||
"NodeType": "FunctionNode", | ||
"FunctionSignature": "Autodesk.DesignScript.Geometry.Sphere.ByCenterPointRadius@Autodesk.DesignScript.Geometry.Point,double", | ||
"Id": "0a748143be4a4fd1b0074a26070964b8", | ||
"Inputs": [ | ||
{ | ||
"Id": "37fb4f115c604a118a469317a705eb7b", | ||
"Name": "centerPoint", | ||
"Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)", | ||
"UsingDefaultValue": true, | ||
"Level": 2, | ||
"UseLevels": false, | ||
"KeepListStructure": false | ||
}, | ||
{ | ||
"Id": "38130f43b9564aa9a98216a3495f14e3", | ||
"Name": "radius", | ||
"Description": "double\nDefault value : 1", | ||
"UsingDefaultValue": true, | ||
"Level": 2, | ||
"UseLevels": false, | ||
"KeepListStructure": false | ||
} | ||
], | ||
"Outputs": [ | ||
{ | ||
"Id": "2581dd0237c94e09a3c5417b0b6d2d25", | ||
"Name": "Sphere", | ||
"Description": "Sphere", | ||
"UsingDefaultValue": false, | ||
"Level": 2, | ||
"UseLevels": false, | ||
"KeepListStructure": false | ||
} | ||
], | ||
"Replication": "Auto", | ||
"Description": "Create a Solid Sphere cetered at the input Point, with given radius.\n\nSphere.ByCenterPointRadius (centerPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), radius: double = 1): Sphere" | ||
}, | ||
{ | ||
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", | ||
"NodeType": "FunctionNode", | ||
"FunctionSignature": "Autodesk.DesignScript.Geometry.Sphere.ByCenterPointRadius@Autodesk.DesignScript.Geometry.Point,double", | ||
"Id": "27c5050395aa479eb855bc5f83ba742e", | ||
"Inputs": [ | ||
{ | ||
"Id": "f6390ad30df54e58b6a11c07cf1579f0", | ||
"Name": "centerPoint", | ||
"Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)", | ||
"UsingDefaultValue": true, | ||
"Level": 2, | ||
"UseLevels": false, | ||
"KeepListStructure": false | ||
}, | ||
{ | ||
"Id": "c1350014b314450f83ff4c11dd47da10", | ||
"Name": "radius", | ||
"Description": "double\nDefault value : 1", | ||
"UsingDefaultValue": true, | ||
"Level": 2, | ||
"UseLevels": false, | ||
"KeepListStructure": false | ||
} | ||
], | ||
"Outputs": [ | ||
{ | ||
"Id": "aa086c5e28f6481c9a52743a0c887601", | ||
"Name": "Sphere", | ||
"Description": "Sphere", | ||
"UsingDefaultValue": false, | ||
"Level": 2, | ||
"UseLevels": false, | ||
"KeepListStructure": false | ||
} | ||
], | ||
"Replication": "Auto", | ||
"Description": "Create a Solid Sphere cetered at the input Point, with given radius.\n\nSphere.ByCenterPointRadius (centerPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), radius: double = 1): Sphere" | ||
} | ||
], | ||
"Connectors": [], | ||
"Dependencies": [], | ||
"NodeLibraryDependencies": [], | ||
"Bindings": [], | ||
"View": { | ||
"Dynamo": { | ||
"ScaleFactor": 1.0, | ||
"HasRunWithoutCrash": true, | ||
"IsVisibleInDynamoLibrary": true, | ||
"Version": "2.9.0.2336", | ||
"RunType": "Automatic", | ||
"RunPeriod": "1000" | ||
}, | ||
"Camera": { | ||
"Name": "Background Preview", | ||
"EyeX": -1.2032631635665894, | ||
"EyeY": 1.733094334602356, | ||
"EyeZ": 4.1445307731628418, | ||
"LookX": 1.2032631635665894, | ||
"LookY": -1.733094334602356, | ||
"LookZ": -4.1445307731628418, | ||
"UpX": 0.046017393469810486, | ||
"UpY": 0.98628562688827515, | ||
"UpZ": -0.15850274264812469 | ||
}, | ||
"NodeViews": [ | ||
{ | ||
"ShowGeometry": true, | ||
"Name": "sphere1", | ||
"Id": "0a748143be4a4fd1b0074a26070964b8", | ||
"IsSetAsInput": false, | ||
"IsSetAsOutput": false, | ||
"Excluded": false, | ||
"X": 78.0, | ||
"Y": 215.0 | ||
}, | ||
{ | ||
"ShowGeometry": true, | ||
"Name": "sphere2", | ||
"Id": "27c5050395aa479eb855bc5f83ba742e", | ||
"IsSetAsInput": false, | ||
"IsSetAsOutput": false, | ||
"Excluded": false, | ||
"X": 321.0, | ||
"Y": 220.0 | ||
} | ||
], | ||
"Annotations": [], | ||
"X": -28.534948309330503, | ||
"Y": -17.32101017353429, | ||
"Zoom": 1.1047642563030275 | ||
} | ||
} |