mvrdevelopment / spec

DIN SPEC 15800 General Device Type Format (GDTF) and My Virtual Rig (MVR) File Format description DIN SPEC 15801
66 stars 15 forks source link

MVR XSD schema #79

Open petrvanekrobe opened 3 years ago

petrvanekrobe commented 3 years ago

I think it would be good to have a validation scheme for MVR as well. I created a very, very early working version, it is missing any type of uniqueness or other types of checking, it doesn't even check for a particular version, but it can serve as a good start for anyone using MVR, to further extend it, to ensure good cross-compatibility between various software.

https://github.com/mvrdevelopment/spec/tree/mvr_schema

Bartel-C8 commented 3 years ago

Where does the Classing in a Fixture comes from? What is its meaning? I do not find it anywhere mentioned in the spec? It is a UUID, but what is the difference between the Classing uuid and the uuid already present in the Fixture tag?

Thanks!

petrvanekrobe commented 3 years ago

Where does the Classing in a Fixture comes from? What is its meaning? I do not find it anywhere mentioned in the spec? It is a UUID, but what is the difference between the Classing uuid and the uuid already present in the Fixture tag?

Thanks!

I think this is missing in the MVR Version: 1.5 - draft 2, i can see this being used in MA3 export.

cc: @moritzstaffel

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<GeneralSceneDescription verMajor="1" verMinor="4">

  <UserData/>

  <Scene>
    <Layers>
      <Layer name="Layer 1" uuid="00000000-5075-0000-ECAA-85C74A991322">
        <ChildList>
          <Fixture name="FORTE 1" uuid="00000000-D53C-0000-32AE-85C77A5E1022">
            <Matrix>{1.000000,0.000000,0.000000}{0.000000,1.000000,0.000000}{0.000000,0.000000,1.000000}{0.000000,0.000000,5800.000000}</Matrix>
            <Classing>00000000-7C78-0000-EDAA-85C74A991322</Classing>
            <GDTFSpec>Robe Lighting@Robin FORTE</GDTFSpec>
            <GDTFMode>Mode 1 - Standard 16 bit</GDTFMode>
            <Addresses>
              <Address break="0">1</Address>
            </Addresses>
            <FixtureID>1</FixtureID>
            <UnitNumber>0</UnitNumber>
            <FixtureTypeId>0</FixtureTypeId>
            <CustomId>0</CustomId>
            <Color>0.312712,0.329008,100.000000</Color>
            <CastShadow>false</CastShadow>
            <Mappings/>
          </Fixture>
        </ChildList>
      </Layer>
    </Layers>
    <AUXData>
      <Class name="Class 1" uuid="00000000-7C78-0000-EDAA-85C74A991322"/>
    </AUXData>
  </Scene>

</GeneralSceneDescription>
Bartel-C8 commented 3 years ago

Apparently it is an additional way to classify Fixtures, apart from Layers :-).

https://help2.malighting.com/Page/grandMA3/patch_classes_layers/en/1.4

Screenshot 2021-04-29 at 11 23 43

LxLasso commented 3 years ago

Classes are a VectorWorks thing.