reposbox-voxelscancel

157 Commits over 424 Days - 0.02cph!

3 Years Ago
Fix compile error
3 Years Ago
Change Set/GetHealth to Set/GetBlockDamage and update in BlockState
3 Years Ago
Fixup bit shifting for damage
3 Years Ago
Only pass what we need
3 Years Ago
Remove log and update texture 3d test (probably wrong)
3 Years 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
3 Years Ago
Add BlockState.ShouldTick and BlockState.TickRate let states decide if they do anything
3 Years Ago
Just only send the dirty ones that have a valid state still
3 Years 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
3 Years Ago
Added VoxelWorld.GetBlockType<T>() for ease
3 Years Ago
Add distance params and condition param to SetBlock and GetBlock methods
3 Years 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.
3 Years Ago
Don't log out empty biomes
3 Years 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)
3 Years Ago
Add a warning if trying to deserialize a block state outside of the world bounds
3 Years Ago
Fixed ToSourceBBox method
3 Years Ago
Add NetworkIdent to ISourceEntity
3 Years Ago
Better name for spawn positions
3 Years Ago
Add WorldSpaceBounds to ISourceEntity interface
3 Years Ago
Have ISourceEntity extend IValid
3 Years Ago
Added ISourceEntity.Transform
3 Years Ago
Allow customizing center properties on ToSourcePositionCenter
3 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
3 Years Ago
Properly clean up worlds and chunks when destroyed. Properly send and refresh worlds when changed on clients.
3 Years Ago
Fix stupidity
3 Years Ago
Restore lost changes
3 Years Ago
Empty Biome
3 Years Ago
Added VoxelWorld.SaveToFile and VoxelWorld.LoadFromFile
3 Years Ago
Added VoxelWorld.GlobalOpacity
3 Years Ago
Added ability to SetState and create a copy of a BlockState
3 Years Ago
Ensure affected neighbours have a full update queued when updating lighting
3 Years Ago
Fixed not being able to change blocks if they aren't air. Use GameTask.Yield.
3 Years Ago
Rename to GetPositionsInBox
3 Years Ago
Added VoxelWorld.GetBlocksInBox
3 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
3 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)
3 Years Ago
A little better maybe but still screwed. May need a general re-think.
3 Years Ago
Stash
3 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
3 Years Ago
Potential progress?
3 Years Ago
Simplification test
3 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.
3 Years Ago
Rename Block Data to Block State Added LiquidBlock Refactor and add queued ticks system
3 Years Ago
Adjust starting time of day and sunlight
3 Years Ago
Adjust time of day speed
3 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
3 Years Ago
Water flow experiment but it's slow and sucks, stash it
3 Years Ago
Use correct material when creating render layer
3 Years Ago
Added ChunkRenderLayer. Added BlockType.UseTransparency. Added Translucent, AlphaTest and Opaque render layers for chunks.
3 Years Ago
Add BlockType.BlockId