Skip to content

Commit

Permalink
Update rendermodel and add instructions for installer
Browse files Browse the repository at this point in the history
  • Loading branch information
SidneyBovet committed Nov 6, 2018
1 parent 31da44c commit 91a2eb4
Show file tree
Hide file tree
Showing 5 changed files with 5,638 additions and 150,583 deletions.
11 changes: 9 additions & 2 deletions code/steamVR_renderModels/Readme.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# Pen Render Model

This folder contains the current render models for the different revisions of the pen. When trying to detect if a pen is present in the application, refer to the information on this page to ensure you are checking the correct property.

## Adding render model to SteamVR

## Add Render Model to SteamVR
Copy the `logi_pen` folder to the appropriate SteamVR sub-folder. Typically the path is something like this `C:\Program Files (x86)\Steam\steamapps\common\SteamVR\resources\rendermodels`
### Use the installer

Simply download and unzip [logi_pen_mode_installerl.zip](https://github.com/Logitech/labs_vr_pen_sdk/releases), run the executable file and follow the instructions. Feedback on this procedure is appreciated!

### Manually add render model to SteamVR

Copy the `logi_pen` folder to the appropriate SteamVR sub-folder. Typically the path is something like this `C:\Program Files (x86)\Steam\steamapps\common\SteamVR\resources\rendermodels`

## SteamVR property for each device

Expand Down
10 changes: 5 additions & 5 deletions code/steamVR_renderModels/logi_pen/logi_pen.mtl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Blender MTL File: 'logi_pen.Blenderfile.blend'
# Blender MTL File: 'logi_pen.blend'
# Material Count: 1

newmtl PenBody
newmtl LogiPen
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Kd 0.029927 0.029927 0.029927
Ks 0.026829 0.026829 0.026829
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
map_Kd logi_pen_WSNORM.png
map_Kd logi_pen.png
Loading

0 comments on commit 91a2eb4

Please sign in to comment.