reposboxcancel

23,059 Commits over 1,673 Days - 0.57cph!

10 Months Ago
PhysicsWorld.CollisionRules Refactor - Project Settings Small Network Files Support (#1604) * Add PhysicsWorld.CollisionRules getter. Delete ServerConfig. Update collision rules json on world if hash changes before physics step. Project Settings (.config) are networked via Small Network Files - can react to changes * Do GetHashCode this way * Initialize CollisionRules * Handle small network files from different file systems this way? * Fix * Fix documentation * Reset config files * Kind of genericize SmallNetworkFiles - push / add / remove files from it externally - mount its MemoryFileSystem externally as well to desired file system * Fix - but obviously it can't be done this way it's absolutely awful * Add all files from network when mounting on client side * Method name update * Remove some duplication * Cleanup * Fix inverted condition * Unnecessary arg * ToHashCode * ReadWithFallback will return new T() if package is null too * Store CollisionRules from Project Settings in ProjectSettings static class - update it when project settings change. Physics worlds using this reference should update automatically * Call ProjectSettings.Reset in ResetEnvironment * Clean up * Swap these
10 Months Ago
Remove convolve_environment_map.shader from shader ci
10 Months Ago
Animgraph: Log anim error when single frame node doesn't have a valid sequence
10 Months Ago
Fix World.AmbientLight, make flat ambient light lerp between IBL and what we have, make it artist accessible with ambientlight component Delete these skybox vtexes
10 Months Ago
Scene view: Fix splitter state not restoring correctly, Add top/bottom layouts Facepunch/sbox-issues#5676
10 Months Ago
Separate Ambient Light into it's own component from Directional Light, add upgrader for it Use black cube if texture passed to lightbinner is invalid (eg non-sky material from SceneSkybox )
10 Months Ago
Emit events
10 Months Ago
Fix NRE when setting border size to a %
10 Months Ago
Component editor Added type definition records Property, Method emitting
10 Months Ago
Compiler.Watch: ignore /obj/
10 Months Ago
Trace changes to watched source locations Facepunch/sbox-issues#262 Facepunch/sbox-issues#5683
10 Months Ago
whoops a log
10 Months Ago
Set grid axis to XY plane when going into a 3d scene view
10 Months Ago
Add scene camera FOV to editor prefs window
10 Months Ago
Move from SteamVR over to Facepunch.XR Remove direct OpenXR bindings Pass debug callback to Facepunch.XR, make a session Move OpenXR requirements into Facepunch.XR Requirements are done automatically now, make instance/device extension format consistent Hack around extension-related crash for now Events Pass vulkan-related stuff in as structure Fetch rendering recommendations from fpxr Remove silly hack hard-coding all our extensions, fetch them properly Bind fpxr compositor and add everything we should need to start submitting FPXR: Session now handled by Compositor, Instance is now a class Delete all OpenVR files & references, stub out anything that required them Initial FPXR presentation logic Fetch display info from compositor Submit texture, render loop, etc. Use Facepunch.XR provided logging levels Pass bounds to texture submit info Default IPD (for testing with null driver) Facepunch.XR works out bounds for us, gives us full render target size separately from eye render target size Do BeginFrame() and EndFrame() on render thread Native to managed bindings cleanup, sync manually Sync cleanup, fpxr update Update fpxr FPXR returns error codes for various functions now, doesn't use builder pattern for instances FPXR enum update Initial XR input support Port SteamVR actions over to Facepunch.XR format, update fpxr lib Clean up When fetching extensions, check if we want to initialise rather than if we have initialised Clean up structs Digital, float, vector2 input state fetching DigitalAction -> BooleanAction, strip down input stuff, remove unnecessary refresh rate calculations Strip down input stuff, we can just do everything by path New actions manifest format FPXR update, new actions manifest path format, temporarily remove knuckles bindings Remove references to menu chord We don't have to worry about action sets right now Store controller bindings in separate files Rebase fixes Use input sources for controller differentiation Fetch controller poses (position & orientation) InputSource as enum, only include public fpxr headers Coordinate system fixes Remove openvr_api.lib dep, unused preprocessor definitions Facepunch.XR update Add openxr_loader pdb and dll Forgot to change these, oops Refactor VR input to work better for us, remove stubs Minor cleanup & fpxr update Fetch view info Use fpxr.h instead of old fpxr_public.h Remove unused native -> managed GetHmdMatrix function Implement world scale, tracked object list Only init with a debug messenger if launched with -vrdebug, remove some unused stuff Go through VR performance stats, obsolete everything we can't fetch (not sure there's much point keeping this at this stage 😅) Implement functions for Facepunch.XR get instance properties `vr_info` concommand cleanup, uses tracked objects from Input.VR Remove refs to obsolete VR performance stats Projection matrix calculation tweaks - need to figure out why we're getting squares (most likely incorrect frustum) Calculate our own proj matrix from scratch No more WaitGetPoses Input cleanup Vibrations fpxr update Obsolete VROverlay / VROverlayPanel (openxr has no direct concept) - we could re-implement these ourselves at a later date if we want to Re-implement or remove stubbed functions FPXR update Convert tracked object positions to world Delete SteamVR bindings and actions Valve knuckles bindings Update Facepunch.XR library
10 Months Ago
Convert tracked object positions to world Delete SteamVR bindings and actions Valve knuckles bindings Update Facepunch.XR library
10 Months Ago
No more WaitGetPoses Input cleanup Vibrations fpxr update Obsolete VROverlay / VROverlayPanel (openxr has no direct concept) - we could re-implement these ourselves at a later date if we want to Re-implement or remove stubbed functions FPXR update
10 Months Ago
Fix CSceneSystem::DownsampleTexture trying to make a 0 width/height mip
10 Months Ago
Add SceneCamera.ToWorld Do GizmoInstance ortho zoom around cursor, resolves Facepunch/sbox-issues#5674
10 Months Ago
Component editor Added type definition records WIP
10 Months Ago
Fixed ALT glyph having the wrong path, fixes Facepunch/sbox-issues#5622
10 Months Ago
Restore Show Gizmos (Shift+G), Toggle Grid (Ctrl+G) shortcuts
10 Months Ago
Yoga3 * Latest version (fixes, additions) * No longer relies on thirdparty facebook.yoga.dll * Uses our interop system (faster) * Much cleaner implementation
10 Months Ago
Recreate joint on body object change
10 Months Ago
Remove yoga from vpc groups
10 Months Ago
Update to yoga 3, embed in engine vpc fixes Remove Facebook.Yoga Convert style setters Bug fixes Add tests It's important to yoga to be fp:precise because it uses nan Measure functions Restore to previous defaults Fix package card style (now position: absolute is fixed) Consolidate enums Support for `align-content: space-evenly`
10 Months Ago
Consolidate enums Support for `align-content: space-evenly`
10 Months Ago
Measure functions Restore to previous defaults Fix package card style (now position: absolute is fixed)
10 Months Ago
Use a mass weighted global anchor for fixed joints, fixes welded ragdolls exploding. Add frequency and damping properties to fixed joint, set to sensible defaults so welded objects can't be pushed through collision as easily https://files.facepunch.com/layla/1b1911b1/sbox-dev_5YLdMnHrJJ.mp4
10 Months Ago
Add tests It's important to yoga to be fp:precise because it uses nan
10 Months Ago
Add ModelPhysics.MotionEnabled - Enable to drive renderer from physics, disable to drive physics from renderer https://files.facepunch.com/layla/1b1911b1/sbox-dev_nyGhlgasUl.mp4
10 Months Ago
Skinned renderer builds bone hierarchy before scene model is created
10 Months Ago
Joint goes up the bone hierarchy to find a physics bone (ex: leg_glute_helper_L will use physics bone leg_lower_L) this should simplify when we have a better relationship between bones and physics
10 Months Ago
Calculate our own proj matrix from scratch
10 Months Ago
Add scene viewport view mode option
10 Months Ago
Add facepunch.hc1 to tests Restore obsolete Gizmo.HitBox.Model function signature to maintain compatibility
10 Months Ago
Bug fixes
10 Months Ago
Update to yoga 3, embed in engine vpc fixes Remove Facebook.Yoga Convert style setters
10 Months Ago
Remove refs to obsolete VR performance stats Projection matrix calculation tweaks - need to figure out why we're getting squares (most likely incorrect frustum)
10 Months Ago
add support for multiple scene views, orthographic scene views, and configurable grid axis add keybind to cycle camera plane around selection refactor bits into SceneEditorViewport, re/store gizmo settings alongside viewport cookie rework to single layout and splitter, disable new tab creation for now add support for per-widget toolbar actions save/restore sceneview layout move viewport/instance gizmo settings to EditorCookie from ProjectCookie move save/restore viewport cookies to addon space no reason to copy+set camera transform anymore use active SceneOverlayWidget directly use a single toolmanager instance fix nudging remove some global gizmoinstance refs tuck camera alignment shortcuts away in camera menu maintain layout config when toggling viewport fullscreen remove log camera fixes: make orthographic clipping more predictable, add smooth(er) perspective/ortho transitions, fix gizmotest widget, reenable scene camera copy add setting to lock scene camera rotation fix incorrectly sized gizmo hitboxes in ortho view replace remaining direct scene camera transform accessors tweak sprite gizmo hitbox scale in ortho views cleanup scene tick/draw flow with multiple viewports replace legacy global GizmoInstance snip unneeded multi-tab leftovers use state/gizmo settings for scene view control replace remaining ray length with Gizmo.RayDepth don't try to save scene-specific viewport config for untitled scenes use alternate check for IsUnderMouse move viewport settings to ViewportState from GizmoSettings, use shared gizmo settings for all viewports shift camera settings to EditorPreferences, simplify viewport options restore single EditorScene gizmo settings revert camera extension changes, fix pan and orbit zoom, tidy use hammer's linked splitters for uniform viewport resizing Misc fixes Move EnablePostProcessing from GizmoSettings to ViewportState Default each viewport to a unique perspective Misc post-scenetab fixes Hide skybox in 2d views Split scene view layout/viewport classes into separate files Tidy Use frustum RayDepth for terrain, hitbox traces Make 2d clipping less crap Use black background for 2d views We don't need to do this anymore Fix perpendicular rotation handles being unusable in ortho views Fix 2d box selection: Frustum.FromCorners does ortho properly, gizmo tweaks Use correct gizmo settings for dragdrop Use correct plane for 2d view drag drop Prevent map cookie from overriding 2d viewmode rotation Draw grid on top in 2d views Merge branch 'master' into hackweek-multi-scene-view Add Widget.GetAncestor<T> Move Grid, Scene toolbars to header bar, remove SceneViewToolbar Fix warnings HeaderBar switch layout Tweak viewport menu, so you can see the checkboxes Merge pull request #1582 from Facepunch/hackweek-multi-scene-view Multi-viewport and Ortho Scene views
10 Months Ago
Use fpxr.h instead of old fpxr_public.h Remove unused native -> managed GetHmdMatrix function Implement world scale, tracked object list Only init with a debug messenger if launched with -vrdebug, remove some unused stuff Go through VR performance stats, obsolete everything we can't fetch (not sure there's much point keeping this at this stage 😅) Implement functions for Facepunch.XR get instance properties `vr_info` concommand cleanup, uses tracked objects from Input.VR
10 Months Ago
HeaderBar switch layout Tweak viewport menu, so you can see the checkboxes
10 Months Ago
Component editor
10 Months Ago
Fix warnings
10 Months Ago
Add Widget.GetAncestor<T> Move Grid, Scene toolbars to header bar, remove SceneViewToolbar
10 Months Ago
Component editor
10 Months Ago
▄█▅'▋ ▍▅▇▄▊▌ ▊▉██ ▄▋▄▄▄▉ ▇▆▇ ▍▉▍▇▅ ▆▉█▊▋█ ▉▊▌█ ▇ █▆▌▄▆▍, ▍▉█▌ ▄▆▄▅▇ ▊▌▄▅ ▅▄▌ ▅▋▄ ▇▍▌▄ ▍█▍▊▋▉▇▉▆▅▍▊: ▇▌▆▅▆█▉▇▌▋▉▊▆▆▉▅▅ ▍▌▄▄▉▉ █▅▊▆▉▄▅▉, ▍▆█▊▍▌▉▋▍ ▇█'▅ ▅.▌▇▇ █▄▆█▆ ▇▌▉▌▇ (▌▄▊▅ ▄▇▊▅ ▊█▋ ▉▉▆▉▆▌▋▊) ▇▇▉ ▋▆▌█▌ ▋▇ ▉▇▌▋ ▊▄ ▉▅▋ ▆▄▉▄▆▍▉▌█▍▍ ▄█ ▅▍▉▄ ▆▆ ▇ ▇▉▉▍▋▄▄▍▋ ▍▅▍▅▅. ▉▉▌▆▇▌▋▍ ▄▌▋▇▅▅▌▆▉/▋▆▋█-▊▉▉▇▅▌#▊▄█▋ ▍▌▇▊█▋▋▌█ ▊▇▉▋▆█▍▍ ▄▉▇▇▊▇▊▌ ▍▆▍▅▍▄▌▊▄ ▌█▋▉██▌▍ ▌▅▄▅▌▇▌▆▍/▊▉▄█-▇▉▊▋██#▌▊█▉ █▍▊▇▍▅▇▉▄ ▉█▌▅▉▋▅▍▄▍▄█▇▉▊ █▍▄▋▍▄▍▆ ▇▊▊▆▅▍▍▄▉/▄██▍-█▇▅▄▇█#▋▊█▄ ▅▇▄ [▍▄▅▊▉( ▄, ... )] ▊▆ █▉▍▉▍▄.▄▍█▇▍ ▄▋▍ ▉▍▋▊▉▅.▉▍▉▉, ▌▅▄▍▌▍ █▇▌▊. ▄▌▅▉ ▇ █▊▋▄▋▅ ▆.▆▍ █▅▍▍ ▉█▋█▄ █▊▌▄▅▄█ ▌▉▆▄ ▍▋▋▅▇▄ ▉ ▌▍▌▇▊▌▅█ ▋▄▉▋█ ▍▉▋ ▋▌▉█▉▊▉▌▉▄▆.▍▋▇▋▊█▍▍▉▆▄▄▍▍ ▊▇ ▇▇▌▋ ▅▇▍▄▆ ▋ ▊▍▅▇▍▌ ▉▊ ▅▋█▇▍▇▉▄▄ ▉▊▌ ▉▉▍▇▆▉▋ ▆▅▊▋ ▇█▌ ▌▍▋▆▆▆█▇▋▌▌▄▇ ▉▆▄▇▇▇█▅▅▍▌▅█: ▄▇██▍▅ ▍▅█▉▆▌▆█▇▆▋ ▄█▆▅▆, ▄▄ ▇█▍▍ ▊▋▍ ▌▄▌▆▅▌▆ ▌▋▄▆▄▊ ▋█▄▍▅▌▇▌█ ▍▆▋ ▆█▅ ▉▅▍█ ▊▉█▋█ ▆▅██▆▊▅ ▍▅█▆▌▇▄▌▋█▄▇▅.▊█▍█▅▆▉▅▋█▄ ▇▋▊▊▍█▌▊ ▌▋▇▊▌▅▇▆▅▄▋▆▉▄▉▋▌▆▄.▇▍▄▍() - ▅▋▇ ▍▄▊▇▍▇ ▉█ ▉█ ▇.▋▅▇▋ ▍█▄▄ ▅▉▆▆▌▌ ▊█▉▊▋ ▌▅▌█▅▆▊▋▅█▋ ▄▉▅█▄▅▋▉▄ ▉▌ ▄▊'▌▊ ▋▋█ ▆▌▄▋▋▉ ▅▍ ▊▅▉▇ ▊▍▊█ █▋▅█▌▉▋ ▍▊▅▍▅ ▆▊▉█ ! ▌▇▍▉▊▆ ▋▉▇▄█▊▄▊▌ ▍▇▅▇▌▊▇▉▊▅▄▅▉▉▍, ▋▄▉'▄ ▉▇▄▅ ▋▆▄ ▉▄▌▄▄ ▍▄ ▆▄▋▄ ▆▊▌ █▋▆ ▇▊▅▅▍▇▇ █▄▄▅ ▉▌▆█▅ ▌▄ ▆▋▊ ▄▅▅▆ ▉▆▊▋▍ ▅▄▉▋▋▅ ▄▌▉▋▉▉▄ ▌▌▋▅█▊▅▌ ▋▆▄▉▇▉▄ ▌█▅▊▋ ▅▌▅▍▄ ▉▇▄ ▍█▉▆ ▄▄▆▆▉▇▋ ▍▊ ▄▇▋▉▆ █▉▄▄▅▉ ▌▌ ▍▄▋▋▄▍▇▄▌▇▊▌▉▇▆▋▇ ▅▇▊▄▄█ - ▇█▌▅▋ ▍▍▇▍ ▇▅▄▆▉▋▆ ▌▊▉ ▆▄▅▊▊▅ ▇▇▊▄▆ ▅▌▌▉▇▆▅▌▊ ▄▍▍ ▊█▇▆ ▄▆▉▌▉▄ █▌ █▆▌▅▍█ ▊▆ ▇▋▆▇▆▋ ▅▉▅▍▍█▆▅ ▉▅▇▌▆ ▄▅▆▊▄▇▄▄ ▅█▍ ▌▆█▋▊▌▆▍▄ ▆▄▄▊ ▉▅▍ ▉▇▋▋▌▄▅▉▄▄▅▅▄▅▊▍ ▅▅▅▋ ▄▉█▊▌▇▌ ▍▄ ▅▉▄▍▇█▋█▋▅▋ ▄▌▊▉▋▄▍▌▊ ▄▌▉ █▇▌▄ ▌▄▌█▅▅▉ ▍▉▅ ▆▊▋▌▉ █▍▇▊▆▍▌, ▍▌▇'▄ ▇▍▆▍ ▉▉██ ▍█▌▊▉ ▍▇▊▍ ▊▌▇ ▄▋▉█▉▅▊▊▅▍▅ ▄▄▅▋▉▋▊▉▊ ▅▇▍ ▅▉▇ ▋▋▍▆▍ ▇▍ ▄▄▉█▋▇█▌▌▆▍▆▌▉ █▅ ▋▍▇▄▅ ▆▋▌'█ ▍▆▇▍ ▋▌ ▄▋▄ ▄▄▆ ▅▄▆▄▌▆▄ ▍▌▊▋▇ ▊▅▇▉▆▌▌▆▋ ▄▌▅ ▄▍▅█ ▌▉▌▉▇▍▉ ▍▅▍▇ ▍▊ ▌▉▆▉ ▄▇▉▉▉█▆ ▆▌▉▅▅://▄▄▌▅▊.▅▆▌▅▍▊▊█▇.▇█▌/▊▌█▉▊/▄▉▉▍▇▄▉▇/▉▇█▋-▅▍█_▋▄▋▆█▇▄▊▍▄.▆▅▋ ▇▅▊▊▊ █▍▆▉▋▌ '▆▆▌█▇▅' ▋▆▇▍ ▄▉▄▅▄▇▄▍-▊▌▅▌▋-▍▇▊▋▄-▊▄▆▅
10 Months Ago
Joint component can find physics body on bone objects https://files.facepunch.com/layla/1b1811b1/sbox-dev_dmPchGQpY7.mp4
10 Months Ago
Add try catch to OnCreateObject so users can't fuck up the map loading
10 Months Ago
Fix ObjectEntry transform