ZappoMan
25823bedd1
Merge branch 'team-teaching' of https://github.com/highfidelity/hifi into team-teaching-scene-api
2015-05-26 15:51:46 -07:00
Eric Levin
f1fc7a2a09
switching over to geometry cache method for rendering lines
2015-05-26 15:46:25 -07:00
ZappoMan
20ceb72d92
Merge branch 'master' of https://github.com/highfidelity/hifi into team-teaching
2015-05-26 15:01:26 -07:00
Seth Alves
22cc298861
Merge branch 'polyvox' of github.com:sethalves/hifi into polyvox
2015-05-26 14:26:11 -07:00
Seth Alves
cdef502e2e
expose setVoxelSphere to js
2015-05-26 14:26:05 -07:00
Seth Alves
28e052ffdb
Merge branch 'polyvox' of github.com:sethalves/hifi into polyvox
2015-05-26 14:12:11 -07:00
Seth Alves
728e6d121b
changes sam made to get normals to work on a mesh
2015-05-26 14:12:01 -07:00
samcake
84525aabec
Merge pull request #4959 from ZappoMan/team-teaching-entitysmartpointer
...
TEAM TEACHING BRANCH - Entity Smart Pointers
2015-05-26 13:56:47 -07:00
Seth Alves
988ecf9d55
send PolyVox voxel dimensions and compressed data over the wire
2015-05-26 13:18:52 -07:00
Howard Stearns
bbdf9f1d9f
Remove changingEntityID.
2015-05-26 11:14:23 -07:00
ZappoMan
c4f96b09a2
sam's feedback on shared pointers in master
2015-05-26 09:55:28 -07:00
Seth Alves
59f68f5625
added voxel-data compression code to see what the sizes are like
2015-05-26 09:52:18 -07:00
ZappoMan
5f6978a517
sam's CR feedback, more use of share_ptr<>
2015-05-26 09:41:51 -07:00
Seth Alves
a251ae7f50
far is a reserved word
2015-05-26 09:06:51 -07:00
Seth Alves
727f457f91
hook up RenderablePolyVoxEntityItem::findDetailedRayIntersection to polyvox library's version
2015-05-25 21:01:20 -07:00
Howard Stearns
1b134d60d5
Fix typo that messed up the otherEntity for collisions.
2015-05-25 15:46:55 -07:00
Seth Alves
9735174036
Merge branch 'master' of github.com:highfidelity/hifi into polyvox
2015-05-25 15:37:23 -07:00
Howard Stearns
4266a99d78
Put the javascript methods on Script, not Entities, and other minimum-diff cleanup.
2015-05-25 11:28:33 -07:00
Howard Stearns
1dd2b7275e
Simpler and more uniform version that handles all the standard entity-script events.
2015-05-23 18:11:05 -07:00
Howard Stearns
277f5ef3a4
Working experimental first version.
2015-05-23 13:35:35 -07:00
ZappoMan
72ffd01920
more work on smart pointers
2015-05-22 22:39:37 -07:00
ZappoMan
9988f2d1cd
EnitityItem smart pointers
2015-05-22 22:38:02 -07:00
ZappoMan
9fa9942861
more work on smart pointers
2015-05-22 21:45:57 -07:00
ZappoMan
8b78fc4190
EnitityItem smart pointers
2015-05-22 17:57:50 -07:00
Ryan Huffman
822ae800c5
Update Model::endScene to require RenderArgs
2015-05-22 16:17:01 -07:00
Ryan Huffman
d1a5662ca7
Merge branch 'team-teaching' of github.com:highfidelity/hifi into ctx
...
Conflicts:
libraries/entities-renderer/src/EntityTreeRenderer.cpp
2015-05-22 15:33:40 -07:00
Ryan Huffman
3f22b5f8b3
Add RenderArgs to more render methods
2015-05-22 15:25:53 -07:00
ZappoMan
160898ce96
Merge branch 'master' of https://github.com/highfidelity/hifi into team-teaching
2015-05-22 14:55:29 -07:00
ZappoMan
d9ed1e061c
Merge branch 'team-teaching' of https://github.com/highfidelity/hifi into team-teaching-scene-api
2015-05-22 14:54:47 -07:00
ZappoMan
4bdeef7610
checkpoint
2015-05-22 14:54:30 -07:00
David Rowe
a01830f8f8
Fix some double to float conversion warnings in Windows builds
2015-05-22 12:32:02 -07:00
Atlante45
20ff43e29a
Don't sync by default
2015-05-22 20:29:25 +02:00
Seth Alves
380fed7aee
metersToVoxelCoordinates and voxelCoordinatesToMeters
2015-05-22 10:37:48 -07:00
Ryan Huffman
66dc555ba9
Remove context->enqueueBatch from RenderableBoxEntityItem
2015-05-22 09:59:34 -07:00
Ryan Huffman
4a4c9c75fc
Add gpu::context to RenderArgs and start using RenderArgs in place of the flags
2015-05-22 09:50:51 -07:00
Clément Brisset
e980859059
Simple Program uses gpu API
2015-05-22 16:14:32 +01:00
Seth Alves
1100c832eb
clean up diff
2015-05-21 18:18:04 -07:00
Seth Alves
f85cc89946
clean up diff
2015-05-21 18:17:07 -07:00
Seth Alves
a882fc7fb1
pull out common parts of the two sphere-in-volumes
2015-05-21 18:07:46 -07:00
Seth Alves
8b2d570f3f
clearSphereInVolume
2015-05-21 17:04:57 -07:00
Seth Alves
478cb40135
draws in the right place, now
2015-05-21 16:46:27 -07:00
Seth Alves
2cb73b5430
added a volex-volume size member variable. drawing transform still isn't quite right
2015-05-21 16:31:01 -07:00
ZappoMan
0d9f0f609b
first cut at RenderableEnitityItem payload
2015-05-21 16:22:23 -07:00
Seth Alves
bbb61a77d9
dodge stride bug in mesh code
2015-05-21 14:47:23 -07:00
Seth Alves
fd19c63449
fix bug in mesh
2015-05-21 14:26:40 -07:00
Seth Alves
fe188f9a43
something draws, now
2015-05-21 10:42:14 -07:00
ZappoMan
c7fb8fab85
Merge branch 'master' of https://github.com/highfidelity/hifi into team-teaching-scene-api
2015-05-21 10:36:22 -07:00
Seth Alves
72e227eefe
Merge branch 'master' of github.com:highfidelity/hifi into polyvox
2015-05-21 09:55:14 -07:00
Seth Alves
de6422683a
cleanups, trying to figure out why this doesn't draw
2015-05-20 21:21:39 -07:00
ZappoMan
e1c5c5b12e
Merge branch 'team-teaching' of https://github.com/highfidelity/hifi into team-teaching-scene-api
2015-05-20 18:42:54 -07:00
Seth Alves
c3b26b78a0
Merge branch 'polyvox' of github.com:sethalves/hifi into polyvox
2015-05-20 18:22:16 -07:00
Seth Alves
138077ede9
hook up mesh renderer
2015-05-20 18:22:07 -07:00
Seth Alves
d7ccd23b07
Merge branch 'master' of github.com:highfidelity/hifi into polyvox
2015-05-20 18:08:29 -07:00
Seth Alves
782402b4c8
Merge branch 'master' of github.com:highfidelity/hifi into no-id-swap-redux
2015-05-20 14:53:05 -07:00
Brad Hefta-Gaub
39ab2f43bf
Merge pull request #4885 from Atlante45/warings
...
Quiet warnings
2015-05-20 14:45:55 -07:00
Seth Alves
124ff68cee
make EntityItemID a subclass of QUuid
2015-05-20 14:22:08 -07:00
Seth Alves
f522334c99
sort out script interface changes
2015-05-20 12:30:06 -07:00
Howard Stearns
c5b8dd51d8
Fix https://app.asana.com/0/32622044445063/34195351184789
...
Handle collision events when we do other updates (and their entity scripts) rather than when we do the physic updates while the tree is locked.
Given that, remove the check that kept sound from playing (or scripts from running) when we would have deadlocked, because now we don't.
2015-05-20 11:07:03 -07:00
Seth Alves
a769cfdaf2
client decides on new entity-ids, keep EntityItemID class
2015-05-20 10:42:19 -07:00
Seth Alves
f2c1c43da3
polyvox code runs, no rendering yet
2015-05-20 08:44:41 -07:00
Atlante45
ee4b28b6b9
Other TextRenderer memory leak
2015-05-20 16:56:04 +02:00
Atlante45
9a007ab135
Remove unused method
2015-05-20 16:50:31 +02:00
Atlante45
e5d0851337
Remove unnecessary glPush/Pop
2015-05-20 16:29:43 +02:00
Seth Alves
4b263cf5c8
derieve PolyVox Entity from Model Entity
2015-05-19 21:40:05 -07:00
Seth Alves
f9d46b0cb5
interface decides on entityIDs rather than bouncing a temporary id through the entity server
2015-05-19 14:25:23 -07:00
Atlante45
eef87412fd
Particles render in Batch
2015-05-19 15:54:19 +02:00
Atlante45
c847de0a2e
Missing batch args
2015-05-18 16:37:00 +02:00
Atlante45
72bf160845
Proxies render in Batch
2015-05-18 16:36:16 +02:00
Atlante45
ede94e4248
Merge branch 'master' of https://github.com/highfidelity/hifi into remove_gl_transform
2015-05-18 11:39:17 +02:00
Atlante45
802e963bba
Debug entity render in batch
...
Also removed unnecessary glPush/Pop
2015-05-17 12:42:14 +02:00
Atlante45
16340c0fee
LightEntity debug render in batch
2015-05-17 12:31:14 +02:00
Atlante45
38d3c85664
ZoneEntity wireframes render in batch
2015-05-17 12:21:14 +02:00
Atlante45
58460eb4ba
SphereEntity render in batch
2015-05-17 12:20:52 +02:00
Atlante45
0156ef1700
LineEntity render in batch
2015-05-17 12:20:37 +02:00
Atlante45
dfaa4ab1a3
BoxEntity render in Batch
2015-05-16 05:45:27 +02:00
Atlante45
3436658e45
Add batch to RenderAgrs
2015-05-16 05:42:26 +02:00
Atlante45
4725d5e676
Merge branch 'primitives_batch' into remove_gl_transform
2015-05-16 05:22:12 +02:00
Atlante45
7ff973b94c
Merge branch 'master' of https://github.com/highfidelity/hifi into primitives_batch
2015-05-16 04:36:05 +02:00
Atlante45
cb02ef9277
Remove warnings
2015-05-15 21:35:47 +02:00
Atlante45
feefcbf40f
Merge branch 'master' of https://github.com/highfidelity/hifi into remove_gl_transform
2015-05-15 20:30:45 +02:00
Sam Cake
97b18fcd52
Merge branch 'master' of https://github.com/highfidelity/hifi into yellow
2015-05-15 11:29:43 -07:00
Sam Cake
765145b898
Moving the load of the texture and the generation of the cube map irradiance in the same thread
2015-05-15 11:28:59 -07:00
Howard Stearns
9f7a56e3e5
Ask audio injector to delete itself.
...
Put in null guards.
Tune parameters (including higher threshold).
2015-05-15 11:00:28 -07:00
Atlante45
c13ad83cc4
Rename getCenter by get CenterPosition
2015-05-15 18:34:28 +02:00
Atlante45
02f89bc680
Remove warnings
2015-05-15 17:36:58 +02:00
Atlante45
d0cd18d6c0
Replace entities pos/rot/dim with transform
...
Removed _position, _rotation, _dimensions
Added Transform _transform
2015-05-15 17:35:24 +02:00
Atlante45
e0ae8597bc
Factor zone code in Model::render
2015-05-15 15:45:31 +02:00
Howard Stearns
5accb4d0d2
Remove debug logging.
2015-05-14 15:12:31 -07:00
Howard Stearns
b5a28730ea
Filter out low-penetration continuous contact from all entity collision activity including scripts:
...
We don't want sound for these.
This appears to avoid the Entities.getEntityProperties() deadlock within entity scripts.
Variable names:
energyPercentOfFull => energyFactorOfFull, because the range is 0-1, not 0-100.
COLLISION_SOUND_COMPRESSION => COLLISION_SOUND_COMPRESSION_RANGE (portion of full dynamic range)
Tune constants:
COLLISION_ENERGY_AT_FULL_VOLUME 10 => 1
COLLISION_MINIMUM_VOLUME 0.01 => 0.001
COLLISION_SOUND_COMPRESSION_RANGE 0.5 => 0.95
Refer to SoundCache later, after filtering for collision threshold.
2015-05-14 14:41:32 -07:00
Brad Davis
a77816617d
Make web entities interactive (via the mouse) if they're not locked.
2015-05-14 01:15:20 -07:00
Brad Hefta-Gaub
5da0a8d7a3
Merge pull request #4860 from howard-stearns/entity-sound
...
Entity sound.
2015-05-13 20:07:44 -07:00
Howard Stearns
6ebeb7a22e
Another constexpr.
2015-05-13 15:47:47 -07:00
Brad Davis
3b7e8a69b5
Attempting to fix threading issues with web entities
2015-05-13 14:00:41 -07:00
Howard Stearns
76e39fc95b
constexpr => const for Windows compiler.
2015-05-13 13:56:10 -07:00
Howard Stearns
1a87ca04da
Entity sound.
2015-05-13 13:18:02 -07:00
Brad Davis
ad5f1214bf
Fix error when deleting web item
2015-05-13 11:58:18 -07:00
Brad Davis
a8d343bbf1
Working on web entities
2015-05-13 00:27:57 -07:00
Brad Davis
e9b83e1c02
Working on web entities
2015-05-12 21:15:54 -07:00
Brad Davis
8c4f802dbf
Merge remote-tracking branch 'upstream/master' into web-entity
...
Conflicts:
libraries/entities/src/EntityItemProperties.h
libraries/entities/src/EntityTypes.h
2015-05-12 15:56:02 -07:00
Seth Alves
500bb13cbb
c++
2015-05-12 15:17:27 -07:00
Seth Alves
4e679c7e3a
use toGlm for color. remove some commented-out code
2015-05-12 15:08:26 -07:00
Brad Davis
745182a963
Working on web entities
2015-05-12 14:39:54 -07:00
Seth Alves
f647db3bf0
Merge branch 'master' of github.com:highfidelity/hifi into line-entity
2015-05-12 11:36:56 -07:00
Seth Alves
38caed00ca
Attempt to draw line entity item
2015-05-12 10:25:50 -07:00
Seth Alves
4881b0c53c
copy box to make a new type of line entity item
2015-05-11 19:25:14 -07:00
Anthony Thibault
e1cbfcd901
Merge branch 'master' into ajt/particle-system-improvements
...
Conflicts:
libraries/networking/src/PacketHeaders.cpp
libraries/networking/src/PacketHeaders.h
2015-05-11 19:24:13 -07:00
Anthony Thibault
b3af515224
Particle entity improvements based on code review.
...
* Updated variable naming to match coding standards.
* Changed particle raw float arrays to vectors.
* Bug fix: changing maxParticles will no longer lead to memory corruption.
* Made particle ring buffer more explicit, added _particleTailIndex.
* Added getLivingParticleCount() private method.
* Moved integration and bounds code into private methods.
* Bug fix: high emit rates now properly integrate particles forward for the
remaing frame time, not the entire frame.
* Bug fix: new particles were not initiaized to origin.
* Added more particles to ajt-test.js.
* Bug fix: ajt-test.js script was not shutting down properly.
* Removed random seed, unless we have a psudo random number generator per
particle system instance, it's unlikely that this will preserve sync.
* Bumped packet version number.
2015-05-11 19:21:33 -07:00
Howard Stearns
51a29bdba6
Put back the script-fix that belongs in this branch.
2015-05-11 11:53:48 -07:00
Anthony J. Thibault
ede42285b1
Improvements to particle entity.
...
* Changed particle geometry to billboarded quads
* Added texture support
* Added ajt-test.js particle test script.
* GeometryCache support for batched quads with texCoords.
* Bug fix for infinite loop if _lifetime was very large.
* Don't reset the simulation on animation loop.
* stop emitting particles on animation stop, but keep simulating until there are no more living particles.
* Removed some trailing whitespace
2015-05-10 17:13:46 -07:00
ZappoMan
17c3c1a18d
add support for automatic hour/day calculations and backward compatibility on stage properties
2015-05-10 15:22:02 -07:00
ZappoMan
0b6a815a20
moved zone stage properties into a group
2015-05-08 20:17:01 -07:00
ZappoMan
1936f4c114
fix zone:nothing bug
2015-05-08 14:03:58 -07:00
Sam Gateau
deb303838d
Cleaning code
2015-05-07 17:15:45 -07:00
Sam Gateau
351b92627a
Merge branch 'master' of https://github.com/highfidelity/hifi into blue
2015-05-07 17:06:41 -07:00
Sam Gateau
ce5295a55f
THese is not final but we have a basic working framework so let's try to share
2015-05-07 17:06:15 -07:00
Seth Alves
d52a45b57e
Merge branch 'master' of github.com:highfidelity/hifi into dice-on-table-1
2015-05-07 11:30:46 -07:00
Atlante45
faabf29e84
Merge branch 'master' of https://github.com/highfidelity/hifi into display_zones
2015-05-07 19:58:26 +02:00
Seth Alves
867fe18472
put some code back now that entity-server is doing simple simulation again. don't draw blue physics-enabled dot unless debug menu-item is checked
2015-05-07 10:11:36 -07:00
Seth Alves
fe14202f51
add getName passthrough to ObjecdtMotionState, don't compute model shapes until the model has been simulated
2015-05-07 09:53:39 -07:00
ZappoMan
496da6fcd5
wire up the skybox color property to the new skybox renderer
2015-05-06 20:36:06 -07:00
Seth Alves
5ac8558168
flash yellow box when transmitting an edit packet
2015-05-06 17:03:27 -07:00
Atlante45
50ba154615
Correctly wire setDrawZones
2015-05-06 17:04:01 +02:00
Atlante45
52191f922c
Render Sphere/Box zones
2015-05-06 16:57:53 +02:00
Atlante45
6d2fe945af
Merge branch 'master' of https://github.com/highfidelity/hifi into display_zones
2015-05-06 09:53:57 +02:00
Seth Alves
4a7fe50084
Merge branch 'master' of github.com:highfidelity/hifi into dice-on-table-1
2015-05-05 16:43:43 -07:00
Seth Alves
c35edd8eb4
some debugging on Andrew's refactor
2015-05-05 16:40:10 -07:00
Seth Alves
82828f0b93
print when bullet and local octree don't agree on position of an entity
2015-05-05 13:52:10 -07:00
Seth Alves
1cd93b9ec8
pull andrew's branch, add back in visual indicator of an entity being active in bullet
2015-05-05 13:14:22 -07:00
ZappoMan
5fc5df7c55
change skyboxMode to backgroundMode
2015-05-05 12:38:44 -07:00
Atlante45
429c1e1231
Merge branch 'master' of https://github.com/highfidelity/hifi into display_zones
2015-05-05 21:33:55 +02:00
Atlante45
46cd1f458b
Actually call render on zone entities from tree
2015-05-05 17:20:27 +02:00
Atlante45
40295ab04e
Cleanup RenderableZoneEntityItem
2015-05-05 17:19:42 +02:00
Atlante45
34a39250f2
Add basic render to zones
2015-05-05 15:13:00 +02:00
ZappoMan
4b9c6728e7
fix issue with skyboxMode getting randomly set
2015-05-04 18:58:35 -07:00
ZappoMan
77232e35f8
Merge branch 'master' of https://github.com/highfidelity/hifi into atmosphereInZones
2015-05-04 17:16:33 -07:00
ZappoMan
2c02bfdda5
fix build buster
2015-05-04 16:01:50 -07:00
ZappoMan
3827e961a7
hook sunBrightness to keyLightIntensity
2015-05-04 15:31:50 -07:00
ZappoMan
403ed6d77b
wire up sunlocation from keylight direction
2015-05-04 15:20:16 -07:00
ZappoMan
cfe717fe08
only override environment when skyboxMode is atmosphere
2015-05-04 13:53:29 -07:00
ZappoMan
4561c59203
wire up zone to environment atmosphere rendering
2015-05-04 13:49:43 -07:00
Atlante45
12fcb35717
Made RenderArgs a default ctor
2015-05-04 17:22:46 +02:00
Philip Rosedale
0f22b9beb8
Merge pull request #4741 from sethalves/box-stacking-1
...
move common debugging rendering into a new class
2015-05-02 00:34:44 -07:00
Ryan Huffman
51c2a8273e
Add drawZoneBoundaries
2015-05-01 12:52:40 -07:00
Seth Alves
bd1f77b8f3
cleanups
2015-05-01 11:35:14 -07:00
Seth Alves
ea1ec0186e
stop doing useless multiple inheritance
2015-05-01 11:31:58 -07:00
Seth Alves
b47184de78
oops
2015-05-01 11:21:27 -07:00
Seth Alves
452d78805e
oops
2015-05-01 11:20:50 -07:00
Seth Alves
b443ce5d3e
oops
2015-05-01 11:20:34 -07:00
Seth Alves
a31e2dc309
oops
2015-05-01 11:18:56 -07:00
Seth Alves
3765ace7ef
move common debugging rendering into a new class
2015-05-01 11:17:46 -07:00
Seth Alves
3c24d42d93
improve display of box and model entities when in simulator-id debug mode
2015-04-30 14:17:20 -07:00
Seth Alves
5d5624053f
drow boxes as aabox when we are the simulator
2015-04-30 13:15:55 -07:00
Brad Hefta-Gaub
50eecb15b3
Merge pull request #4712 from Atlante45/compound_zones_fix
...
Compound zones fix
2015-04-28 09:48:05 -07:00
Atlante45
fe0bd456e1
Zones now use Models instead of FBXGeometries
2015-04-28 17:07:40 +02:00
Seth Alves
2cdbe8bf7b
merge from upstream
2015-04-27 09:57:36 -07:00
Seth Alves
e007617112
hook up menu-items to control debug rendering of collision hulls and owned simulations
2015-04-27 09:56:24 -07:00
Seth Alves
26511575c2
Merge branch 'master' of github.com:highfidelity/hifi into detect-ballistic
2015-04-27 06:44:59 -07:00
Seth Alves
0fb1a83e3b
quiet compiler, remove some trailing control-Ms
2015-04-25 09:20:00 -07:00
Seth Alves
48ec0c8339
formatting, re-enable code that causes an interface to attempt to claim a moving object with no current simulation-owner
2015-04-25 06:56:19 -07:00
Seth Alves
ac46f84291
cleanups
2015-04-24 18:36:41 -07:00
Seth Alves
6e6793cbcc
remove debugging prints
2015-04-24 15:18:02 -07:00
Atlante45
a4f03f8b1c
Zones use avatar position not view frustum
2015-04-24 22:16:21 +02:00
Seth Alves
1b84be6e10
attempting to have visual indicator of simulatorID
2015-04-24 10:55:43 -07:00
Atlante45
b776ea8110
Make ::contains() back into a const
2015-04-23 19:15:06 +02:00
Atlante45
83490051d9
Move shape related contains() to ShapeInfo
2015-04-23 18:55:20 +02:00
Atlante45
f494f86ee5
Handle registration point in transforms
2015-04-23 17:48:29 +02:00
Atlante45
99fd590a90
Update compound shape geometry when async get
2015-04-23 16:05:06 +02:00
Atlante45
d18229d52d
Merge branch 'master' of https://github.com/highfidelity/hifi into zones
2015-04-23 15:58:57 +02:00
Atlante45
6be0910966
Fix contain for collision hulls
2015-04-23 15:58:18 +02:00
Atlante45
3a0b5f9d22
Register RenderableZoneEntityItem in EntityTreeRenderer
2015-04-23 15:34:03 +02:00
ZappoMan
fb4e334c70
implement volume priority for zones
2015-04-22 12:38:34 -07:00
Atlante45
287d625c52
Added RenderableZoneEntities class
2015-04-22 21:17:12 +02:00
Atlante45
99b3ef0d75
Move contain function to FBXGeometry
2015-04-22 21:17:12 +02:00
Atlante45
9cec256142
Rename collisionModelURL members/methods
2015-04-22 21:16:09 +02:00
Atlante45
f3fcb749df
Fix algorithm + add comments
2015-04-22 21:03:55 +02:00
Atlante45
955723acf1
RenderableEntityItem uses collision hull in contains
2015-04-22 21:03:55 +02:00
ZappoMan
8366dd02a0
remove RenderableZoneEntityItem class since zones don't render like other entities
2015-04-21 15:03:04 -07:00
ZappoMan
4ce451f984
wire up zone rendering again
2015-04-21 14:55:45 -07:00
ZappoMan
e436c95212
first cut at reworking zones
2015-04-21 14:36:13 -07:00
ZappoMan
8ce4cb628a
another attempt at zones starting from box
2015-04-20 18:18:01 -07:00
ZappoMan
a9c2a6e048
another attempt at zones starting from box
2015-04-20 18:17:21 -07:00
Andrew Meadows
21d669f2f1
use computed shape type
2015-04-16 12:13:41 -07:00
Andrew Meadows
8623a0606c
remove accidentally commited debug code
2015-04-14 15:39:24 -07:00
Andrew Meadows
5b81b5b11b
removing SHAPE_TYPE_CONVEX_HULL from entities lib
2015-04-14 14:56:32 -07:00
Seth Alves
8479f0d4c1
don't compute shape info until both render and collision geometries are fully loaded
2015-04-13 09:34:38 -07:00
Seth Alves
e8ff727c61
when populating shape-info, give the dimensions of the collision model rather than those of the visual model
2015-04-07 15:47:13 -07:00
Andrew Meadows
a47170b02c
Merge pull request #4601 from samcake/temp1
...
Introducing gpu::State and using it in the Model rendering path and more...
2015-04-07 12:48:42 -07:00
Seth Alves
9014397167
try again without macro
2015-04-07 09:59:04 -07:00
Seth Alves
074e476797
put entities-renderer logging into its own QLoggingCategory
2015-04-06 16:30:20 -07:00
Sam Gateau
ecdffadcb7
trying to debug the indirect sh lighting going wrong, the noraml on avatar is not correct
2015-04-06 10:17:31 -07:00
Sam Gateau
00817ab64f
MErging with origin/orange, brinign the fix for shadows
2015-04-05 18:36:39 -07:00
Sam Gateau
b8db0ff2d7
getting ready for pr for a few syntax issues
2015-04-03 17:05:08 -07:00
Sam Gateau
6f5c411a46
Fixing a few issues and syntax, trying to understand why the shadows are not rendering correctly
2015-04-03 10:32:20 -07:00
Seth Alves
abf83bcf9e
Merge branch 'master' of github.com:highfidelity/hifi into island
2015-04-01 18:26:26 -07:00
Seth Alves
997f7251c7
dont need _collisionGeometryScale
2015-04-01 18:23:43 -07:00
Seth Alves
81200bb2a0
save collision hull scaling in model
2015-04-01 17:49:01 -07:00
ZappoMan
d87fe9efff
fix typo
2015-04-01 14:47:04 -07:00
ZappoMan
c66db5d8e4
another approach
2015-04-01 14:43:27 -07:00
ZappoMan
d7188bac0b
another approach
2015-04-01 14:38:01 -07:00
ZappoMan
aac824fb99
fix crash on shutdown
2015-04-01 13:47:25 -07:00
Sam Gateau
0d721ec1e9
merging
2015-03-31 17:47:05 -07:00
Sam Gateau
9b63739a72
Trying to clen up the REnderMode usage in connection with the needed gpu::State for all the different variations
2015-03-31 17:35:34 -07:00
Brad Hefta-Gaub
d77333953e
Merge pull request #4552 from sethalves/island
...
Fix various collision-model related bugs
2015-03-31 15:47:53 -07:00
Seth Alves
af6ce8fb07
HERE COMES AN S
2015-03-31 14:37:41 -07:00
Seth Alves
95cc8672c0
remove unneeded assert
2015-03-31 14:32:43 -07:00
Seth Alves
347ef3c4e1
use scaling from visual model on collision model rather than using the bounds from the collision model
2015-03-31 14:03:37 -07:00
ZappoMan
df99c314aa
fix issue with preload not being called on import
2015-03-31 12:44:44 -07:00
Seth Alves
c8e623ace7
remove some debugging prints, added some comments
2015-03-31 07:18:20 -07:00
Seth Alves
52fc75a114
merge upstream
2015-03-31 07:18:04 -07:00
Philip Rosedale
4961cf37b6
Merge pull request #4540 from ZappoMan/scriptCaching
...
quiet warning flood when scripts are bad
2015-03-30 21:48:13 -07:00
ZappoMan
a88b3c02d2
quiet warning flood when scripts are bad
2015-03-30 18:24:34 -07:00
Philip Rosedale
ce05d3104a
Merge pull request #4535 from ZappoMan/scriptCaching
...
Script caching & Fix to Stack Overflow Crash on Windows with lots of entity scripts
2015-03-30 18:02:52 -07:00
Seth Alves
acf30782b6
include quads in creation of hulls for physics collision. visual model vs collision model debug spew. fix dice script
2015-03-30 17:04:47 -07:00
ZappoMan
31072b2b2e
only start one download per url even if still pending
2015-03-30 16:48:41 -07:00
ZappoMan
e2d8d82096
more script caching cleanup
2015-03-30 16:34:04 -07:00
ZappoMan
74d50a9250
more work on improving script caching
2015-03-30 16:21:47 -07:00
Seth Alves
ee7247a5b4
fix a couple of crashes
2015-03-30 15:56:01 -07:00
ZappoMan
36657c9473
first cut at script caching
2015-03-30 14:36:48 -07:00
Seth Alves
8a5192c1d9
attempt to handle registration point in hull collisions
2015-03-30 11:22:31 -07:00
Seth Alves
16875338bf
Merge branch 'master' of github.com:highfidelity/hifi into multi-hull-collisions
2015-03-26 18:55:43 -07:00
ZappoMan
8e7ead2ead
fix locking issue in enter/leave entity scripts
2015-03-26 16:05:31 -07:00
Seth Alves
dccedeadff
diff minimization
2015-03-24 16:59:12 -07:00
Seth Alves
2f47f7c7ba
diff minimization
2015-03-24 16:51:42 -07:00
Seth Alves
8d2c942509
diff minimization
2015-03-24 16:38:11 -07:00
Seth Alves
1eeb2e89f8
remove some debug spam
2015-03-24 16:23:51 -07:00
Seth Alves
6e3be26013
attempting to figure out why physics motion object doesn't get updated when collision model url changes
2015-03-24 15:28:21 -07:00
Seth Alves
c8ad82917e
clean up some debugging spew. take dimensions into account when scaling points used for collision hull creation
2015-03-23 16:54:36 -07:00
Seth Alves
bfc5cf99d6
more code for compound hull collisions
2015-03-21 16:11:47 -07:00
Seth Alves
86d09a1607
more compound shape stuff
2015-03-21 08:55:49 -07:00
Seth Alves
769194f046
first stab at compound hull collisions
2015-03-20 13:41:14 -07:00
Seth Alves
1db9a9ef46
use .isEmpty on urls rather than convert them to strings and compare to empty string
2015-03-19 15:48:48 -07:00
Seth Alves
8eedab72b3
remove some unneeded asserts
2015-03-19 09:15:57 -07:00
Seth Alves
480eae7317
Merge branch 'master' of github.com:highfidelity/hifi into avatars-can-collide
2015-03-19 09:14:26 -07:00
Andrew Meadows
c032b29633
proper shape management for ConvexHull shapes
2015-03-18 16:29:57 -07:00
Seth Alves
1cab14064d
remove unneeded code, quiet some debug spew
2015-03-18 13:10:53 -07:00
Seth Alves
36e0a5afc5
cleanups
2015-03-18 13:04:27 -07:00
Seth Alves
9161cc8b83
attempt to handle collision models in the same way as render models
2015-03-18 13:00:09 -07:00
Seth Alves
f9be7dda36
bump shape stuff from ModelEntityItem down to RenderableModelEntityItem
2015-03-17 18:55:13 -07:00
Andrew Meadows
e418872f7b
namechanges: setFooInMeters() --> setFoo()
...
also fixed some warnings, made code abide to standard,
and moved some variables to be closer to where they're used
2015-03-09 09:56:15 -07:00
Andrew Meadows
51d05cc43e
merge upstream/master into andrew/isentropic
...
Conflicts:
libraries/networking/src/PacketHeaders.cpp
2015-03-09 08:51:49 -07:00
Jason
0fd9540bc3
Sync to upstream
...
Did "fetch upstream", "merge upstream/master", and resolved one
conflict.
2015-03-07 21:40:06 -08:00
Jason
cfcc4679e1
Interview project updates (2).
...
Oops, I forgot to convert tabs-to-spaces on EntityTreeRenderer.
Committing it now.
2015-03-06 15:57:38 -08:00
Jason
7a5669f14e
Interview project updates.
...
Tried to address all of Brad's notes, most of which were related to
matching the coding style for the project. Also used GeometryCache
instead of making direct calls to OpenGL to do drawing, took a different
approach to seeding rand(), updated the packet version, and fixed a bug
that I noticed in the setting of the dimensions for the particle effect
entity.
2015-03-06 15:52:21 -08:00
Andrew Meadows
373be95297
entity cubes are in meters
2015-03-06 15:32:03 -08:00
Andrew Meadows
e4c68bf31c
committing some temp debug stuff to help git diff
...
(will remove this stuff later)
2015-03-05 18:06:08 -08:00
Andrew Meadows
49eee89c19
merge upstream/master into andrew/isentropic
...
Conflicts:
libraries/networking/src/PacketHeaders.cpp
libraries/networking/src/PacketHeaders.h
2015-03-05 08:22:02 -08:00
Jason
3522357c8c
High Fidelity interview project -- Jason Rickwald
...
For my project, I decided to add a new entity -- a Particle Effect.
This is really rudimentary to start out with, but you could see where
it's headed.
2015-03-04 16:06:06 -08:00
Andrew Meadows
b9cbd1ea6e
witch internal EntityItem data to use meters
2015-03-04 09:38:37 -08:00
Sam Gateau
4619ba1f5b
Merge branch 'master' of https://github.com/highfidelity/hifi into temp0
2015-03-03 10:56:04 -08:00
Sam Gateau
ea88cbd75f
Merge with upstream master
2015-02-27 13:19:50 -08:00