Rathma
|
8d42c84e1a
|
Added 3x the number of tangents we actually needed
|
2020-12-14 03:25:28 -05:00 |
|
Rathma
|
fdc14fcd87
|
Switched tangents to on by default & changed to a passed value to the
bake method rather than being a property of the voxel
|
2020-11-11 21:58:50 -05:00 |
|
Rathma
|
c9c85ec7cd
|
Tangent baking now optional by toggling in editor under VoxelLibrary
|
2020-11-09 20:45:56 -05:00 |
|
Rathma
|
c068ad7455
|
Forgot to clear some tangents in the BakedData class.
|
2020-11-09 19:51:21 -05:00 |
|
Rathma
|
fd07f76586
|
Changed real_t => float for all tangent related variables(for real this time)
|
2020-11-09 01:07:59 -05:00 |
|
Rathma
|
08974daf56
|
Changed real_t => float for all tangent related variables
|
2020-11-09 01:03:07 -05:00 |
|
Rathma
|
3aeca4639f
|
Switched to deterministic look-up table for cube uvs.
Changed code to snake case
Changed PoolArrays from real_t to float
Removed tangents from colored cube generator
|
2020-11-09 00:45:49 -05:00 |
|
Rathma
|
04aaeab615
|
Somehow missed I redefined a variable on a local build.
|
2020-11-08 21:43:42 -05:00 |
|
Rathma
|
a887fb12f5
|
Added a few comments, fixed an indexing and logic mistake.
Also the visual glitch I referred to in my last comment was pre-existing
or user-error it appears.
|
2020-11-08 21:31:16 -05:00 |
|
Rathma
|
fff1ee5f83
|
Added normal mapping to blocky & cube meshers by implementing tangent
calculations in the meshers. This caused a visual bug in the blocky
mesher that needs to be ironed out.
|
2020-11-08 09:43:18 -05:00 |
|
Tom Daffin
|
17a7674316
|
Fix bindings so that generate-mono-glue for C# bindings works
|
2020-11-07 08:02:27 -07:00 |
|
Marc Gilleron
|
bb549198f6
|
Replaced Voxel.transparent with a transparency_index for more control over face culling
|
2020-10-25 16:59:19 +00:00 |
|
Marc Gilleron
|
6c80da0425
|
Moved VoxelBuffer and VoxelMemoryPool under storage/ directory
|
2020-09-14 19:33:02 +01:00 |
|
Marc Gilleron
|
944128463a
|
Fix GCC warnings
|
2020-09-13 02:36:06 +01:00 |
|
Marc Gilleron
|
7064f6e471
|
Color palette support in .vox loader and Cubes mesher
|
2020-09-13 02:17:11 +01:00 |
|
Marc Gilleron
|
b4ffd702b2
|
Forgot one
|
2020-09-11 20:50:26 +01:00 |
|
Marc Gilleron
|
d5c22842b5
|
Fix unsigned warnings, again
|
2020-09-11 20:08:52 +01:00 |
|
Marc Gilleron
|
b8cd7fe8c4
|
Fix unsigned warnings
|
2020-09-11 19:59:53 +01:00 |
|
Marc Gilleron
|
79d73e3f5a
|
Added cubes mesher with greedy meshing support
|
2020-09-11 00:36:23 +01:00 |
|
Marc Gilleron
|
9ccf16419d
|
Merge branch 'master' into threading_refactor
# Conflicts:
# streams/voxel_block_serializer.cpp
# voxel_buffer.h
|
2020-09-08 21:40:59 +01:00 |
|
Tom Daffin
|
5467caf01d
|
Fix binding of is_empty to allow build with mono
|
2020-09-07 17:17:42 -06:00 |
|
Marc Gilleron
|
fb8a1210e3
|
Comment and formatting
|
2020-09-06 19:59:08 +01:00 |
|
Marc Gilleron
|
107f29c5d3
|
Removed old profiler
|
2020-08-29 23:20:51 +01:00 |
|
Marc Gilleron
|
88e6d83652
|
Comments and formatting
|
2020-08-29 22:58:33 +01:00 |
|
Marc Gilleron
|
d4d2b6fd9e
|
No longer copy voxels before scheduling threaded tasks. VoxelBuffers now have a lock.
|
2020-08-29 22:09:54 +01:00 |
|
Marc Gilleron
|
56c2a0856a
|
Initial integration on VoxelTerrain with static camera, fixed a bunch of things
|
2020-08-25 23:00:38 +01:00 |
|
Marc Gilleron
|
07e91d4892
|
Add some checks
|
2020-08-17 22:27:52 +01:00 |
|
Marc Gilleron
|
27180e11e6
|
Fix cube geometry wrongly considered empty
|
2020-08-13 20:43:34 +01:00 |
|
Marc Gilleron
|
6ed4ef32b7
|
Separated baked data from config data in VoxelLibrary and introduced thread-safety with blocky mesher
|
2020-08-11 23:52:42 +01:00 |
|
Marc Gilleron
|
845fa465b8
|
Put model information within a struct
|
2020-08-11 20:29:27 +01:00 |
|
Marc Gilleron
|
aa2300866d
|
Fix usage of standalone meshers to build meshes from voxels
|
2020-08-04 23:55:40 +01:00 |
|
Marc Gilleron
|
96c4a5bd0b
|
Merge branch 'master' of https://github.com/Zylann/godot_voxel
|
2020-08-02 18:59:24 +01:00 |
|
Marc Gilleron
|
ac3e303818
|
Report script errors a bit better, I hope
|
2020-08-02 18:57:08 +01:00 |
|
menip
|
e64f5f882c
|
Fix warnings
Wparentheses
Wsign-compare
Wreorder
|
2020-08-01 22:03:26 -07:00 |
|
Marc Gilleron
|
61c82078f7
|
Added collision masks to voxel models so they can be filtered fast
|
2020-08-01 22:58:16 +01:00 |
|
Marc Gilleron
|
1310112f25
|
Fix face culling issue with transparent voxels of different IDs
|
2020-07-30 18:00:12 +01:00 |
|
Marc Gilleron
|
905dbee563
|
Explain Voxel ID may not be set again
|
2020-07-30 17:57:48 +01:00 |
|
Marc Gilleron
|
08e328e786
|
Fix voxel name lookup
|
2020-07-28 21:21:23 +01:00 |
|
Marc Gilleron
|
0cdf5ea550
|
Added random tick API for blocky voxels
|
2020-07-28 20:32:33 +01:00 |
|
Marc Gilleron
|
a24b33eca1
|
Formatting
|
2020-07-26 18:44:46 +01:00 |
|
Marc Gilleron
|
e3abe2f7c0
|
Fix crash when custom mesh is empty
|
2020-07-26 18:38:39 +01:00 |
|
Marc Gilleron
|
fd9122a0de
|
Use StringName for voxel names
|
2020-07-26 18:37:34 +01:00 |
|
Marc Gilleron
|
f9e2d9cc12
|
Stop using NULL
|
2020-07-25 23:19:08 +01:00 |
|
Marc Gilleron
|
1a08cd31d6
|
Use a macro to print debug stuff only in verbose mode
|
2020-07-08 20:48:52 +01:00 |
|
Marc Gilleron
|
e96677622a
|
Fix Voxel erroring when set an ID larger than 255
|
2020-07-08 19:57:04 +01:00 |
|
Marc Gilleron
|
800febfab6
|
Implement duplicate() on Voxel
|
2020-05-08 17:57:00 +01:00 |
|
Cory Petkovsek
|
d407d6201a
|
Fix build warnings on other platforms
|
2020-04-03 20:46:29 +08:00 |
|
Marc Gilleron
|
9f7a081dd4
|
Non-cube voxels don't contribute to AO for now
|
2020-02-23 01:29:32 +00:00 |
|
Marc Gilleron
|
f5001fdc07
|
Merge branch 'master' into custom_blocky_mesh
# Conflicts:
# util/array_slice.h
|
2020-02-22 22:55:50 +00:00 |
|
Cory Petkovsek
|
40e3fdc878
|
Adjust PR
|
2020-02-15 04:09:31 +08:00 |
|