Andrzej Kapolka
804ce83fa6
Get the base position/orientation directly from the avatar to prevent
...
jerkiness when flying with the Hydra. Also, restore arm lengths when the
Hydra becomes inactive.
2014-01-20 13:44:41 -08:00
stojce
2e5a1e1823
Merge
2014-01-16 23:15:02 +01:00
Andrzej Kapolka
865b495e6c
Merge branch 'master' of https://github.com/worklist/hifi into debone
...
Conflicts:
interface/src/Audio.cpp
interface/src/Menu.cpp
interface/src/avatar/Avatar.h
interface/src/avatar/MyAvatar.cpp
interface/src/devices/Webcam.cpp
interface/src/devices/Webcam.h
interface/src/renderer/FBXReader.cpp
2014-01-16 13:35:03 -08:00
Andrzej Kapolka
3f08504e3e
Replaced missing functionality.
2014-01-16 12:39:07 -08:00
stojce
a401d822a3
Merge
2014-01-16 18:39:21 +01:00
Andrew Meadows
1266ffd0ca
merge of windows-build
...
Conflicts:
domain-server/src/DomainServer.cpp
interface/src/Application.cpp
interface/src/Menu.cpp
libraries/avatars/src/AvatarData.h
libraries/shared/src/NodeList.h
2014-01-16 09:00:13 -08:00
Andrew Meadows
4b94e53acf
Removing Model::findSpherePenetrationWithJoint() which was experimental method that was not finally used.
2014-01-15 17:02:02 -08:00
stojce
50ad5a4ec8
alternate css background settings for selected items in QTreeView
2014-01-15 23:38:34 +01:00
Andrew Meadows
32f3621855
merge upstream work into local repo
2014-01-15 14:13:48 -08:00
Brad Hefta-Gaub
170dbe6e85
Merge branch 'master' of git://github.com/worklist/hifi into windows_build
...
Conflicts:
assignment-client/src/audio/AudioMixer.cpp
domain-server/src/DomainServer.cpp
interface/src/Audio.cpp
interface/src/DataServerClient.cpp
interface/src/Oscilloscope.cpp
interface/src/PairingHandler.cpp
interface/src/Util.cpp
interface/src/avatar/MyAvatar.cpp
interface/src/devices/Faceshift.cpp
interface/src/devices/SerialInterface.cpp
interface/src/renderer/FBXReader.cpp
libraries/avatars/src/AvatarData.h
libraries/octree-server/src/OctreeServer.cpp
libraries/octree-server/src/OctreeServer.h
libraries/octree/src/ViewFrustum.cpp
libraries/shared/src/Logging.cpp
libraries/shared/src/Node.cpp
libraries/shared/src/Node.h
libraries/shared/src/NodeList.cpp
libraries/shared/src/NodeList.h
libraries/shared/src/PerfStat.cpp
libraries/shared/src/SharedUtil.cpp
libraries/voxels/src/VoxelTree.cpp
voxel-edit/src/main.cpp
2014-01-15 10:20:21 -08:00
Andrzej Kapolka
64932cc2a7
Merge branch 'master' of https://github.com/worklist/hifi into debone
2014-01-14 16:40:20 -08:00
Andrew Meadows
af3fae7bbf
Merge upsteam master into current project (experimental hand paddles)
...
Conflicts:
interface/src/avatar/Avatar.cpp
libraries/avatars/src/AvatarData.cpp
2014-01-14 16:39:46 -08:00
Andrzej Kapolka
7e4fcb43f2
Merge branch 'master' of https://github.com/worklist/hifi into armstrong
2014-01-14 16:31:30 -08:00
Andrew Meadows
761fdc9d84
Adding methods to Model for accessing hand info and computing hand collisions.
2014-01-14 16:19:57 -08:00
Andrzej Kapolka
5d88953f12
First cut at stretching the arms out and aligning forearms with wrists.
...
Closes #1423 , #1504 .
2014-01-14 15:27:28 -08:00
Stephen Birarda
987c639e36
initial newline removal from all QDebug calls
2014-01-14 13:09:22 -08:00
Brad Hefta-Gaub
a39c20e4d4
Merge branch 'master' of git://github.com/worklist/hifi into windows_build
2014-01-14 09:18:52 -08:00
Andrzej Kapolka
0694a7d4a5
When we fail to download textures or geometry, retry after steadily increasing
...
delays. Closes #1471 .
2014-01-13 16:09:36 -08:00
Brad Hefta-Gaub
55babbf7b6
windows type mismatch warning fixes
2014-01-13 00:30:23 -08:00
Brad Hefta-Gaub
08c9dfbea7
fixed windows warnings related to truncating char
2014-01-12 23:32:03 -08:00
Brad Hefta-Gaub
a3022f538d
more windows fixes
2014-01-12 23:08:01 -08:00
Brad Hefta-Gaub
d92d043e8f
more windows build fixes
2014-01-12 22:52:06 -08:00
Brad Hefta-Gaub
825c1c8876
fix windows warnings
2014-01-11 00:07:35 -08:00
Andrew Meadows
e18ae78ce1
merge pull #1499
2014-01-10 16:30:22 -08:00
Andrew Meadows
d28ed70ca9
merge pull request 1446
2014-01-10 15:55:38 -08:00
Andrzej Kapolka
131af0cf16
I believe this should fix the "Joint/model not in model list" errors.
2014-01-10 12:26:11 -08:00
Andrzej Kapolka
aa9fc290a5
Minimum chat circle radius from Ryan, basic avatar/voxel orbit behavior.
2014-01-03 16:46:11 -08:00
Andrzej Kapolka
6c27569e9b
Fix arm bending, compile warning.
2014-01-02 13:23:15 -08:00
Andrzej Kapolka
45c31cece3
Removed insertion test code.
2013-12-17 18:23:12 -08:00
Andrzej Kapolka
8ddf6297a5
Fixed Xcode warnings.
2013-12-17 17:13:41 -08:00
Andrzej Kapolka
e6a41b2003
Proof of concept sphere thing for metavoxels.
2013-12-17 16:56:52 -08:00
Andrzej Kapolka
d535d3b115
More progress on getting values in and out of scripts.
2013-12-17 13:44:56 -08:00
Andrzej Kapolka
6385a73379
Working on scripty bits.
2013-12-16 17:53:53 -08:00
Andrzej Kapolka
0ca2320711
Working on guide/script support.
2013-12-16 13:44:24 -08:00
Andrzej Kapolka
50e4691568
Pointer attributes, cleanup.
2013-12-13 14:33:18 -08:00
Andrzej Kapolka
a10aca59f3
Visitor cleanup.
2013-12-12 18:29:23 -08:00
Andrzej Kapolka
c1aec11b32
More work on rendering voxels.
2013-12-12 15:14:19 -08:00
Andrzej Kapolka
5ec9017d3b
More metavoxel bits.
2013-12-11 18:00:17 -08:00
Andrzej Kapolka
dce9599201
More progress on generic attributes; color attributes.
2013-12-11 16:13:36 -08:00
Andrzej Kapolka
79a2e409a8
Basic voxel visitation with multiple attributes.
2013-12-11 13:52:52 -08:00
Andrzej Kapolka
8ba2cf9a8b
Merge branch 'master' of https://github.com/worklist/hifi into metavoxels
2013-12-11 10:30:30 -08:00
Andrzej Kapolka
88eeb17f28
More progress on metavoxels with generic attributes.
2013-12-10 17:53:11 -08:00
Andrzej Kapolka
6ba750a963
More progress on generic attributes, metavoxel node management.
2013-12-10 15:44:48 -08:00
Andrzej Kapolka
9641ca1e66
More efficient (though perhaps overkill) blendshape mapping.
2013-12-09 15:37:09 -08:00
Andrzej Kapolka
a431268815
Somewhat inefficient take on allowing blendshapes coefficients to apply
...
multiple blendshapes.
2013-12-09 15:21:20 -08:00
Andrzej Kapolka
9a3c44ce7d
Enable alpha testing for models.
2013-12-09 14:49:37 -08:00
Andrzej Kapolka
2381b2bbaf
Get rid of initial glow.
2013-12-09 12:30:14 -08:00
Andrzej Kapolka
c36e04c435
This should fix the erroneous persistence on startup.
2013-12-09 11:21:32 -08:00
Andrzej Kapolka
02cd97deb1
Adjust palm collision size, use last free index when ignoring.
2013-12-05 16:28:33 -08:00
Andrzej Kapolka
ecff3a0542
Basic sphere/capsule-cone penetration test.
2013-12-05 15:36:34 -08:00
Andrzej Kapolka
b90c5bdae8
Option to render collision proxies, more general avatar penetration test, fix
...
for meshes with only one joint influence.
2013-12-05 14:00:38 -08:00
Andrzej Kapolka
1edfc90e5e
Missed a scale multiplier.
2013-12-05 12:02:48 -08:00
Andrzej Kapolka
0ea0887f66
Add a scale factor to bone radii.
2013-12-05 11:21:56 -08:00
Andrzej Kapolka
9b3560d414
Skip the hands' parents as well as the hands themselves.
2013-12-05 11:10:22 -08:00
Andrzej Kapolka
193f676fcb
Merge branch 'master' of https://github.com/worklist/hifi
2013-12-05 10:18:50 -08:00
ZappoMan
9faef65ccc
first cut at splitting out octree base classes
2013-12-03 17:32:02 -08:00
Andrzej Kapolka
70ca1106b1
Working on testing the Leap/Hydra hands against the avatar body.
2013-12-03 17:28:36 -08:00
Andrzej Kapolka
817946bed5
Attempting to rotate longitudinally at elbow, rather than wrist.
2013-12-03 11:05:38 -08:00
Andrzej Kapolka
2633223f4e
Compute the bone radii from the vertices. It's more error-prone than I
...
expected, but it more or less works.
2013-12-02 18:07:29 -08:00
Andrzej Kapolka
f6b3a6ceca
The other part of the Oculus ambient occlusion fix.
2013-11-26 17:53:31 -08:00
Andrzej Kapolka
898135fbf2
Linear filtering for more smoothness.
2013-11-21 13:36:16 -08:00
Andrzej Kapolka
dcc926a0db
Working on the "real" shadow volume.
2013-11-20 20:36:54 -08:00
Andrzej Kapolka
758246309a
Use compare mode.
2013-11-20 20:06:22 -08:00
Andrzej Kapolka
4bcc6fdc0d
More progress on shadows.
2013-11-20 18:27:59 -08:00
Andrzej Kapolka
5cc5d9bba8
Progress towards shadow maps.
2013-11-20 16:23:54 -08:00
Andrzej Kapolka
f7458cf934
Fix for pupil dilation on Ryan's face.
2013-11-14 15:21:54 -08:00
Andrzej Kapolka
76d8bd0a9c
Finger IK, take two.
2013-11-13 13:53:41 -08:00
Andrzej Kapolka
d87dccd614
Alignment to pull elbows towards ground.
2013-11-13 12:06:08 -08:00
Andrzej Kapolka
c2e4a70685
Back to the cyclic coordinate descent algorithm (easier to apply joint
...
constraints); Leap hands relative to eyes.
2013-11-13 10:35:20 -08:00
Andrzej Kapolka
a36f9d52af
Constraint fix, apply constraints to wrists.
2013-11-12 15:43:11 -08:00
Andrzej Kapolka
0eaaa89c9a
Read the palm direction from the FST, use that to determine Leap rotations.
2013-11-08 15:38:20 -08:00
Andrzej Kapolka
49c9d41dd5
Read and enforce angle constraints (untested).
2013-11-08 14:49:38 -08:00
Andrzej Kapolka
a29dfe9c63
Yet another finger attempt.
2013-11-07 16:14:23 -08:00
Andrzej Kapolka
c3049d4378
Another shot at the fingers. Not attempting IK on the anymore.
2013-11-07 14:25:01 -08:00
Andrzej Kapolka
aec7dbca08
Attempting the fingers again.
2013-11-07 13:57:54 -08:00
Andrzej Kapolka
4360621daf
Adjustments to wrist rotations.
2013-11-07 13:17:08 -08:00
Andrzej Kapolka
f0e72d8d0c
Removed unused variable, debugging code.
2013-11-07 12:16:17 -08:00
Andrzej Kapolka
e6cd9a7368
Working on wiring up the fingers.
2013-11-07 12:12:48 -08:00
Andrzej Kapolka
be09d319b7
Gravity adjustments.
2013-11-06 17:58:05 -08:00
Andrzej Kapolka
afd3f6937c
Derp; I don't want the length of the scale, I want the average of the
...
components.
2013-11-06 17:05:10 -08:00
Andrzej Kapolka
97cf9f2285
Cleanup on aisle 3.
2013-11-06 15:58:35 -08:00
Andrzej Kapolka
1706c7c97a
New IK method: will be easier to add constraints, adds "gravity" influence to
...
sap potential energy.
2013-11-06 15:51:26 -08:00
Andrzej Kapolka
c55f8c5900
Forgot to return a value.
2013-11-05 16:14:21 -08:00
Andrzej Kapolka
9460fb87c2
Return arm to neutral position when mouse pointer is invisible.
2013-11-05 16:06:11 -08:00
Andrzej Kapolka
b2ed29dbff
Work around precision issues with multiplying matrices with high translation
...
magnitudes (by using relative translation).
2013-11-04 16:49:12 -08:00
ZappoMan
c4a2b3c49b
fix thinning in voxels as points by using correct points to calculate width of voxel based on camera position relative to voxel
2013-11-03 11:10:00 -08:00
Philip Rosedale
79fb92f195
Merge pull request #1170 from ZappoMan/point_shader
...
first cut a variable point size point rendering
2013-11-01 17:02:28 -07:00
Andrzej Kapolka
966f75db9b
Sanity check to prevent crash in Model::simulate.
2013-11-01 14:47:25 -07:00
ZappoMan
56aafabacd
fixed up comments and style guide items
2013-11-01 14:39:55 -07:00
ZappoMan
f5d09c0218
fix comments and style
2013-11-01 14:36:20 -07:00
ZappoMan
b3aac56d29
first cut a variable point size point rendering
2013-11-01 14:33:06 -07:00
Andrzej Kapolka
4a011e0624
Pull out the weight access.
2013-10-31 17:10:35 -07:00
Andrzej Kapolka
70485a0ba9
Fix for meshes with no texture coordinates.
2013-10-31 14:52:36 -07:00
Andrzej Kapolka
55de8ceb85
Use blue default texture when we fail to load a normal map.
2013-10-31 14:46:51 -07:00
Andrzej Kapolka
1a532be845
Smooth the normals.
2013-10-31 14:26:06 -07:00
Andrzej Kapolka
a15bff3857
Closer to mesh fix.
2013-10-31 13:49:06 -07:00
Andrzej Kapolka
bc796c63e3
Working on mesh fix.
2013-10-31 12:41:40 -07:00
Andrzej Kapolka
9c5ebfcf77
If the skeleton has meshes, don't render the balls and sticks.
2013-10-30 16:44:40 -07:00
Andrzej Kapolka
156b3dd2e6
Sign change. Forgot we flip the texture coordinates.
2013-10-30 11:55:22 -07:00
Andrzej Kapolka
06e050f1c1
Normal map support almost there.
2013-10-29 22:13:00 -07:00
Andrzej Kapolka
e45446a0ee
Oops; I broke the voxel attachments.
2013-10-28 16:36:31 -07:00
Andrzej Kapolka
4f34d89c4a
Added left hand/hand rotation setters in preparation for Leap integration.
2013-10-28 14:38:09 -07:00
Andrzej Kapolka
b56d47929b
Extremely basic IK based on implementation of the cyclic coordinate descent
...
algorithm. Actually seems to work pretty well.
2013-10-28 13:38:22 -07:00
Andrzej Kapolka
1e5ec3e84f
Fix for models exported from Blender: remove type prefix from IDs.
2013-10-25 10:18:40 -07:00
Andrzej Kapolka
bae4a17605
Voxel attachments.
2013-10-24 13:59:04 -07:00
Andrzej Kapolka
240f65b7c5
Scale fixes.
2013-10-23 16:15:03 -07:00
Andrzej Kapolka
a9df8a6b29
Partial fix for textures in exports from 3D Studio Max.
2013-10-23 15:56:09 -07:00
Andrzej Kapolka
41f73b5e9d
Support for attaching models to joints.
2013-10-23 15:16:29 -07:00
Andrzej Kapolka
cf98d900f9
Removed unused variable.
2013-10-22 17:26:42 -07:00
Andrzej Kapolka
9dd41f4206
Render sticks, use avatar colors.
2013-10-22 16:52:44 -07:00
Andrzej Kapolka
1f8bed9d9c
More transform rejiggery.
2013-10-22 15:31:27 -07:00
Andrzej Kapolka
cd4b88acaa
More rotation tweaks.
2013-10-22 13:39:51 -07:00
Andrzej Kapolka
a33c7ce20c
More work on extracting rotations.
2013-10-22 12:54:32 -07:00
Andrzej Kapolka
9d89baa506
Apply the neck position.
2013-10-21 17:30:26 -07:00
Andrzej Kapolka
b5f2dcfa55
Use the head position from the loaded skeleton, if available.
2013-10-21 16:58:01 -07:00
Andrzej Kapolka
349f7b363a
More work on custom skeletons.
2013-10-21 16:14:38 -07:00
Andrzej Kapolka
49acca3587
Fixes to load my test model.
2013-10-21 11:20:27 -07:00
Andrzej Kapolka
871f97bd81
The Blender FBX has models that are also meshes.
2013-10-18 19:06:56 -07:00
Andrzej Kapolka
b294f5b13e
Fix for weird links in Blender exports.
2013-10-18 18:43:07 -07:00
Andrzej Kapolka
b3384d0869
More fixes for text FBXs.
2013-10-18 18:23:08 -07:00
Andrzej Kapolka
a6a4ceebe4
Just check the last entry for the type.
2013-10-18 18:03:28 -07:00
Andrzej Kapolka
ec17b80b52
Adapt to the *other* kind of cluster.
2013-10-18 17:54:54 -07:00
Andrzej Kapolka
ea50d6f22e
Forgot these guys.
2013-10-18 17:49:34 -07:00
Andrzej Kapolka
7e174093e4
Factoring the FBX model code out to a shared base class.
2013-10-18 17:26:03 -07:00
Andrzej Kapolka
b84a5679dd
Fixed merge error.
2013-10-18 14:31:56 -07:00
Andrzej Kapolka
591cf98821
Merge branch 'master' of https://github.com/worklist/hifi into ossome
...
Conflicts:
interface/src/renderer/FBXReader.cpp
2013-10-18 14:30:50 -07:00
Andrzej Kapolka
58b4139dbc
Added support for RotationOffset, which the Lulu model uses.
2013-10-18 14:26:42 -07:00
Andrzej Kapolka
cd902c5e85
More work on importing the version of FBX exported by Blender.
2013-10-18 14:09:12 -07:00
Andrzej Kapolka
c8b2ed0213
More progress on reading skeletons.
2013-10-17 17:30:34 -07:00
Andrzej Kapolka
9ba3c3719f
Working on skeleton loading, added support for FBX text format (exported by
...
Blender).
2013-10-17 15:45:57 -07:00
Andrzej Kapolka
a5a81a585e
Fix for glow flickering.
2013-10-16 17:47:39 -07:00
Andrzej Kapolka
c9344d4382
Have textures default to white when they fail to load.
2013-10-16 11:00:41 -07:00
Andrzej Kapolka
6a265eacf2
Keep normal and dilatable textures in separate maps to fix crash on manly
...
"man" model.
2013-10-15 16:40:35 -07:00
Andrzej Kapolka
8631cc3264
Try to apply the blendshape scale.
2013-10-15 16:29:28 -07:00
Andrzej Kapolka
b04ed72b83
I forgot that the children are in reverse order.
2013-10-15 16:17:56 -07:00
Andrzej Kapolka
ba25087b3e
Support for multiple mesh "parts" (with different materials), fix for
...
untextured meshes.
2013-10-15 15:58:34 -07:00
Andrzej Kapolka
053c116481
Removed unused variable.
2013-10-15 11:57:42 -07:00
Andrzej Kapolka
d06acdd169
Per-pixel shading, material tweaks.
2013-10-15 11:50:29 -07:00
Andrzej Kapolka
db30e729d4
More work towards skinning.
2013-10-14 16:46:17 -07:00
Andrzej Kapolka
cec0ee0b22
Working on processing the cluster/skin information.
2013-10-11 17:51:29 -07:00
Andrzej Kapolka
6e012ea6d2
When computing average model color, skip eyes and weight rest by number of
...
vertices.
2013-10-10 16:04:42 -07:00
Andrzej Kapolka
4c073426c8
Ball and cone color from average geometry colors.
2013-10-10 13:41:50 -07:00
Andrzej Kapolka
60306af3e9
Default springiness, allow springiness on non-blended meshes.
2013-10-08 13:35:02 -07:00
Andrzej Kapolka
6a043145d3
Merge branch 'master' of https://github.com/worklist/hifi into springy
...
Conflicts:
interface/src/renderer/FBXReader.cpp
2013-10-08 11:21:47 -07:00
Andrzej Kapolka
e3436eed91
Fixes for eyes rolling back in head, macaw head without mapping file.
2013-10-08 11:18:12 -07:00
Andrzej Kapolka
ce23b415e0
Fix for macaw head without mapping file.
2013-10-08 11:11:01 -07:00
Andrzej Kapolka
3448ceccd2
Progress towards a spring-mass model.
2013-10-07 17:25:46 -07:00
Andrzej Kapolka
a704a29864
Include a mapping for the names generated by the FBX export.
2013-10-04 17:56:36 -07:00
Andrzej Kapolka
08426fbd9c
Handle index-to-direct normals (exported by the Faceshift rig FBX).
2013-10-04 17:49:18 -07:00
Andrzej Kapolka
b281facf45
Remove references to ambient, use the requested alpha.
2013-10-04 10:53:19 -07:00
Andrzej Kapolka
51c868fd28
Apply (some) FBX material properties to rendered meshes.
2013-10-03 18:12:58 -07:00
Andrzej Kapolka
2fc1af8c1a
Fix for relative texture paths.
2013-10-03 15:47:43 -07:00
Andrzej Kapolka
b2b9e1e0bf
Need to allow multiple blendshape mappings per shape index.
2013-10-03 14:35:58 -07:00
Andrzej Kapolka
cc5cc1a409
Fixed incorrect capitalization.
2013-10-03 14:16:28 -07:00
Andrzej Kapolka
5756733aef
Load mapping and use it for offset, joint mappings, blendshape mappings.
2013-10-03 14:03:01 -07:00
Andrzej Kapolka
c98dec8a65
Dilate our network-downloaded textures.
2013-10-02 11:59:14 -07:00
Andrzej Kapolka
97cbef1d59
Avoid warnings on invalid URLs, delete reply when reference is deleted.
2013-10-02 10:23:04 -07:00
Andrzej Kapolka
40a3268d7c
Fixed an OS X warning and a misplaced parenthesis.
2013-10-01 16:31:57 -07:00
Andrzej Kapolka
6ccd406a35
Experimenting with the pivot points.
2013-10-01 15:20:18 -07:00
Andrzej Kapolka
3c6fb2914f
Use inheritance type flags. Getting closer to the correct transforms.
2013-10-01 15:03:29 -07:00
Andrzej Kapolka
3c3cf0b002
Basic geometry sharing/texture loading.
2013-10-01 10:50:09 -07:00
Andrzej Kapolka
d4c4cbc981
Get the neck joint and position blend face relative to that.
2013-09-30 13:15:59 -07:00
Andrzej Kapolka
d4203ff3d3
Pivot fix.
2013-09-30 12:01:27 -07:00
Andrzej Kapolka
1592aac177
Getting closer to the correct set of transforms.
2013-09-30 11:24:41 -07:00
Andrzej Kapolka
f8d26f207d
Include the local transforms from the FBX file when rendering meshes.
2013-09-27 17:57:18 -07:00
Philip Rosedale
0fbabe9891
Merge pull request #984 from ZappoMan/voxel_geo_shader
...
Voxel Geometry Shader Experiment
2013-09-26 17:22:55 -07:00
Andrzej Kapolka
91999dfe1f
Pupil dilation.
2013-09-26 15:48:11 -07:00
ZappoMan
552d9fadd8
rearranged menus, some hacking on voxel shader
2013-09-26 14:51:57 -07:00
Andrzej Kapolka
0ae614fa7b
Fix to load Ryan's alien model (handle per-vertex normals).
2013-09-25 17:55:22 -07:00
Andrzej Kapolka
9a16d44a47
Render the eye textures.
2013-09-25 13:47:03 -07:00
Andrzej Kapolka
4567b8afdf
Merge branch 'master' of https://github.com/worklist/hifi into blendface
2013-09-25 11:40:16 -07:00
Andrzej Kapolka
2c7bb1a3d9
Slight fix: make sure we set isEye on each mesh.
2013-09-25 11:38:00 -07:00
Andrzej Kapolka
85ab9b7576
Use the texture coordinates when rendering the eyes.
2013-09-25 11:35:02 -07:00
Andrzej Kapolka
7ff5167bb7
Read in the texture coordinates, too.
2013-09-25 11:02:56 -07:00
Andrzej Kapolka
71ec6f75e5
Move the eyeball meshes according to the lookat direction (not really visible
...
yet since the eyeballs have no textures).
2013-09-24 18:57:37 -07:00
Andrzej Kapolka
452eb9be47
Extract the pivot points from the limb nodes, make sure we extract the vector
...
elements in the right order.
2013-09-24 16:50:38 -07:00
Andrzej Kapolka
4666c736d8
Remove unused variable.
2013-09-24 14:24:57 -07:00
Andrzej Kapolka
1b9444cb39
As a temporary hack, render the mesh with the most blendshapes with the head
...
color (other meshes white).
2013-09-24 14:22:01 -07:00
Andrzej Kapolka
fd41a075ed
Added support for multiple blended meshes.
2013-09-24 13:53:19 -07:00
Andrzej Kapolka
ad69a9547f
Remove the pose bits, at least for now.
2013-09-24 11:12:59 -07:00
Andrzej Kapolka
aa6eb7b3d8
Render the "other" meshes as separate, static, white.
2013-09-23 16:34:28 -07:00
ZappoMan
3d4341cee4
hacking on voxel geometry shader
2013-09-23 15:18:45 -07:00
Andrzej Kapolka
9034eb1e72
Experimenting with the simplest method of including the other meshes.
2013-09-23 14:37:48 -07:00
Andrzej Kapolka
133ba3a00a
Set normals based on indices, cache face models.
2013-09-20 17:40:15 -07:00
Andrzej Kapolka
9c2d851650
Fixed bug in decoding: newer versions of Qt streaming use whatever precision
...
the stream is set at for both floats and doubles.
2013-09-20 16:38:44 -07:00
Andrzej Kapolka
120f8f729c
Find the mesh that corresponds to the blendshapes.
2013-09-20 15:28:08 -07:00
Andrzej Kapolka
77d9e21162
Meant to include this in the last commit.
2013-09-20 10:06:34 -07:00
Andrzej Kapolka
c049665090
Removed temporary comment.
2013-09-19 16:42:25 -07:00
Andrzej Kapolka
fff10375a9
Map the blendshapes by name.
2013-09-19 15:48:33 -07:00
Andrzej Kapolka
09fa782c61
More work on FBX reading.
2013-09-19 15:05:17 -07:00
Andrzej Kapolka
dfea69ab8f
Basic FBX parser.
2013-09-18 16:26:35 -07:00
Andrzej Kapolka
ddf92b39c7
Fix for off-axis ambient occlusion.
2013-09-08 17:52:35 -07:00
atlante45
06119990e8
Fixed ui related files memory wastes
2013-09-03 14:47:50 -07:00
atlante45
7688dc4779
Fixed renderer related files memory wastes
2013-09-03 13:50:01 -07:00
Andrzej Kapolka
7da9556815
Glow when moving.
2013-08-22 11:23:28 -07:00
Andrzej Kapolka
165342bcc3
Have the local avatar glow when moving.
2013-08-22 10:35:21 -07:00
Andrzej Kapolka
d63bb3afaa
Fixed glow/ambient occlusion with Oculus.
2013-08-21 15:44:57 -07:00
Andrzej Kapolka
571131d42e
No glow effect on the avatar, fixed OS X warning.
2013-08-20 17:25:54 -07:00
Andrzej Kapolka
590672d035
Fewer texture lookups when diffusing.
2013-08-20 17:02:35 -07:00
Andrzej Kapolka
49da612a4e
Turns out we do have to initialize the "odd frame" field.
2013-08-20 16:37:23 -07:00
Andrzej Kapolka
ecc6d41523
Merge branch 'master' of https://github.com/worklist/hifi
2013-08-20 16:07:54 -07:00
Andrzej Kapolka
d5c66f6b67
Default to diffuse/add mode, fix for interacting with ambient occlusion.
...
Unfortunately, I managed to break the diffusion somehow.
2013-08-20 16:07:12 -07:00
Andrzej Kapolka
11be8c752b
Cleanup.
2013-08-20 13:40:45 -07:00
Andrzej Kapolka
22598ceb4f
Optimizations for occlusion blur (the main one being that we only need to
...
sample the texture four, not sixteen, times if we turn on linear filtering
and sample between the texels).
2013-08-20 11:52:43 -07:00
Andrzej Kapolka
7f4557fe1a
Add blur scale uniform.
2013-08-20 10:50:25 -07:00
Andrzej Kapolka
e7dab88d69
Square vector lengths to bunch them up towards the center, add a minimum
...
length, include the URL of the SSAO tutorial.
2013-08-19 10:32:56 -07:00
Andrzej Kapolka
b41fa1e03c
Basic ambient occlusion effect up and running; needs tweaking and
...
optimization.
2013-08-16 17:26:47 -07:00
Andrzej Kapolka
3ddab484e0
Beginnings of ambient occlusion. Looks like an architectural drawing.
2013-08-15 17:52:31 -07:00
Andrzej Kapolka
cceeb1c6ff
Merge branch 'master' of https://github.com/worklist/hifi into ssao
2013-08-15 13:11:12 -07:00
Andrzej Kapolka
28d306a228
Remove the code here; will be replacing it based on glow effect work.
2013-08-15 13:10:48 -07:00
Andrzej Kapolka
3ad0b8b99d
Merge branch 'master' of https://github.com/worklist/hifi into ssao
...
Conflicts:
interface/src/Application.h
2013-08-15 10:06:22 -07:00
Andrzej Kapolka
ab9d414340
Doxygen comment fix.
2013-08-14 17:22:43 -07:00
Andrzej Kapolka
690e2c1965
Blur/add should be the default.
2013-08-14 16:58:04 -07:00
Andrzej Kapolka
7cd1360ba7
Doxygen-style comments.
2013-08-14 16:48:00 -07:00
Andrzej Kapolka
a9ccca3f72
Diffuse/add glow mode.
2013-08-14 16:13:30 -07:00
Andrzej Kapolka
15f129f32d
Added simple additive/blur-with-persist glow modes, means to cycle through
...
modes.
2013-08-14 14:14:47 -07:00
Andrzej Kapolka
b05b43f027
Render to texture first, rather than copying from the frame buffer. Copying
...
from the frame buffer requires it to have an alpha channel, which actually
does something on OS X (meaning we have to set it to 1.0). We're going to
want to render to texture anyway for SSAO (or other effects).
2013-08-13 12:27:52 -07:00
Andrzej Kapolka
a3cee5d052
More efficiency for glow effect.
2013-08-09 16:16:02 -07:00
Andrzej Kapolka
1828a105d4
Basic glow effect.
2013-08-08 16:55:45 -07:00
Andrzej Kapolka
cb89f05a39
Merge branch 'master' of https://github.com/worklist/hifi into glow
2013-08-08 12:01:03 -07:00
Andrzej Kapolka
597842eba2
Starting on glow effect.
2013-08-07 14:17:52 -07:00
Hifi Test Account
5f90e1a4e9
Fix the last commit. Remove compile error and increased buffer size to
...
to account for the increased size of vertexData.
2013-08-07 12:30:45 -07:00
Hifi Test Account
1e7dbbbccd
Fix renderHalfCylinder so that normals are correct now. Add facePosition and faceRotation storage to Face class.
2013-08-07 12:07:41 -07:00
Hifi Test Account
05d933bf33
Successful static half cylinder backing.
2013-08-06 18:38:41 -07:00
Hifi Test Account
d725bcdbff
Fix renderHalfCylinder so it only has 2 args now.
2013-08-06 18:09:51 -07:00
Hifi Test Account
24e47755d4
Merge texture render code to improve PrimeSense.
2013-08-06 17:42:26 -07:00
Andrzej Kapolka
720ae561df
Working on support for a textured face mode that doesn't rely on the video
...
stream.
2013-08-06 13:27:54 -07:00
Mark Peng
57efea40ee
Add untested renderHalfCylinder function to GeometryCache/
2013-08-05 19:52:02 -07:00
Andrzej Kapolka
03de2f3ea7
Render a green plane with fog, per Grayson's request.
2013-08-05 11:41:42 -07:00
Andrzej Kapolka
84bb2aa265
Started on C++ side of SSAO effect.
2013-07-14 18:21:18 -07:00
Andrzej Kapolka
7ab1055d47
Derp, need to bind the element array buffer.
2013-06-24 17:25:09 -07:00
Andrzej Kapolka
9356d1a27d
Turns out sincos is a GNU thing.
2013-06-24 17:16:06 -07:00
Andrzej Kapolka
ef7c6ebdc6
Basic blinking.
2013-06-21 18:11:31 -07:00
Andrzej Kapolka
7211fd7027
Now that we have a Qt context, we can use their shader classes. However, we
...
extend the program object class with glm-enabled functions.
2013-05-15 13:27:37 -07:00
Andrzej Kapolka
1f58e28b36
Need the ARB suffix on this. I'm surprised it compiled for me!
2013-05-08 15:05:35 -07:00
Andrzej Kapolka
7c8a06ed4d
Added wrapper classes for shaders/shader programs to ease the process of
...
compiling, linking, assigning uniforms, etc. They're modeled after the ones
included in QtOpenGL, which we can't use at the moment because they require
a Qt OpenGL context.
2013-05-07 17:40:55 -07:00