overte-HifiExperiments/scripts/developer/tests
LaShonda Hopper 5bc38bd7f0 [WL21389] Collision Shapes need to be updated (details below).
Revised approach involves creating a helper function within ShapeFactory to aid
in devising the ShapeType to be used by an ShapeEntityItem for collision.  The
ShapeFactory is currently doing this for creating the actual Bullet Library
collision shapes.

ShapeEntityItem overrides its virtually inherited computeShapeInfo which
in turn calls the new ShapeFactory helper function.

ShapeEntityItem has a new memvar _collisionShapeType to cache its actual
ShapeType used by the physics system.  This memvar is returned via the getShapeType
accessor which is expected to return an object's ShapeType.

Note(s):
    This is similar to the original approach save translation between entity::Shape and ShapeType
    isn't tied to the EntityItemProperties shapeTypeNames or shapeType. This approach more
    directly solves the issue of getting the actual ShapeType used by the time it's needed
    to determine the bullet collision object type created when initializing the physic information.

    Translation of the ShapeEntityItem's entity::Shape to its ShapeType is handled by
    ShapeFactory which handles creating the bullet collision objects when setting up
    physics on the ShapeEntityItems.

Known Issue(s):
    This doesn't compile.  It appears that the Entity Library needs to know about
    the Physics Library.  The naive attempt at providing that link failed to resolve
    all compilation issues.

    Current Error:
    C1083: Cannot open include file: btBulletDynamicsCommon.h:
    No such file or directory (C:\projects\cusack\libraries\entities\src\ShapeEntityItem.cpp)
       C:\projects\cusack\libraries\physics\src\ShapeFactory.h	15	1	entities

	modified:   libraries/entities-renderer/src/RenderableShapeEntityItem.cpp
	modified:   libraries/entities/CMakeLists.txt
	modified:   libraries/entities/src/ShapeEntityItem.cpp
	modified:   libraries/entities/src/ShapeEntityItem.h
	modified:   libraries/physics/src/ShapeFactory.cpp
	modified:   libraries/physics/src/ShapeFactory.h
	modified:   libraries/physics/src/ShapeInfo.cpp
	modified:   scripts/developer/tests/basicEntityTest/entitySpawner.js
	new file:   scripts/developer/tests/basicEntityTest/shapeSpawner.js
2017-07-25 14:43:07 -04:00
..
basicEntityTest [WL21389] Collision Shapes need to be updated (details below). 2017-07-25 14:43:07 -04:00
batonSoundEntityTest change all references of Quat.getFront to Quat.getForward in scripts directory 2017-03-21 22:25:30 +00:00
dynamics update for spring to tractor name-change 2017-05-17 11:55:23 -07:00
performance add test script 2017-05-14 08:37:26 -07:00
rapidProceduralChange change all references of Quat.getFront to Quat.getForward in scripts directory 2017-03-21 22:25:30 +00:00
scriptableResource Add tex loadPerfTest.js 2016-05-06 15:08:45 -07:00
skybox move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
unit_tests Merge branch 'master' into 21190-fix-unit-tests 2017-04-10 14:15:47 -04:00
.gitignore Add some testing / validation for KTX 2017-02-22 13:29:09 -08:00
ambientSoundTest.js change all references of Quat.getFront to Quat.getForward in scripts directory 2017-03-21 22:25:30 +00:00
avatarAttachmentTest.js move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
avatarToWorldTests.js Minor code feedback changes, moving test scripts to developer/tests. 2017-06-09 11:07:56 -04:00
consoleObjectTest.js Resolve comments of @zappoman. 2017-06-17 01:00:32 +05:30
controllerInterfaceTest.js move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
cube_texture.png move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
dot.png move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
entityEditStressTest.js Add a generic shape primitive 2016-05-21 23:46:44 -07:00
entityLookupCostMeasurement.js add script to measure cost of entity lookup by id 2017-07-13 13:30:57 -07:00
entityServerStampedeTest-entity.js * Switch trigger for deferred loads from timer to using leading entity completion 2017-02-24 16:05:11 -05:00
entityServerStampedeTest.js change all references of Quat.getFront to Quat.getForward in scripts directory 2017-03-21 22:25:30 +00:00
entitySpawnTool.js Add a generic shape primitive 2016-05-21 23:46:44 -07:00
entityStampedeTest-entity-fail.js Add stampede test. 2017-02-23 19:10:44 -05:00
entityStampedeTest-entity.js * Switch trigger for deferred loads from timer to using leading entity completion 2017-02-24 16:05:11 -05:00
entityStampedeTest.js change all references of Quat.getFront to Quat.getForward in scripts directory 2017-03-21 22:25:30 +00:00
hipsControllerTest.js Added hipsContorllerTest.js for QA Testing 2017-04-28 11:30:06 -07:00
hipsIkTest.js Added hipsIkTest.js test script 2017-04-24 16:40:24 -07:00
injectorTest.js move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
loadedMachine.js add 'dynamic' property as a load 2016-07-06 16:15:02 -07:00
lodTest.js change all references of Quat.getFront to Quat.getForward in scripts directory 2017-03-21 22:25:30 +00:00
mat4test.js change testFront to testForward 2017-03-22 17:13:45 +00:00
messagesTests.js remove debug and fix bug in test script 2017-02-10 10:09:03 -08:00
overlayMouseTrackingTest.js move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
particleOrientationTest.js move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
playaPerformanceTest.js move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
playaPerformanceTest.qml Remove default focus on text fields 2016-06-30 15:22:13 -07:00
primitivesTest.js Add a generic shape primitive 2016-05-21 23:46:44 -07:00
printTest.js Complete console.trace and added a testcases for all 13 functions. 2017-06-13 23:52:48 +05:30
puck-attach.js code review feedback 2017-06-23 16:47:53 -07:00
qmlTest.js move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
scaling.png Add gamma-aware scaling test image 2017-02-22 15:44:27 -08:00
sliderTest.html Added inputMode property to Web3DOverlay. 2017-03-23 13:54:18 -07:00
sliderTestMain.js Added inputMode property to Web3DOverlay. 2017-03-23 13:54:18 -07:00
sphereLODTest.js change all references of Quat.getFront to Quat.getForward in scripts directory 2017-03-21 22:25:30 +00:00
tabletEventBridgeTest.js Fix broken eventBridge on tablet after Reload All Scripts. 2017-04-03 16:03:55 -07:00
tabletTest.js Tablet springboard can now be scrolled 2017-01-12 13:11:27 -08:00
testInterval.js change all references of Quat.getFront to Quat.getForward in scripts directory 2017-03-21 22:25:30 +00:00
testIntervalRpcFunction.js make sure RPC is timely 2017-01-03 11:10:07 -08:00
textureStress.fs move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
textureStress.js move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
textureStress.qml move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
toolbarTest.js Additional toolbar work 2016-06-20 15:41:21 -07:00
toolWindowStressTest.js move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
viveMotionCapture.js Head input action will override the HMD for IK. 2017-04-27 17:39:25 -07:00
viveTouchpadTest.js change variable names that use Quat.getForward 2017-03-22 17:00:12 +00:00
viveTrackedObjects.js Now supports sensorConfig with hips and chest sensors 2017-04-14 17:00:46 -07:00
webSpawnTool.js Report offscreen texture memory usage in stats 2016-10-21 11:31:37 -07:00
worldToAvatarTests.js Minor code feedback changes, moving test scripts to developer/tests. 2017-06-09 11:07:56 -04:00