Commit Graph

595 Commits (b26fd944a8b65047a6226dd6b6be4c6907495879)

Author SHA1 Message Date
Nathan e045c0f350 Generate a collision mesh for each surface 2020-04-28 21:50:37 -07:00
Thor Correia 3e79f5e7e7 added raycast case for integer positions 2020-04-24 13:30:44 -07:00
Marc Gilleron f73e566535 Added smoothstep 2020-04-05 19:53:07 +01:00
Marc 1521f0d940
Merge pull request #132 from tinmanjuggernaut/fix_warnings
Fix build warnings on other platforms
2020-04-03 14:02:58 +01:00
Cory Petkovsek d407d6201a Fix build warnings on other platforms 2020-04-03 20:46:29 +08:00
Marc Gilleron 9ce0ded22e Added a bunch of operation types, untested 2020-03-20 00:21:09 +00:00
Marc Gilleron 4176894383 Editable default inputs 2020-03-08 19:23:48 +00:00
Marc Gilleron d1f00537d5 Parameters are editable (not default inputs, need to do them after) 2020-03-08 00:46:55 +00:00
Marc Gilleron ba612187fb Fix node dragging, made it undoable 2020-03-07 02:18:36 +00:00
Marc Gilleron 43b99975f3 Loading and saving of voxel graphs 2020-03-07 01:34:30 +00:00
Marc Gilleron fab3e791d8 Implement undo/redo, which also marks the resource as modified 2020-03-03 00:19:25 +00:00
Marc Gilleron 81909567be Implemented add, remove, connect and disconnect nodes from editor 2020-03-02 00:15:54 +00:00
Marc Gilleron e7c720ceeb Added barebones editor plugin to edit VoxelGeneratorGraph (does nothing for now) 2020-03-01 18:12:16 +00:00
Marc Gilleron a3b623ad3d Optimize parts of the graph that only depend on X and Z, so they run in the outer loop 2020-02-29 22:35:55 +00:00
Marc Gilleron a3b64c3983 A bit of reorganization:
- Merged VoxelGeneratorGraph::Node into ProgramGraph::Node
- Separated compilation and execution to its own class
2020-02-29 00:17:47 +00:00
Marc Gilleron dcc53d9351 Added can_connect() and get_node_type_id() 2020-02-27 00:17:15 +00:00
Marc Gilleron 5aa7c4cbd6 Fix missing data in node type info dict 2020-02-26 22:26:22 +00:00
Marc Gilleron 815954bc03 Added graph edition methods and exposed to script API 2020-02-24 23:03:41 +00:00
Marc Gilleron dbca01de59 Implemented more accurate noise range detection, moved range utils to their own file 2020-02-24 19:32:18 +00:00
Marc Gilleron de3707ab6b Put some Interval functions in the same space as regular functions 2020-02-23 21:46:09 +00:00
Marc Gilleron f785589ebe Implemented DFS in ProgramGraph, I might need it later 2020-02-23 21:05:04 +00:00
Marc Gilleron f4a5b36fe9 Moved node DB to its own file 2020-02-23 19:08:14 +00:00
Marc Gilleron c87dc49046 Implemented duplicate() 2020-02-23 02:50:04 +00:00
Marc Gilleron 3a579dfb3e Merge branch 'master' into voxel_gen_graph 2020-02-23 01:57:14 +00: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
Marc Gilleron 927f7c4e3f Moved interval.h to the math/ folder 2020-02-22 22:52:19 +00:00
Marc Gilleron 07905ba580 Renamed `evaluate` in ProgramGraph to a more descriptive name 2020-02-22 22:45:22 +00:00
Marc Gilleron 60fb709c1c Added range analyzis to automatically find when a block will be uniform 2020-02-22 22:11:07 +00:00
Marc Gilleron 258b211560 Fix box bounds going off charts 2020-02-21 20:27:18 +00:00
Marc Gilleron f0a8d7e169 Update inspector when bound type is changed 2020-02-21 20:26:39 +00:00
Marc Gilleron ce2b50fe1e Added boundaries to avoid computing the graph in blocks it doesn't need to run 2020-02-21 00:08:26 +00:00
Marc Gilleron af09121c9f Fixed a bunch of things 2020-02-19 21:59:41 +00:00
Marc Gilleron 258a1bc671 Update docs after VoxelGeneratorTest split 2020-02-19 19:38:44 +00:00
Marc Gilleron 775be21fa4 Removed redundant channel properties 2020-02-19 19:31:37 +00:00
Marc Gilleron 515751a3e6 WIP VoxelGeneratorGraph, compiled and untested 2020-02-19 19:26:14 +00:00
Marc Gilleron e3e24082af Merge branch 'master' of https://github.com/Zylann/godot_voxel 2020-02-18 19:04:13 +00:00
Marc Gilleron c33f46a437 Split VoxelGeneratorTest into VoxelGeneratorWaves and VoxelGeneratorFlat 2020-02-17 22:05:16 +00:00
Marc 488ea32ee1
Merge pull request #126 from tinmanjuggernaut/fix_docs
Fix doc links
2020-02-17 13:46:44 +00:00
Cory Petkovsek da1931c7fa Fix doc links 2020-02-17 14:10:08 +08:00
Marc 307a0e0e36
Line breaks 2020-02-16 22:25:36 +00:00
Marc Gilleron b8ee140a89 Added document about the format used in region files 2020-02-16 22:24:29 +00:00
Marc 379bc49301
Merge pull request #118 from tinmanjuggernaut/detect_channel
VT/VLT Detect channel
2020-02-16 22:19:55 +00:00
Cory Petkovsek 63514efd76 Update pr 2020-02-16 23:07:10 +08:00
Cory Petkovsek 1a251a3c63 VT/VLT Detect channel type from generators. Other convenience features. 2020-02-16 22:13:28 +08:00
Marc 5925196d3e
Merge pull request #120 from tinmanjuggernaut/fix_gcc_warnings
Fix gcc warnings
2020-02-15 16:41:02 +00:00
Marc db98d5865d
Merge branch 'master' into fix_gcc_warnings 2020-02-15 16:40:32 +00:00
Marc Gilleron 17e3651d0e Fix release compilation 2020-02-15 16:37:23 +00:00
Cory Petkovsek 40e3fdc878 Adjust PR 2020-02-15 04:09:31 +08:00
Cory Petkovsek 24841e9a18 fix gcc warnings 2020-02-13 21:49:11 +08:00