reposboxcancel

22,475 Commits over 1,614 Days - 0.58cph!

1 Year Ago
Don't add hulls and meshes to aggregate if they fail to build (old data)
1 Year Ago
Native -> managed VR system, call managed WaitGetPoses inside VrPostPresent Render & submit serially + native submit test Use managed VR system checks in some native code
1 Year Ago
Fixed check for if this is first time assembly is enrolled Call TriggerRegisterEvent before OnHotloadSuccess This makes sure that TypeLibrary knows about the new assembly before things like EntityManager.OnHotloaded() get called.
1 Year Ago
Fixed check for if this is first time assembly is enrolled Call TriggerRegisterEvent before OnHotloadSuccess This makes sure that TypeLibrary knows about the new assembly before things like EntityManager.OnHotloaded() get called.
1 Year Ago
Add PhysicsBody.AddShape() which takes a Hull and transforms it
1 Year Ago
Fix leaked resources when CSwapChainDx11 is resized Before: https://files.facepunch.com/matt/1b1711b1/Taskmgr_mvUnDuMcc1.png After: https://files.facepunch.com/matt/1b1711b1/Taskmgr_fd19SDW3Xa.png CSwapChainVulkan also flushes scratch rendertargets on resize
1 Year Ago
New Outfit Piece! - Chef's Skull Cap https://files.facepunch.com/daniel/1b1711b1/R8fCJOhbSd.jpg LODs coming ASAP
1 Year Ago
Add SceneModel.AnimationGraph
1 Year Ago
Don't hit gizmo hitbox if too close FloatControlWidget observes [Range] attributes, creates a slider https://files.facepunch.com/garry/64940736-605c-4d7f-a7f7-5d20c1427fa2.png
1 Year Ago
Initial commit
1 Year Ago
Add Gradient type, editor, tests https://files.facepunch.com/garry/de833785-fe3d-4cc9-b27a-035df8705130.png
1 Year Ago
Abstract physics hull
1 Year Ago
Add CurveControlWidget Add SceneCamera.Bloom
1 Year Ago
Move CPhysicsMesh and CPhysicsHull to their own files Allow BVH to have optional material indices
1 Year Ago
Abstract physics mesh, phase out RnMesh_t but keep around for loading old collision data
1 Year Ago
Revert "Remove all vmat_c files from repo" This reverts commit 78190dfd8e5471286d0142df92a07cd8d3968e14.
1 Year Ago
Remove all vmat_c files from repo
1 Year Ago
Exclude .mayaSwatches from main repository too
1 Year Ago
[pick] Fix Graphics.GenerateMipMaps downsampling an invalid mip at the end
1 Year Ago
Codegen Attributes (#1299) * Initial tests for static call wrap * Finally sort of got somewhere... bit of a nightmare to debug this right now. Allow multiple CodeGenAttribute. Remove from ClientRpc and add some tests locally instead * Support CodeGenType.Instance with CodeGenType.WrapCall * Added first version of WrapSet/WrapGet * Unit test stubs * Don't pass value for get accessor.. * Cast to original return type in get accessor when wrapping * Tests build * Let CodeGenType.WrapCall proxies return their own values. They can simple do "return resume();" if they wanna keep intended behavior, so we can also wrap methods that don't just return void * Fixed a bug with static set/get wrap codegen not passing correct method name. Now support also adding [CodeGen] attributes directly to a method or property bypassing an attribute alias, these don't require setting the Instance/Static flags. * Use nameof where possible * Fixed tests for WrapSet/WrapGet * Improve documentation * Improve docs for CodeGenAttribute * More documentation * Fixed logic in WrapSet * Added method validation. Compiler will let you know what methods you're missing when using CodeGen and what types, return types etc they need * Add some extra tests * Only allow CodeGen on custom attributes. Tidy up. CallbackName for CodeGenType.Static is the actual fully qualified name of static method to call * Auto generate backing fields for properties. Pass current value in WrapGet callbacks. Set backing field before calling WrapSet callbacks. Update method validation error prints appropriately * Fixed ValidatePropertyCallback * Can now propertly wrap setters/getters. Setter callback passes Action<T> you can call to run default behavior * Fix error if value statement empty * Update tests * Fix TestWrapSet * Run WrapSet and WrapGet if both are specified. When passing to static callback always pass propertyName or methodName as fully qualified name. * Support type argument for return type and Func param * Nicer error when can't find type to invoke on for passed callback name * CodeGeneratorFlags/CodeGeneratorAttribute renaming * Update tests * WrapPropertySet, WrapPropertyGet, WrapMethod * Fix tests + fix issues with props that only have set; or get; * No need to wrap getValue() body in {} as already have them * Use SemanticModel.LookupSymbols to find and validate methods taking inheritance into account * Remove leftover test code
1 Year Ago
Remove leftover test code
1 Year Ago
Turns out none of this stuff was needed because I'd already coded it
1 Year Ago
Optimized compile for gizmo_line and gizmo_sprite, fixes on Vulkan
1 Year Ago
.gitignore: ignore all compiled content except shaders
1 Year Ago
Uncomment this stuff with updated vulkan headers 32 bit depth buffer doesn't imply reverse depth Pixel center always 0.5f
1 Year Ago
Update OpenVR from 1.16.8 to 1.26.7 (latest)
1 Year Ago
Delete VR project Simplify MaterialSystem2 VR code, don't do any native VR setup Initial basic managed openvr setup - just logs hmd position to console for now Debug all tracked devices Skeletal input data Actions, action sets, action state, analog input data Move native wrapper functions into VRNative class Rename enum values Remove unused input source strings Hook up compositor, settings, device properties & info Move constants Move a bunch of stuff in VRNative, clean up Move VR stuff over to Sandbox.Engine, start deleting old VRGlue - breaks VROverlay for now Only init if -vr specified, ensure active Init overlay, bindings for dashboard visible & drawing controllers Move vr-specific input into Sandbox.Engine Proper way of converting matrices from steamvr -> sbox, push test hmd data to game C# has control over whether vr is enabled Also add `vr_enabled` concmd so that we can test toggling VR at runtime IsLeftHandDominant, Enabled TriggerHapticVibration Document TrackedDevice, remove unused, update skeletal data Move VR class into Sandbox.Engine (forwarded to Sandbox.Game) and respect anchor for tracked transforms Compositor submit bindings, cleanup Submit all the info we need to camera renderer + start rewriting stereo rendering Deleted subviews, crossed/nohmd stereo modes, auto-fidelity, no longer uses multiview instancing Clean up Initial managed VR / stereo rendering logic Remove tracked device debug spew SceneCamera.RenderStereo, allow eye targeting Build & override camera frustum based on params provided by steamvr Clean up unused shit Remove native SetupStereoFrustums Remove unused camerarenderer stage RenderStereo uses correct view flags etc., clean up Render each eye into separate scratch targets and then blit into combined texture until I can figure out why this is broken Initial compositor submit, Vulkan only for now Transition texture to VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL Poll events & get poses correctly Check error inside PollEvents Clear first draw Don't do blit copy for each eye (works as long as `r_aoproxy_enable 00`) https://files.facepunch.com/alexguthrie/1b1311b1/qrenderdoc_wLfY06ol2a.png Submit & impl submit for DX11 Fix VRCompositorError_SharedTexturesNotSupported on dx11 Tidy up submit logic Simplify submit function even more Bind GetLastPoses Wtf I thought I deleted these? Remove unused glue structures Add GetTrackedDevicePoses back, we need it MSAADefaultNonVR -> MSAADefault Bounds fix Merge fixes
1 Year Ago
Make RootPanel.IsWorldPanel virtual, so we can be more explicit with it Be a bit more accurate with Rotation equality Add SceneCamera.EnableUserInferface
1 Year Ago
Initial Vulkan update merge New rendersystem interface bits Base rendersystem updates Sync rendersystemempty w/ public Partial update rendersystemdx11 scenesystem updates rendersystemvulkan bits and bobs Minor glossary of differences we keep with upstream rendersystemvulkan Update thirdparty/vulkan, custom Valve changes Some more shit Can use these vma internals now Keep numStages at 5 for offset calculation (for now) vk: check what depth format is properly supported msaa stuff
1 Year Ago
Fuck all of that actually, just leave a better comment here
1 Year Ago
Make sure intermediate depth matches intermediate output color render target ComputePipelineRenderTargetInfo doesn't care if toolview is false This does the same shit r_textures_list_all - see all resident textures
1 Year Ago
tier0: new memalloc aligned16 accessors CResourceNameGetter inherits CResourceName Don't stub CSceneSystem::SetMainSwapChain in tools, why would we not want SCENE_RTSIZE_FRAMEBUFFER the correct size RenderTarget.GetTemporary uses 32 bit depth when needed fix options.cpp redefinition
1 Year Ago
Editor.Animate promoted to public
1 Year Ago
Moved tiled rendering buffers to lightbinner, where it should belong Remove members that have long been deprecated, start adding support for structured buffer lights Move all cbuffer stuff to legacy, standard will only have structured buffer path Start implementing structured buffer lights data structure Remove all code for calculating mixed shadows, that'll be all allocated in the main light shadow function, iterate structured buffers Iterate on new lightbinner, let all shadows render through a single rendering path, disregard legacy for now Remove bMixed from LightEntry, it's complete bullshit, let static lights render only dynamic objects when doing shadows Unified shadow casting, map indexed lights so we can fetch them easily and without needing to order sequentially, remove more deprecated stuff Get rid of lightbinner_legacy completely Eliminate legacy per view lighting constants, eliminate mixed shadows, add placeholder to some constants where they should belong Cut more code from lightbinner light allocs, means only spots will alloc properly for now but cleans a lot of this, align cbuffers, add ComputeDirectLightingForLight to unify lighting calculation on shader Remove CSunLightManager, used for old pre-hlvr sun rendering, a lot of code that's only used for dynamic sunlight different to everything else in light rendering Remove more unused parameters from lightbinner Remove remaining crumbs of old sun shadowing, remove unused shadow functions, add bBaked to ComputeDirectLightingForLight Lightcookies and point lights
1 Year Ago
Add SceneCamera.OnRenderOverlay
1 Year Ago
BoolControlWidget: don't propagate mouse press to parent widgets
1 Year Ago
Added path for updating audio listener outside of client gameloop
1 Year Ago
Start trying to phase out RnHull and RnMesh
1 Year Ago
Bounds fix
1 Year Ago
MSAADefaultNonVR -> MSAADefault
1 Year Ago
Simplify submit function even more Bind GetLastPoses Wtf I thought I deleted these? Remove unused glue structures Add GetTrackedDevicePoses back, we need it
1 Year Ago
Remove bullshit from RnHull and RnMesh to see if still loads and how
1 Year Ago
Fix IgnoreFolders losing case insensitivity in Json by assuming it's not case insensitive
1 Year Ago
Extended info in editor startup when waiting for account information Skip null children in TreeNode list
1 Year Ago
Tidy up submit logic
1 Year Ago
Rotation Gizmo should return false if not rotated
1 Year Ago
Add Material.GetTexture( name ) (gets the texture by shader variable name)
1 Year Ago
Rescale bodies and joints on aggregate creation using aggregates scale
1 Year Ago
Support joint scaling https://files.facepunch.com/layla/1b1411b1/sbox_0123.mp4
1 Year Ago
Support hull scaling