Andrew Meadows
d64729372a
ShapeInfo name changes
2016-06-20 17:29:20 -07:00
Seth Alves
f3ba16ab3e
fix locking around polyvox state flags
2016-03-25 14:06:57 -07:00
Seth Alves
ae6d6f4bb3
added comments, minor cleanups
2016-03-24 21:37:46 -07:00
Seth Alves
1b88284bf7
more threading cleanups
2016-03-24 19:14:25 -07:00
Seth Alves
7c910fcf5e
further reworking of polyvox threading
2016-03-24 15:28:19 -07:00
Seth Alves
462da3aaf3
don't call getMesh from render
2016-03-23 22:46:43 -07:00
Seth Alves
2d7f32a554
redo polyvox locking
2016-03-23 22:03:27 -07:00
Seth Alves
dcb720a832
fix polyvox hull when registration changes.
2016-03-06 14:09:45 -08:00
samcake
355b8ee40d
THursday morning the frustum culling seems broken in one particular angle
2016-02-11 10:05:39 -08:00
Andrew Meadows
6eb177091b
overhaul of MotionState cleanup
...
Moved MotionState deletes out of PhysicsEngine.
EntityMotionStates are deleted by the PhysicsEntitySimulation.
AvatarMotionStates are deleted in the Avatar dtor.
2016-01-07 10:19:46 -08:00
Seth Alves
f013f95e9b
merge from upstream
2015-11-21 08:43:00 -08:00
Seth Alves
bc516c0b86
use render-item status getters to display physics debugging information
2015-11-06 11:32:56 -08:00
Seth Alves
61269c3ce8
fix up entity constructors so that setProperties isn't called during the constructor
2015-10-23 13:52:50 -07:00
Andrew Meadows
22b6607760
add polyvox entities to physics engine
2015-10-01 08:56:05 -07:00
Brad Hefta-Gaub
430cbcca7e
first cut at adding surface normals to ray intersection
2015-09-27 21:57:50 -07:00
Seth Alves
31fcd55d47
octree uses shared pointers
2015-09-08 11:59:48 -07:00
Seth Alves
07b241c778
code review
2015-09-03 11:05:44 -07:00
Seth Alves
16ee5199e8
change how polyvox neighbors are notified of updates
2015-09-02 09:30:32 -07:00
Seth Alves
9256917f15
rebake mesh when a neighbor changes
2015-09-01 16:21:12 -07:00
Seth Alves
264d39aa9b
have knitted polyvoxes keep track of low-axis neighbors as well as high
2015-09-01 14:49:17 -07:00
Seth Alves
7369ca19e9
allow setting cuboid voxel spaces. clean up some locking
2015-08-31 18:01:15 -07:00
Seth Alves
64d0ce47f3
attempting to stitch polyvox entites together
2015-08-30 09:59:33 -07:00
Seth Alves
7614cababb
adjust whitespace
2015-08-28 13:21:34 -07:00
Seth Alves
f6c440756c
do slow polyvox operations on a thread
2015-08-25 11:46:51 -07:00
Seth Alves
7cb9968864
more work on polyvox threading
2015-08-25 05:53:36 -07:00
Seth Alves
dc31c7e233
back out previous attempt at theading polyvox code. lay groundwork for threading that can be reasoned about
2015-08-23 08:14:05 -07:00
Seth Alves
9937416729
attempt to move some time-consuming polyvox stuff off of the main thread
2015-08-21 11:23:13 -07:00
Seth Alves
2dc2757eca
code review
2015-08-18 13:03:54 -07:00
Seth Alves
b129c2a933
in edged mode, make sure border voxels are zeroed out. expose some more voxel matrix math to javascript
2015-08-16 09:36:54 -07:00
Seth Alves
5ecdbaa19d
have functions that change polyvox voxes return true if they changed anything, else false. added voxelCoordsToWorldCoords and worldCoordsToVoxelCoords
2015-08-15 15:18:25 -07:00
Seth Alves
419caccd8e
unmangle merge
2015-08-04 17:06:17 -07:00
Seth Alves
dbda5ba40e
change polyvox rendering
2015-08-04 11:26:29 -07:00
Seth Alves
dbca3fe2fb
attempt to give polyvox its own rendering bung
2015-08-01 05:58:22 -07:00
Seth Alves
443b9e1e78
attempt to give polyvox its own rendering bung
2015-07-31 21:58:43 -07:00
Seth Alves
8d2aacb46d
send X texture to renderer
2015-07-30 15:36:07 -07:00
Seth Alves
22ac61e476
work around hiding of virtual functions in PolyVox entity classses
2015-06-17 14:40:24 -07:00
Seth Alves
59389ce506
Merge branch 'master' of github.com:highfidelity/hifi into overloaded-virtual
2015-06-17 14:18:47 -07:00
Seth Alves
b8cf4ea29d
use -Woverloaded-virtual with g++. quiet compiler warnings
2015-06-16 21:19:31 -07:00
Seth Alves
445381bb6b
fix DEFAULT_VOXEL_DATA, recompress voxel data when a script calls setVoxel. Use provided transform when rendering.
2015-06-15 16:07:28 -07:00
ZappoMan
c6fb22b915
make sure all entities are rendering in pipeline part 1
2015-06-03 17:16:45 -07:00
Seth Alves
d1bb6473d9
more work on edge handling and resizing
2015-06-01 13:57:28 -07:00
Seth Alves
43a1519e29
better handling of changes to the size of voxel space. limit each dimension to 32
2015-06-01 12:01:45 -07:00
Seth Alves
00af0a4376
trying to make thing behave when voxel-space is resized
2015-06-01 07:15:37 -07:00
Seth Alves
b9202ebfb6
added SURFACE_EDGED_CUBIC surface extractor which pads the outsides of the voxel-space with empty cells to change how the edges of the surface look
2015-05-31 09:14:59 -07:00
Seth Alves
c5a0dd72ec
keep track of number of non-zero voxels, use this information when deciding on shape-type
2015-05-30 18:13:57 -07:00
Seth Alves
fe59f8846f
recompute polyvox mesh when setVoxelSurfaceStyle is called. remove left-over color stuff from polyvox. don't require that a polyvox be rendered before computing its physics shape
2015-05-30 16:43:11 -07:00
Seth Alves
96a40bd673
basic collisions with cubic polyvoxes
2015-05-29 18:50:26 -07:00
Seth Alves
f310da9cd3
adapting to entitypointer merge
2015-05-27 08:59:44 -07:00
Seth Alves
55028f6cb0
voxel data sent over wire and saved to json
2015-05-26 16:34:35 -07:00
Seth Alves
cdef502e2e
expose setVoxelSphere to js
2015-05-26 14:26:05 -07:00