overte-Armored-Dragon/tools
Marcel Verhagen 8f0893ba21 Added fileOnUrl to check if a texture exist at the location. It return the correct filename of where the texture lives.
Added the url of the fix file to extractFBXGeometry and readFBX and updated the calls to readFBX to include the url of the fix file.

So it now does not break existing content.

Found a second place in the FBXReader.cpp where the RelativeFileName stripped out the dir location.
2015-07-22 22:34:45 +02:00
..
mtc remove use of include_dependency_includes and use cmake 2015-02-18 14:12:05 -08:00
samples Replacing glutSolidSphere by a cached Geometry 2014-10-03 16:55:58 -07:00
scribe clean up various warnings 2015-05-01 16:49:13 -07:00
vhacd-util Added fileOnUrl to check if a texture exist at the location. It return the correct filename of where the texture lives. 2015-07-22 22:34:45 +02:00
CMakeLists.txt make VHACD an external project 2015-04-15 13:51:51 -07:00
gen_stars.py move gen_stars to the tools folder 2013-05-22 12:39:27 -07:00
objtohio.php more delete voxel debugging, call reaverage colors on root node 2013-04-03 11:14:00 -07:00
README.md adding some new tools 2013-04-02 14:43:33 -07:00
refresh-tags.sh don't include build-ext in tags 2015-03-29 05:40:16 -07:00
sendvoxels.php first cut at exists bits 2013-05-20 12:56:59 -07:00

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'