Atlante45
7b5a5a339a
Use make_shared/create to make shared pointers
2015-07-01 19:46:06 -07:00
ZappoMan
aa05d9f67c
Merge branch 'master' of https://github.com/highfidelity/hifi into fix-attachments
2015-06-10 08:53:33 -07:00
ZappoMan
ba0cecb356
remove attachments from Model - only supported at avatar layer
2015-06-09 12:32:37 -07:00
Sam Gateau
7de4c2eff7
first take on the materialKey
2015-06-09 12:17:10 -07:00
Howard Stearns
c0a71da9e3
Handle empty face groups, such as in the rama cyclinder that crashed the Friday meeting ( http://headache.hungry.com/~seth/hifi/stickCollisionModel.obj ).
2015-05-09 13:16:34 -07:00
Howard Stearns
8db8e56af0
Merge branch 'master' of https://github.com/highfidelity/hifi into objReader-tweak
2015-05-07 16:41:52 -07:00
Howard Stearns
9acdb3fb28
Proper defaults for material properties and a fail-safe for missing uv coordinates.
2015-05-07 10:47:50 -07:00
Howard Stearns
35337ef2c2
Spell out order-of-evaluation for the compiler.
2015-05-06 12:28:45 -07:00
Howard Stearns
d2dbb2c116
Missing the code!
2015-05-06 11:57:34 -07:00
Howard Stearns
eb05099261
(Try to) Address header file-location-discrepency between xcode and the jenkinds build environment.
2015-05-01 21:39:19 -07:00
Howard Stearns
e1d47413cc
Material library handling.
...
This is now functionally complete, but it needs testing, and the some tidying up.
2015-05-01 20:54:25 -07:00
Howard Stearns
bf45f865a4
Codding standards, and fix an unintentionally duplicated declaration.
2015-04-30 10:07:46 -07:00
Howard Stearns
2687a7b038
Take 2 on making MSVC happy.
2015-04-30 08:25:32 -07:00
Howard Stearns
fd63cb7ed1
Attempt to clean up cross-platform isdigit reference.
2015-04-30 07:28:13 -07:00
Howard Stearns
7245ca4ff3
According to the jenkins build report, Windows/MSVC has a different definition of std C++ than ISO does.
...
Fine. Make our own cross-platform isdigit.
2015-04-29 22:57:41 -07:00
Howard Stearns
810242e182
coding standard: comparison for pointer types (replaced with object isEmpty)
2015-04-29 16:12:22 -07:00
Howard Stearns
fb825f6d10
Noisy constant for number of vertices in a triangle.
2015-04-29 15:45:38 -07:00
Howard Stearns
3c88146d17
Fix indentation.
2015-04-29 15:39:30 -07:00
Howard Stearns
1e81caab6c
Get rid of superflous this->.
...
Add comments about side-effect of getFloat().
2015-04-29 15:37:39 -07:00
Howard Stearns
1255d46140
coding standard: type formatting and variable names
2015-04-29 15:19:40 -07:00
Howard Stearns
5d729b98d6
coding standard: brace placement
2015-04-29 14:05:30 -07:00
Howard Stearns
bd5272d677
Textures for .obj reader:
...
Refactor so that uv coordinates can be associated with vertices that might otherwise be on different materials.
Defer the assignment vertex/normal/uv assignment until later so that it could potentially be moved directly to model geometry instead of fbx geometry.
Handle the actual uv coordinates.
This version does not handle explicit .mtl files, but it does handle those .obj files that follow the convention that there is a .jpg with the same name as the .obj file.
2015-04-29 13:35:21 -07:00
Seth Alves
efa5c473d2
add fatten-faces mode to convex-hull tool for use on meshes which were derived from height-fields
2015-04-09 14:29:17 -07:00
Seth Alves
8bd77fbcc7
separate out logging for fbx and gpu libraries
2015-04-06 16:52:31 -07:00
Seth Alves
7af32bd67a
put audio and script-engine logging into their own QLoggingCategory
2015-04-06 15:57:18 -07:00
Seth Alves
2fbfa34c5c
removed uneeded logging
2015-04-06 09:14:53 -07:00
Seth Alves
00449ef7c0
new member variable to remember the order in which meshes appeared in the model file
2015-04-01 17:50:35 -07:00
Seth Alves
bacd6445f2
pull comments that get used as scaling hints into a hash table
2015-03-31 16:59:13 -07:00
Seth Alves
48144a46b1
don't keep empty mesh-parts. take units hint from a common first-line comment, if it's there.
2015-03-31 14:34:35 -07:00
Seth Alves
cfa30594cc
make obj reader handle faces with more than 4 vertices
2015-03-27 14:24:36 -07:00
Seth Alves
a2bc34ced9
fix attempt to avoid normalizing a zero length vector, other adjustments to respond to code review
2015-03-16 10:03:55 -07:00
Seth Alves
b15fd2ef94
compatibility and other fixes for obj reader
2015-03-15 08:08:39 -07:00
Seth Alves
ab8784f1b4
add comment about character capsule being hard-coded
2015-03-09 13:51:08 -07:00
Seth Alves
0833fc588b
coding standard
2015-03-09 06:56:35 -07:00
Seth Alves
3604fd639a
formatting
2015-03-08 20:03:10 -07:00
Seth Alves
804d4a0963
coding standard
2015-03-07 20:31:37 -08:00
Seth Alves
05e0fe3536
object display correctly now?
2015-03-07 11:28:30 -08:00
Seth Alves
f807384dfe
build a joint and caclulate extents. obj models now show up, though not correctly.
2015-03-07 07:55:04 -08:00
Seth Alves
858d15d0ba
obj reader sort-of works
2015-03-06 13:15:53 -08:00