mirror of
https://github.com/fadden/6502bench.git
synced 2026-04-20 04:16:47 +00:00
Progress on wireframe visualization
Added some more plumbing. Updated visualization set edit dialog, which now does word-wrapping correctly in the buttons. Added Alt+V as the hotkey for Create/Edit Visualization Set, which allows you to double-tap it to leap into the visualization editor. Experimented with Path drawing, which looks like it could do just what we need. Also, show the file size in KB in the code/data/junk breakdown at the bottom of the window. (Technically it's KiB, but that looked funny.)
This commit is contained in:
@@ -41,6 +41,12 @@ namespace WireframeTest {
|
||||
new VisParamDescr[] {
|
||||
new VisParamDescr("File offset (hex)",
|
||||
P_OFFSET, typeof(int), 0, 0x00ffffff, VisParamDescr.SpecialMode.Offset, 0),
|
||||
|
||||
// These are interpreted by the main app.
|
||||
VisWireframe.Param_EulerX("Euler rotation X", 0),
|
||||
VisWireframe.Param_EulerY("Euler rotation Y", 0),
|
||||
VisWireframe.Param_EulerZ("Euler rotation Z", 0),
|
||||
VisWireframe.Param_IsPerspective("Perspective projection", true),
|
||||
}),
|
||||
};
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
"SmartPlpHandling":true},
|
||||
|
||||
"PlatformSymbolFileIdentifiers":[],
|
||||
"ExtensionScriptFileIdentifiers":["PROJ:VisWireframeTest.cs"],
|
||||
"ExtensionScriptFileIdentifiers":["PROJ:VisWireframeTest.cs",
|
||||
"RT:Apple/VisHiRes.cs"],
|
||||
"ProjectSyms":{
|
||||
}},
|
||||
|
||||
@@ -239,7 +240,30 @@
|
||||
"LvTables":{
|
||||
},
|
||||
|
||||
"Visualizations":[],
|
||||
"Visualizations":[{
|
||||
"Tag":"wf_data",
|
||||
"VisGenIdent":"wireframe-test",
|
||||
"VisGenParams":{
|
||||
"offset":10,
|
||||
"_eulerRotX":0,
|
||||
"_eulerRotY":0,
|
||||
"_eulerRotZ":0,
|
||||
"_isPerspective":true}},
|
||||
|
||||
{
|
||||
"Tag":"bmp_data",
|
||||
"VisGenIdent":"apple2-hi-res-bitmap",
|
||||
"VisGenParams":{
|
||||
"offset":10,
|
||||
"byteWidth":3,
|
||||
"height":11,
|
||||
"colStride":0,
|
||||
"rowStride":0,
|
||||
"isColor":true,
|
||||
"isFirstOdd":false,
|
||||
"isHighBitFlipped":false}}],
|
||||
"VisualizationAnimations":[],
|
||||
"VisualizationSets":{
|
||||
}}
|
||||
"10":{
|
||||
"Tags":["wf_data",
|
||||
"bmp_data"]}}}
|
||||
|
||||
Reference in New Issue
Block a user