Seth Alves
574709824e
oops
2016-05-13 09:41:19 -07:00
Seth Alves
79141e3869
dry up some code
2016-05-13 07:06:25 -07:00
Seth Alves
dd2a29aace
when a ModelEntityItem moves, also update its meta-render-item
2016-05-12 18:05:28 -07:00
Andrew Meadows
b5ad989811
more optimized uses of EntityItem::getDimensions()
2016-04-27 11:04:22 -07:00
Brad Hefta-Gaub
b597f7001b
fix auto resize
2016-04-26 15:13:11 -07:00
Brad Hefta-Gaub
91334d6a39
Merge pull request #7664 from ZappoMan/reduceJointProperties
...
only export joint values if they've been explicitly set by scripts
2016-04-14 15:30:04 -07:00
Brad Hefta-Gaub
b48503a82d
only export joint values if they've been explicitly set by scripts
2016-04-13 19:52:50 -07:00
Zach Pomerantz
7a15339631
Use AnimationCache for models
2016-04-13 15:44:47 -07:00
Seth Alves
43f735dd21
avoid loop where bullet moves an entity and then an entity tells bullet that it has moved.
2016-04-09 22:18:43 -07:00
Anthony J. Thibault
8f530ceaf9
Reading animation properties without an entityTree lock is considered harmful
...
In RenderableModelEntityItem::update() make a copy of the _animationProperties, which is under the entityTree lock.
In RenderableModelEntityItem::render() read from the copy of _animationProperties when not under the entityTree lock.
2016-04-07 13:42:40 -07:00
Anthony J. Thibault
6a7a572b53
Model: Toggling Physics > Draw Collision Hulls works again
...
Collision renderItems were never getting removed when shouldShowCollisionHull became false.
2016-04-05 11:06:24 -07:00
Zach Pomerantz
e4cba14333
Avoid recreating model items when adding to scene
2016-03-31 10:46:51 -07:00
Zach Pomerantz
377a20e983
Use default texs for empty json
2016-03-31 10:46:51 -07:00
Zach Pomerantz
984bacdae3
Rearrange model entity render to reduce flicker
2016-03-31 10:46:51 -07:00
Zach Pomerantz
3de5f73a1f
Fixup model on tex load
2016-03-31 10:46:51 -07:00
Zach Pomerantz
01db2be6b8
Avoid JSON parsing texs every render cycle
2016-03-30 14:48:57 -07:00
Zach Pomerantz
e4f12c81e0
Get remap textures through getter
2016-03-30 14:11:36 -07:00
Brad Hefta-Gaub
32308c7810
Merge pull request #7501 from zzmp/fix/parse-tex
...
Respond to error from free in texture parsing
2016-03-30 08:53:15 -07:00
Zach Pomerantz
6c7b6cd62e
Return parsed tex directly as variant
2016-03-29 14:16:22 -07:00
Zach Pomerantz
848e7703ee
Test textures emptiness correctly
2016-03-29 10:50:27 -07:00
Zach Pomerantz
29dedd5524
Update model URL on render thread
2016-03-29 10:42:40 -07:00
Zach Pomerantz
2de94e672b
Merge branch 'master' of github.com:highfidelity/hifi into feat/geocaching
2016-03-28 14:08:30 -07:00
Brad Hefta-Gaub
4ebb114a8e
also fix joint simulation from 3rd party editors
2016-03-25 11:43:32 -07:00
Brad Hefta-Gaub
759fac228c
fix the doppelganger
2016-03-25 11:29:14 -07:00
Brad Hefta-Gaub
6c6131c7b3
fix the doppelganger
2016-03-25 11:22:54 -07:00
Brad Hefta-Gaub
984d6ae48f
fix model resizing bug
2016-03-25 10:46:14 -07:00
Zach Pomerantz
5d306a74d5
Merge branch 'master' of github.com:highfidelity/hifi into feat/geocaching
2016-03-25 10:09:37 -07:00
Zach Pomerantz
413c3b88cf
Accept textures as list or json
2016-03-24 19:40:02 -07:00
Zach Pomerantz
3e9e083df5
Update users of NetworkGeometry
2016-03-24 11:35:41 -07:00
Brad Hefta-Gaub
492e71345a
Revert "Revert "Fix ModelBlender crash""
...
This reverts commit f274cdcc7f
.
2016-03-21 11:42:25 -07:00
Brad Hefta-Gaub
f274cdcc7f
Revert "Fix ModelBlender crash"
2016-03-21 10:47:31 -07:00
Brad Hefta-Gaub
7483b8546b
remove FaceModel, make Model support shared_from_this() so we can ave shared and weak pointers to it
2016-03-17 17:05:35 -07:00
howard-stearns
ddc658af5f
After a modelURL change to an existing model, allow the model to be
...
snapped and scaled to the existing entity registration and dimensions.
2016-03-15 12:20:51 -07:00
Seth Alves
01659cf93b
try, try again
2016-03-11 16:21:20 -08:00
Seth Alves
2ad15f7568
try harder to get queryAABoxes to be correct
2016-03-11 14:38:31 -08:00
Seth Alves
f611d8f747
if needed, set querryAACube when dimensions are updated
2016-03-11 12:41:18 -08:00
Seth Alves
40c953e0b9
fix model hulls
2016-03-07 11:40:18 -08:00
Seth Alves
8b8604f9b0
move offset handling for models back to how it was before this PR
2016-03-07 11:32:25 -08:00
Seth Alves
c95d1f68f6
remove debug print
2016-03-06 14:38:03 -08:00
Seth Alves
5c585acd9a
offset is included in shape key for models
2016-03-06 14:29:30 -08:00
Seth Alves
dcb720a832
fix polyvox hull when registration changes.
2016-03-06 14:09:45 -08:00
Seth Alves
59804a0f54
cleanups
2016-03-06 12:59:41 -08:00
Seth Alves
5241dc5394
this seems to be working now. more cleanups to come
2016-03-06 12:59:33 -08:00
Seth Alves
8bc2c76a8b
change shape-key when registration point changes so shape cache doesn't incorrectly reuse the old shape
2016-03-05 08:01:30 -08:00
Seth Alves
9346171695
if entity registration isn't default, adjust physics shapes to match
2016-03-04 16:47:30 -08:00
samcake
1c53f9bc87
Fix the cleanup of the render::Item::ID in the EntityITem Rendereable wich were often not invalidated after beeing removed from the scene. THis caused a bug with particule system when beeing added /removed / updated quickly
2016-02-23 10:40:50 -08:00
Zach Pomerantz
0e9d696859
Cache renderable model orig texs as QVariantMap
2016-02-15 11:09:10 -08:00
Zach Pomerantz
0903e14b06
Revert model texs when unset
2016-02-12 15:57:24 -08:00
Seth Alves
6a646f1c24
put isMoving back and change all uses to isMovingRelativeToParent
2016-02-10 19:01:41 -08:00
Atlante45
7e8ea4dc77
Update primitive instance rendering calls
2016-02-01 18:50:01 +01:00