Jump to content

LordThrash

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by LordThrash

  1. Hi,

    I am confused


    Is there really clear examples of when to use each of the Gui Editor - layout - HorizSizing/vertSizing types some one can point me to? I keep getting issues when changing my games window size and aspect ratio the UI becomes unclickable at times.


    I'm not understanding each of the options and I cant predict how they will act. Examples I have seen say things like Bottom and Left when they are actually on the top right. I would imagine I would want relative or window relative to allow scaling to keep UI from getting too small on higher resolutions.


    For my project I would prefer all UI be uniformly scaled in ratio to the height of the window always. And then each UI element would be anchored to a corner or center in each axis. Does someone have an example like this?


    Thanks for your time.

    -Rob

  2. I got latest 3.7 and trying again with occlus sdk 0.5 all bone stock.

    First I had trouble with the OVR.h includes. I resolved it by adding the sdk files listed in into new folder LibOVR\Include\Kernel. Was that bad?

    Now I'm hitting this when compiling in vs2010

    1>d:\biocy\37bin\engine\source\platform\input\oculusvr\oculusvrhmddevice.h(47): error C2039: 'HMDDevice' : is not a member of 'OVR'
    1>d:\biocy\37bin\engine\source\platform\input\oculusvr\oculusvrhmddevice.h(47): error C2143: syntax error : missing ';' before '*'
    1>d:\biocy\37bin\engine\source\platform\input\oculusvr\oculusvrhmddevice.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    on this line:

       OVR::HMDDevice* mDevice;

    Im pretty noobie at this. Suggestions welcome.

    -Rob

  3. hi. I hope this is the log you want. If there is another log that would be helpful, let me know. I have been ignoring the pdb errors... This is a straight build from github torque3d development. I made a sister build without oculus on the same code and it worked fine.


    I was going to deactivate fmod and see what happens.


    'Spear_Dev_DEBUG.exe': Loaded 'D:\BioCy\spear\Torque3D-development\My Projects\Spear_Dev\game\Spear_Dev_DEBUG.exe', Symbols loaded.
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'D:\BioCy\spear\Torque3D-development\My Projects\Spear_Dev\game\Spear_Dev_DEBUG DLL.dll', Symbols loaded.
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\X3DAudio1_7.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\comdlg32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec80f00e8593ece5\comctl32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\wsock32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\d3d9.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\d3d8thk.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\D3DX9_43.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
    
    Input Init:
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\XInput9_1_0.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\dinput8.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\hid.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
    
      keyboard0 input device created.
    
      mouse0 input device created.
    
      DirectInput enabled.
    
    
    
    Done
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Program Files (x86)\SlySoft\AnyDVD\ADvdDiscHlp.dll', Binary was not built with debug information.
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\XAudioD2_7.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\propsys.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\OpenAL32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\wdmaud.drv', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\ksuser.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\avrt.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\AudioSes.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\msacm32.drv', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\msacm32.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\midimap.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\wrap_oal.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\dsound.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
    
    The thread 'Win32 Thread' (0x360c) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x23e4) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2ae4) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x23c4) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x3718) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x69c) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x3680) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x23dc) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2c48) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2348) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x376c) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x1f50) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2eb4) has exited with code 0 (0x0).
    
    'Spear_Dev_DEBUG.exe': Unloaded 'C:\Windows\SysWOW64\wrap_oal.dll'
    
    'Spear_Dev_DEBUG.exe': Loaded 'C:\Windows\SysWOW64\wrap_oal.dll', Cannot find or open the PDB file
    
    The thread 'Win32 Thread' (0x2a28) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x19b8) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2ccc) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x27f0) has exited with code 0 (0x0).
    
    'Spear_Dev_DEBUG.exe': Unloaded 'C:\Windows\SysWOW64\wrap_oal.dll'
    
    'Spear_Dev_DEBUG.exe': Loaded 'D:\BioCy\spear\Torque3D-development\My Projects\Spear_Dev\game\fmodex.dll', Cannot find or open the PDB file
    
    'Spear_Dev_DEBUG.exe': Loaded 'D:\BioCy\spear\Torque3D-development\My Projects\Spear_Dev\game\fmod_event.dll', Cannot find or open the PDB file
    
    SFXFMODProvider - FMOD Ex API version: 4.44.31
    
    SFXFMODProvider - FMOD Designer API version: 4.44.31
    
    The thread 'Win32 Thread' (0x37f4) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2918) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x8a4) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2f80) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2acc) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2e30) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x21d0) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x358c) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x9d0) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2434) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x2600) has exited with code 0 (0x0).
    
    The thread 'Win32 Thread' (0x3158) has exited with code 0 (0x0).
    
    Oculus VR Device Init:
    
      Could not enumerate a HMD device.  Simulating a HMD.
    
    First-chance exception at 0x11022206 (Spear_Dev_DEBUG DLL.dll) in Spear_Dev_DEBUG.exe: 0xC0000005: Access violation reading location 0x00000040.
    
    Unhandled exception at 0x11022206 (Spear_Dev_DEBUG DLL.dll) in Spear_Dev_DEBUG.exe: 0xC0000005: Access violation reading location 0x00000040.
  4. Quick question. would you guys expect to hit an exception when no device is detected? I was trying to add the code without the actual hardware attached.


    "Oculus VR Device Init:

    Could not enumerate a HMD device. Simulating a HMD."


    And then exception at OculusVRHMDDevice.cpp

    mSupportedCaps = hmd->HmdCaps;


    i hope to have a dev kit this weekend to see how it works and wanted to get a jumpstart on the code.

    -Rob

×
×
  • Create New...