userJames Kingcancel
branchsbox-sdf/maincancel

121 Commits over 549 Days - 0.01cph!

1 Year Ago
Tangent / normal fix
1 Year Ago
libpolygon API change
1 Year Ago
New libpolygon API
1 Year Ago
Some initial work for 2D edge styles 2D: smooth cut face normals across chunk boundaries First pass at edge styles Might need to rethink this, large edge radii cause problems Regenerate SDF meshes on resource change 2D: Get rid of inset bias for rounded / bevel edges 2D: Rewriting mesh gen to be edge loop based Identify positive vs negative edge loops Find which positive loop contains each negative loop PolygonMeshBuilder Formatting Refactoring, skeleton of new 2D meshing strategy CutMeshWriter Chunk mesh clipping .addon to .sbproj New mesh writer almost working Fixed rounded edges, dodgy clip fix Bug fixes Fixes Another fix More fixes, UVs for cut faces Small fixes Keep layer width consistent New polygon closing method More consistent position sorting for sweeps Another fix Debugging A bit more stable Refactor, stability Non-reflex angles can split Allow merges in either direction Trying to find isolated polys is buggy, just do them all together Slight optimization Collision mesh generation Remove debug Some cleanup WIP add vertices to limit smooth normal blend distance Fixed off-by-one halving max bevel width Moved PolygonMeshBuilder to its own package Remove debug again
1 Year Ago
Fixed deleted SdfWorlds not deleting chunk SceneObjects (#12)
1 Year Ago
Better exception handling during modify chunks (#8) Fixed clearing race condition (#8)
1 Year Ago
Fix dropped modification warning on clear Some thread safety on transform update Got rid of some vestigial code
1 Year Ago
Clients request missing modifications, server sends heartbeat messages Fixes #5
1 Year Ago
Fixed waiting for main thread between modifications, fixes #6 Some safety when clearing, #7 seems fixed
1 Year Ago
Update README.md
1 Year Ago
Inject settings page to spawn menu on activate Early out for BiasedSdf3D.SampleRangeAsync Basic blob tool settings page
1 Year Ago
Use object-space normals for triplanar shaders
1 Year Ago
Refactor using GameTask.WorkerThread() Small cleanup
1 Year Ago
TextureSdf: send path instead of resource ID for now 2D SDF quality preset tweaks Send more SDF updates per message Working on letting chunks process batches of updates in parallel
1 Year Ago
Triplanar shader now uses object space Allow changing the transform of an SdfWorld again Fixed SdfWorld.ClearAsync()
1 Year Ago
Implemented SdfWorld.ClearAsync()
1 Year Ago
Just mark old synchronous API as obsolete Fixed race condition in Sdf2DArray.WriteTo( writer ) Some cleanup
1 Year Ago
Fixed some mesh updates not happening until the next modification
1 Year Ago
Async refactor Fixed dodgy rebase
1 Year Ago
Quality tweaks for performance
1 Year Ago
WIP make ISdf3D net read / writable SDF net writing refactor, support for ISdf2D SDF modification list networking Chunks are no longer entities New networking seems to work! Server-side chunks are only modified if they have collision Build meshes for chunks closest to players first ISdf3D logging Material tweaks WIP reorganize how meshes are updated
1 Year Ago
Replace scorch mask texture
1 Year Ago
Working towards new way of networking 3D SDF worlds
1 Year Ago
ISdf3D.SampleRange now takes a transform instead of BBox Implement ISdf3D.SampleRange for cellular noise 3D SDF name consistency
1 Year Ago
Added Sdf3D.Bias( otherSdf, scale )
1 Year Ago
Added ISdf3D.SampleRange() with a default implementation WIP Cellular noise SDF primitive
1 Year Ago
Max network write rate is higher for 2D chunks
1 Year Ago
Limit chunk update rate over the network Include shader includes in package
1 Year Ago
Updated shaders after Facepunch/sbox#1041
1 Year Ago
Null mesh check in Sdf2DMeshWriter
1 Year Ago
Update README.md
1 Year Ago
Update README.md
1 Year Ago
Update README.md
1 Year Ago
Updated addon tags / descriptions Use 3D white texture as a default for 3D chunks
1 Year Ago
Documented all public members of libsdf
1 Year Ago
Only delete blob tool preview on server
1 Year Ago
Blob tool tweaks
1 Year Ago
Final scorching tweaks
1 Year Ago
WIP 3D scorching
1 Year Ago
Refactored triplanar shader
1 Year Ago
Deleted old marching cubes stuff Added 3D SDF primitives Some 2D refactoring Tabify WorldQuality refactor to support 3D worlds Abstracted out SdfArray from Sdf2DArray Implemented Sdf3DArray Added Sdf3DVolume resource Big abstracting refactor Mining demo renaming SDF materials to layers Sdf3D Array, Chunk, World, stubbed MeshWriter Sdf3DMeshWriter structs and enums Break up MeshWriter classes, basic example for generated 3D cases 3D cases code gen boilerplate First pass at finding edge loops Generate code for adding triangles Fixed degenerate triangles Fleshed out the rest of Sdf3DMeshWriter Flipped triangles Updated blobtool Fixed some bugs with generated vertices Mesh generation is multithreaded again Smoother normals Sdf modification methods are now async Allow synchronous modifications too Some thread safety, including copy samples before generating mesh Use a lower resolution collision volume Limit how much work is done on the main thread each tick Fixed garbled triangles when subtracting Fixed subtract just lasering in a straight line
1 Year Ago
Fixed texture source layers not clearing properly client-side
1 Year Ago
Fixed errors when clearing a world
1 Year Ago
Fixed layer _Params attribute not being set correctly for absent chunks Fixed possible warning on client
1 Year Ago
Some more asset cleanup Updated README.md
1 Year Ago
Layer texture referencing cleanup, example shader has full material control
1 Year Ago
Big refactor, allow passing SDFs as texture attributes between layers
1 Year Ago
Added pivot parameter to TextureSdf constructor #1
1 Year Ago
Fixed crash on deleting an Sdf2DWorld Fixes sboxgame/issues#3276
1 Year Ago
Allow more control over SDF layer quality