Menu

View Component defined in Views.def not showing up in Host Emulator

Help
2017-11-29
2018-04-20
  • Alexander Baller Van Atta

    Maybe I do not understand how its supposed to work, but I have the following View defined in my host emulator Views.def file.

    VIEW
    {
    NAME = "Front";
    ID = 0;
    GROUP = 1;
    TYPE = 0;
    PROJECTION_TYPE = PERSPECTIVE;
    REPLICATION_MODE = NONE;
    MIRROR_MODE = NONE;
    X_OFFSET = 0;
    Y_OFFSET = 0;
    Z_OFFSET = 0;
    YAW = 0;
    PITCH = 0;
    ROLL = 0;
    TOP = 16.875;
    BOTTOM = -16.875;
    LEFT = -20;
    RIGHT = 20;
    NEAR = 5;
    FAR = 147975;

    COMPONENT
    {
        NAME        = "View Component 1";
        ID          = 4002;
        INSTANCE_ID = -1;
        DEF_STATE   = 0;
    
        STATE
        {
            NAME  = "Off";
            VALUE = 0;
        }
    
        STATE
        {
            NAME  = "On";
            VALUE = 1;
        }
    }
    

    }

    But I do not see any entries added to the Host Emulator GUI when I select the view. See the highlighted photo for where I expected it to show up. Is this a bug?

     
    • C. Schroeder

      C. Schroeder - 2018-04-20

      First, my apologies for not looking at this sooner.

      There appears to be a minor GUI bug in HEMU 3.3.3. If you select your "Front" view in the Views tab, then select another view, and then re-select your "Front" view you should then see the view component listed in the Components box.

       
  • Alexander Baller Van Atta

    I guess it did not like the photo tag. Photo can be viewed here: https://imgur.com/a/RwCAL

     
  • C. Schroeder

    C. Schroeder - 2017-12-06

    Hi Alexander,

    Looking at the excerpt you posted, it looks syntactically correct to me. Are you using HEMU 3.3.3 or an earlier version? The sample 'Views.def' file included with HEMU 3.3.3 includes a component for View 0: Front and is shown in the Components tab when selected in the Views tree list.

    Can you upload the complete 'Views.def' file you are using?

     

Log in to post a comment.