Richard Davey
|
88feadb577
|
Fixed JSDocs, added totalRendered property.
|
2020-10-09 11:54:19 +01:00 |
|
Richard Davey
|
bf8cd60aab
|
Added ability to rotate data on import
|
2020-10-08 15:53:13 +01:00 |
|
Richard Davey
|
af0a4dbd37
|
Updated Mesh to include new functions and docs
|
2020-10-08 13:24:23 +01:00 |
|
Richard Davey
|
e3f7048e22
|
Removed moved defs
|
2020-10-08 13:23:44 +01:00 |
|
Richard Davey
|
2e988801ce
|
Made obj material parsing external
|
2020-10-08 10:45:03 +01:00 |
|
Richard Davey
|
324fa6a3b2
|
Removed MeshCamera, updated Mesh to focus on ortho projections
|
2020-10-07 22:27:04 +01:00 |
|
Richard Davey
|
90824e1485
|
Removed normalMatrix
|
2020-10-07 18:06:22 +01:00 |
|
Richard Davey
|
75fd64ace7
|
Modified cam layout
|
2020-10-07 13:16:24 +01:00 |
|
Richard Davey
|
f6a0a8d96b
|
Transform based on z value
|
2020-10-07 13:16:10 +01:00 |
|
Richard Davey
|
55d7b36217
|
Pass in the z value
|
2020-10-07 13:16:01 +01:00 |
|
Richard Davey
|
8ff78ef08a
|
Fixed addVerts face addition
|
2020-10-07 12:45:31 +01:00 |
|
Richard Davey
|
caf545d042
|
Added position, rotation and scale vectors, caching and removed old methods
|
2020-10-07 12:04:46 +01:00 |
|
Richard Davey
|
7a0b056fef
|
Trying out MeshCamera
|
2020-10-06 18:05:14 +01:00 |
|
Richard Davey
|
4b7c344497
|
Added parseOBJMaterial method and set default texture to __WHITE
|
2020-10-06 16:00:22 +01:00 |
|
Richard Davey
|
dff414fe82
|
Added Grid Config typedefs
|
2020-10-06 13:47:49 +01:00 |
|
Richard Davey
|
1f1edd3742
|
addGrid now takes config object and works with texture frames, with or without repeating
|
2020-10-06 13:42:44 +01:00 |
|
Richard Davey
|
440c33deb8
|
Use config object
|
2020-10-06 11:11:28 +01:00 |
|
Richard Davey
|
7287a760ae
|
Added ParseOBJ type defs
|
2020-10-06 10:38:21 +01:00 |
|
Richard Davey
|
a0020b2ad4
|
Fixed paths and addGrid
|
2020-10-05 17:40:42 +01:00 |
|
Richard Davey
|
b774df9426
|
More documentation
|
2020-10-05 17:25:24 +01:00 |
|
Richard Davey
|
57974c120a
|
Updated docs
|
2020-10-05 17:12:18 +01:00 |
|
Richard Davey
|
7aaf77a2c6
|
Merged the Mesh Game Object back in
|
2020-10-05 16:52:01 +01:00 |
|
Richard Davey
|
333945a89e
|
Remove Mesh Game Object and add Layer3D
|
2020-09-21 18:24:38 +01:00 |
|
Richard Davey
|
33734309f1
|
Clean the mesh after rendering
|
2020-09-21 15:57:21 +01:00 |
|
Richard Davey
|
989e3e6e07
|
Swapped to use RGB objects
|
2020-09-21 15:57:11 +01:00 |
|
Richard Davey
|
82c8ada236
|
Added fog, dirty refresh and preUpdate handler
|
2020-09-21 15:56:58 +01:00 |
|
Richard Davey
|
78c1eb7934
|
Removed debug, modified signatuers, added fog
|
2020-09-21 00:17:58 +01:00 |
|
Richard Davey
|
374cc84be8
|
Now the pipeline does it all
|
2020-09-18 17:52:41 +01:00 |
|
Richard Davey
|
561a1b54a2
|
Handle vertex normals too
|
2020-09-18 17:52:30 +01:00 |
|
Richard Davey
|
640ce49d93
|
Update MeshCamera.js
|
2020-09-18 17:52:20 +01:00 |
|
Richard Davey
|
6e62ada207
|
Created new MeshLight class
|
2020-09-18 17:52:15 +01:00 |
|
Richard Davey
|
5b8e490c7e
|
Flush during render so we can have models with more vertices than the batch allows
|
2020-09-17 18:08:25 +01:00 |
|
Richard Davey
|
5ff9894925
|
MeshCamera now supports orbit and pan modes
|
2020-09-17 18:08:07 +01:00 |
|
Richard Davey
|
6ce58ed73b
|
Let them define the orientation
|
2020-09-17 10:08:15 +01:00 |
|
Richard Davey
|
c5412df09e
|
Fix docs
|
2020-09-16 17:48:56 +01:00 |
|
Richard Davey
|
c306229478
|
Final JSDocs
|
2020-09-16 17:33:17 +01:00 |
|
Richard Davey
|
1d0b5cc6a9
|
Added Size component
|
2020-09-16 17:15:37 +01:00 |
|
Richard Davey
|
a38166ce2b
|
Now allows a texture per model, not mesh
|
2020-09-16 16:39:06 +01:00 |
|
Richard Davey
|
851775ae19
|
New MeshCamera class
|
2020-09-16 16:38:39 +01:00 |
|
Richard Davey
|
8ff008b740
|
Removed un-used components, refactored method names and added MeshCamera
|
2020-09-16 16:38:32 +01:00 |
|
Richard Davey
|
da6a300474
|
Iterates and renders the new models array
|
2020-09-16 13:51:39 +01:00 |
|
Richard Davey
|
4f7442ee96
|
Moving all dependencies to the Model object
|
2020-09-16 13:51:30 +01:00 |
|
Richard Davey
|
a96d380933
|
Created new Geom.Mesh namespace for all of the Mesh related functions and classes
|
2020-09-16 13:50:36 +01:00 |
|
Richard Davey
|
45412157c2
|
Added JSDocs
|
2020-09-16 09:50:24 +01:00 |
|
Richard Davey
|
b74928b2f8
|
Added hideCCW , addOBJ , addModel , sortByDepth , rotateX , rotateY , rotateZ , depthSort , addVertex and addFace methods.
|
2020-09-15 18:09:19 +01:00 |
|
Richard Davey
|
431eb69b42
|
Much cleaner rendering function, skipping invalid faces
|
2020-09-15 18:07:51 +01:00 |
|
Richard Davey
|
3e133c900a
|
New method signature order
|
2020-09-15 18:07:24 +01:00 |
|
Richard Davey
|
a2a199818e
|
Added contains and isCounterClockwise methods and depth property
|
2020-09-15 18:07:14 +01:00 |
|
Richard Davey
|
229d27dc9e
|
Updated docs and added load method
|
2020-09-15 18:06:48 +01:00 |
|
Richard Davey
|
d8a8aa8448
|
Added clearVertices and renamed to addVertices so you can append on more verts post-creation
|
2020-09-15 11:57:44 +01:00 |
|