-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support for data path and vr mesh rendering of controller and hmd
- Loading branch information
Showing
18 changed files
with
194 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@echo off | ||
setlocal EnableDelayedExpansion | ||
%~d0 | ||
cd %~p0 | ||
set my_path=%~dp0 | ||
set cgvdir=%my_path:~0,-1% | ||
set cgvdata=%cgvdir%\data | ||
if [%1] == [] ( | ||
set param="" | ||
) else ( | ||
set param=%1 | ||
) | ||
set param=%param:"=% | ||
if NOT [%1] == [] ( | ||
if EXIST "%param%\..\%~n1" ( | ||
call set cgvdata=%param% | ||
) else ( | ||
echo only directories valid as data path argument | ||
echo "%param%\..\%~n1" does not exist | ||
pause | ||
goto:eof | ||
) | ||
) else ( | ||
echo no cgv data directory dragged onto batch script | ||
pause | ||
goto:eof | ||
) | ||
call reg ADD HKEY_CURRENT_USER\Environment /v CGV_DATA /t REG_SZ /d "%cgvdata%" /f > nul 2> nul | ||
bin\setx CGV_DUMMY "" | ||
call reg DELETE HKEY_CURRENT_USER\Environment /v CGV_DUMMY /f >nul 2> nul | ||
echo set CGV_DATA to %cgvdata% | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
files:textured_surface | ||
fragment_file:lights.glsl | ||
fragment_file:brdf.glsl | ||
fragment_file:bump_map.glfs | ||
vertex_file:brdf.glsl | ||
vertex_file:view.glsl | ||
fragment_file:fragment.glfs | ||
fragment_file:side.glsl | ||
fragment_file:surface.glsl | ||
fragment_file:lights.glsl | ||
fragment_file:brdf.glsl | ||
fragment_file:bump_map.glfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.