reposbox-voxelscancel

157 Commits over 424 Days - 0.02cph!

1 Year Ago
Fix compile error
1 Year Ago
Change Set/GetHealth to Set/GetBlockDamage and update in BlockState
1 Year Ago
Fixup bit shifting for damage
1 Year Ago
Only pass what we need
1 Year Ago
Remove log and update texture 3d test (probably wrong)
1 Year Ago
Add ChunkLightMap.SetHealth / GetHealth and have a seperate PendingData and Data for volume texture updates Add BlockState.OnCreated and BlockState.OnRemoved and update volume texture for health accordingly
1 Year Ago
Add BlockState.ShouldTick and BlockState.TickRate let states decide if they do anything
1 Year Ago
Just only send the dirty ones that have a valid state still
1 Year Ago
Remove dirty block state update if a block is removed Try using BinaryHelper to ensure state updates don't fail if a current block doesn't support that state
1 Year Ago
Added VoxelWorld.GetBlockType<T>() for ease
1 Year Ago
Add distance params and condition param to SetBlock and GetBlock methods
1 Year Ago
Add BinaryHelper to simply some stuff Vastly improve serialization and deserialization of worlds so that if any one component fucks up (such as an entity, or block state) it should not prevent the whole map loading. This is useful because if an entity is later removed, or a block state changes the way it serializes, entire worlds won't be lost. Maybe just switch to JSON in future but files could get super large.
1 Year Ago
Don't log out empty biomes
1 Year Ago
Silently fail and use the air block when no block can be found after loading a map (if that block type was previously deleted)
1 Year Ago
Add a warning if trying to deserialize a block state outside of the world bounds
1 Year Ago
Fixed ToSourceBBox method
1 Year Ago
Add NetworkIdent to ISourceEntity
1 Year Ago
Better name for spawn positions
1 Year Ago
Add WorldSpaceBounds to ISourceEntity interface
2 Years Ago
Have ISourceEntity extend IValid
2 Years Ago
Added ISourceEntity.Transform
2 Years Ago
Allow customizing center properties on ToSourcePositionCenter
2 Years Ago
Add ISourceEntity and SourceEntityAttribute Remove SourceEntityAttribute Serialize and Deserialize ISourceEntity on Voxel World load and save Ensure that ISourceEntity types are deleted when a VoxelWorld is reset
2 Years Ago
Properly clean up worlds and chunks when destroyed. Properly send and refresh worlds when changed on clients.
2 Years Ago
Fix stupidity
2 Years Ago
Restore lost changes
2 Years Ago
Empty Biome
2 Years Ago
Added VoxelWorld.SaveToFile and VoxelWorld.LoadFromFile
2 Years Ago
Added VoxelWorld.GlobalOpacity
2 Years Ago
Added ability to SetState and create a copy of a BlockState
2 Years Ago
Ensure affected neighbours have a full update queued when updating lighting
2 Years Ago
Fixed not being able to change blocks if they aren't air. Use GameTask.Yield.
2 Years Ago
Rename to GetPositionsInBox
2 Years Ago
Added VoxelWorld.GetBlocksInBox
2 Years Ago
Potential progress? Have the lightmap queue a full update when it becomes dirty Update mesh immediately when ready and perform initial torch/sunlight update in thread Stash A little better maybe but still screwed. May need a general re-think. Screw it, just do it all in another thread... slight visual glitch with this though when updating mesh in a thread (to investigate) Merge pull request #1 from Facepunch/light-fixes Light fixes
2 Years Ago
Screw it, just do it all in another thread... slight visual glitch with this though when updating mesh in a thread (to investigate)
2 Years Ago
A little better maybe but still screwed. May need a general re-think.
2 Years Ago
Stash
2 Years Ago
Have the lightmap queue a full update when it becomes dirty Update mesh immediately when ready and perform initial torch/sunlight update in thread
2 Years Ago
Potential progress?
2 Years Ago
Simplification test
2 Years Ago
Added LiquidState. Have each queued tick have its own delay. Add queued ticks to a list(?) then process ready ones into a queue. Sort of kind of maybe somewhat happy with liquid for now.
2 Years Ago
Rename Block Data to Block State Added LiquidBlock Refactor and add queued ticks system
2 Years Ago
Adjust starting time of day and sunlight
2 Years Ago
Adjust time of day speed
2 Years Ago
Added DayCycleController and DayCycleGradient to control time of day in a voxel world Update GlobalBrightness in voxel shader based on day cycle brightness Add VoxelWorld.DayCycle accessor and setup day cycle controller with sensible defaults
2 Years Ago
Water flow experiment but it's slow and sucks, stash it
2 Years Ago
Use correct material when creating render layer
2 Years Ago
Added ChunkRenderLayer. Added BlockType.UseTransparency. Added Translucent, AlphaTest and Opaque render layers for chunks.
2 Years Ago
Add BlockType.BlockId