-
Posts
30 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Downloads
Everything posted by reneeclchen
-
FormatException: Input string was not in a correct format
reneeclchen replied to JerOhm's topic in VIVE SRWorks SDK
@JerOhm, It's most likely just how Unity's binaryreader and -writer work in different machines or operation systems. Since the calibration tool is an old feature and will be removed in later versions, I suggest these two steps: (1) Remove the .bin file, and (2) In ViveSR_DualCameraCalibrationTool.cs, slash out line 159 like this: //SaveParamValue(relative_angle, absolute_angle); The .bin file will then not be saved or loaded. It's not used anyway. -
FormatException: Input string was not in a correct format
reneeclchen replied to JerOhm's topic in VIVE SRWorks SDK
@JerOhm, Would you be so kind as to open the .bin file in Notepad and share the string in it with us? Thank you! -
FormatException: Input string was not in a correct format
reneeclchen replied to JerOhm's topic in VIVE SRWorks SDK
Hi @JerOhm, In SRWorks v0.9.3.0, we changed the format of this file: C:\Users\(USER NAME)\AppData\LocalLow\HTC Corporation\SR_Config\calibration_params.bin. You may have an old .bin file, and therefore the old format, from an old version of SRWorks. Kindly delete the file. SRWorks will regenerate it in the format that can be correctly parsed. -
Hi Jazz, Try deleting these folders in the Assets folder: (1) SteamVR_Input (2) SteamVR_Resources (3) StreamingAssets Go back to Unity Editor and this window should pop up: Click on "Accept". This window is for setting SRWorks Demo's input.
-
Hi @stevewheeler1, In 0.9.3, the mesh files are saved in this path: C:/Users/(UserName)/AppData/LocalLow/(CompanyName)/SR_Reconstruction_Output/Recons3DAsset/
-
Hi @PlushVive, The latest version of the Experience Demo (v0.8.0.2) works with SteamVR Unity Plugin 1.2.3 (https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/1.2.3). thanks! Renee
-
Hi @njs528, In Unity 2019, though the Accept button doesn't work, it does properly set the layer names. However, a function of the window is indeed bugged in Unity 2019–enabling VRSetting. Try enabling it manually. In Player Settings/XRSettings, check Virtual Reality Supported. Cheers, Renee
-
Hi @okocha1337, Is there a specific effect you would like to achieve? In general, you can look into Sample2 in the Demo project and the script ViveSR_Experience_DepthControl.cs. To change the the look of depth image, you can modify the shader script colormapShader.shader. As for your last question, it looks unstable because the depth module updates every frame. You can limit the max fps by calling SRWorkModule_API.SetDepthMaxFps(int max_fps). Regards, Renee
-
@giuly-chu, Thanks for sharing with us your method & making use of SRWorks for such a great purpose. Hope your thesis project goes well. We are always here to support you. Cheers, Renee
-
Hi @giuly-chu, These steps will do the trick: (1) Find the script Sample9_SemanticSegmentation.cs. (2) On line 165, slash out StaticMeshScript.ShowAllSementicCollider(); Cheers, Renee
-
The nature of Semantic Segmentation is to recognize and categorize real objects in the images captured by Vive Pro's front cameras. In other words, it's an AR feature. To categorize virtual objects, try looking into Unity's documentation Object.FindObjectsOfType. As for mode switch, try looking into Sample1_Effects_SwitchMode.unity and the script ViveSR_Experience_SwitchMode.cs. Cheers, Renee
-
Hi @giuly-chu, Kindly answer these two questions to help us understand the issue: (1) Do you run into the error using only SRWorks Unity Plugin and Experience Demo? (2) What are the steps to produce the error? Thanks! Renee
-
@sbouillandIn the video, it appears that you attempt to place the object on the desk without performing a mesh scan. Could you kindly clarify the effect you would like to achieve? Still, it is recommended to look into the Experience Demo package, a project made with SRWorks Unity Plugin. Cheers, Renee
-
Are you trying to place the cauldron on the desk? It appears to be on the floor. To place it on a real world desk, a mesh scan of the desk is required. As for mesh scan, try looking into Sample4 in the Experience Demo package. Cheers, Renee
-
See Through module doens't work any more...
reneeclchen replied to sbouilland's topic in VIVE SRWorks SDK
After upgrading your project with Unity 2019.2.6f1, have you tried deleting & reimporting the SRWorks Plugin package? This is the first time I saw this exact question on this forum. If there are any other questions that haven't been properly answered, kindly share the link; we will be more than happy to respond to it. Regards, Renee -
@okocha1337, Each portal prefab has a component "ViveSR_Portal", in which the Vector4 variable "planeEquation" has to be kept consistent with the normal direction of the portal. The function "UpdatePlaneNormal()" is for this purpose. Execute this function on Awake() and whenever the portal's transform is changed. Renee
-
Hi @okocha1337, Simply look for "ViveSR/Prefabs/DefaultPortal" or "ViveSR_Experience/Prefebs/PortalWithParticle", and place either of those prefabs in a position of your choice. Renee
-
Hi @okocha1337, To replace the shape of the prefab "DefaultPortal" or "PortalWithParticle", the replacement of mesh are required in three places: (1) in Circle/MeshFilter, (2) in RealWTrigger/PortalTrigger/MeshCollider, (3) in VirtualWTrigger/PortalTrigger/MeshCollider. After that, make sure the colliders (1) cover an area of the portal mesh you would like the portal effect to be effective and (2) have some thickness. Renee
-
HTC controllers are not visible playing SRWorks in UE4.18.3
reneeclchen replied to radka's topic in VIVE SRWorks SDK
Hi , The sample blueprint in "SRWorks SDK UE4 Plugin" only contains the most basic control, the hotkeys. The controller feature you are looking for is only demonstrated in "Sample Code Project: Experience Demo (UE4 Code)" in this page. After importing the SDK package into the demo package, the controller will show up. Renee -
Just replied to you in another thread! :) For other folks who are also wondering about this, you can find my answer here. Renee
-
Hi , You're welcome! And this is what I figured the easiest way to add new throwable objects that work with SRWorks' portal: (1) In Sample7, in the gameobject "DartGenerators", you'll see an array called "Dart_prefabs". (2) Duplicate one of those prefabs in your project window and replace its mesh, collider, and material with anything you want. (3) Add the duplicated & modified prefab to the "Dart_prefabs" array. Cheers, Renee
-
Hi , While holding Trigger, click on Touchpad-left or -right. -Renee
-
Hi , It appears to me that your project is missing SRWorks Plugin. You can get it from the 2nd link on this page. Cheers, Renee
-
Experience Demo (UE4 Code) Is it being distributed properly?
reneeclchen replied to Eddy's topic in VIVE SRWorks SDK
As discussed in my previous comment, since Experience Demo project is a demo project built upon SRWorks SDK Plugin, having the Experience Demo project alone is insufficient. Without adding SRWorks SDK Plugin to it, there will certainly be reference missing. Do you have SRWorks SDK Plugin in the Plugins folder of the Experience Demo project? The plugins folder should look like this: Cheers, Renee