overte-thingvellir/tools
David Rowe ffeb37e7aa Merge remote-tracking branch 'hifi/master' into merge-hifi-master
# Conflicts:
#	CMakeLists.txt
#	README.md
#	cmake/externals/glad32es/CMakeLists.txt
#	cmake/externals/glad41/CMakeLists.txt
#	cmake/externals/glad45/CMakeLists.txt
#	cmake/externals/polyvox/CMakeLists.txt
#	cmake/externals/quazip/CMakeLists.txt
#	cmake/externals/vhacd/CMakeLists.txt
#	cmake/init.cmake
#	cmake/ports/hifi-deps/CONTROL
#	cmake/ports/sdl2/CONTROL
#	cmake/ports/sdl2/disable-hidapi-for-uwp.patch
#	cmake/ports/sdl2/enable-winrt-cmake.patch
#	cmake/ports/sdl2/fix-arm64-headers.patch
#	cmake/ports/sdl2/fix-x86-windows.patch
#	cmake/ports/sdl2/portfile.cmake
#	cmake/ports/sdl2/vcpkg-cmake-wrapper.cmake
#	cmake/ports/tbb/portfile.cmake
#	hifi_vcpkg.py
#	interface/src/avatar/MyAvatar.h
#	libraries/avatars-renderer/src/avatars-renderer/Avatar.h
#	libraries/avatars/src/AvatarData.h
#	libraries/entities-renderer/src/RenderableEntityItem.h
#	libraries/entities/src/EntityItem.cpp
#	libraries/entities/src/EntityItem.h
#	libraries/fbx/src/GLTFSerializer.cpp
#	libraries/graphics-scripting/src/graphics-scripting/Forward.h
#	libraries/networking/src/AddressManager.cpp
#	libraries/networking/src/DomainHandler.h
#	libraries/procedural/src/procedural/ProceduralMaterialCache.cpp
#	libraries/render-utils/src/HighlightEffect.cpp
#	libraries/render-utils/src/MeshPartPayload.cpp
#	libraries/render-utils/src/Model.cpp
#	libraries/render-utils/src/RenderShadowTask.cpp
#	libraries/script-engine/src/WebSocketClass.cpp
2020-04-09 16:46:27 +12:00
..
010-templates
ac-client change Metaverse API from setting 2019-12-20 11:39:05 +01:00
animedit
atp-client change Metaverse API from setting 2019-12-20 11:39:05 +01:00
bake-tools
ci-scripts Fix GA S3 upload path 2019-12-10 12:44:49 -08:00
dissectors
gpu-frame-player
ice-client
jsdoc Merge remote-tracking branch 'hifi/master' into merge-hifi-master 2020-04-09 16:46:27 +12:00
ktx-tool
nitpick Quick fix for the metaverse API 2020-01-14 20:33:39 -06:00
oven
qt-builder
samples
scripts
skeleton-dump
udt-test
unity-avatar-exporter
vhacd-util
atp-extract.py
avatar-json-to-dot.js
CMakeLists.txt
dimensions.mel
gen_stars.py
normalizeFrame.py
objtohio.php
README.md
refresh-tags.sh
sendvoxels.php
shadergen.py
srgb_gen.py

tools

Various command line tools for interacting with the Voxel Server and Interface.

objtohio.php :

USAGE: 
	php objtohio.php -i 'inputFileName' -o 'outputFileName' -m [blocks|wireframe|surface] -s [voxel size]
	
DESCRIPTION:	
	Converts a Wavefront OBJ file into a voxel binary file suitable for loading locally into the client or
	loading on the voxel server or sending to the voxel server using sendvoxels.php
	
NOTE:  
	Depending on the size of the model, it might take a lot of memory, so you will likely need to include
    the -d memory_limit=4096M option
       
EXAMPLE:

	php -d memory_limit=4096M objtohio.php -i "Samples/little girl head-obj.obj" -o girl-test.hio -s 0.006

sendvoxels.php :

USAGE:	
	sendvoxels.php -i 'inputFileName' -s [serverip] -p [port] -c [I|R]

DESCRIPTION:	
	Sends the contents of a voxel binary file to a voxel server. Can either Insert or Remove voxels. Command defaults
	to "I" insert.

EXAMPLES:

	php sendvoxels.php -s 192.168.1.116 -i 'girl-test.hio' -c I
	php sendvoxels.php -s 192.168.1.116 -i 'girl-test.hio' -c R
	php sendvoxels.php -s 192.168.1.116 -i 'girl-test.hio'