3,072 Commits over 1,552 Days - 0.08cph!
ModelDoc: Add PhysicsShapeCylinder https://files.facepunch.com/layla/1b0211b1/sbox_VKtNHzD2qc.png
Remove sv_gravity change callback on game shutdown. Fixes #418
Render.DrawScene can set ambient color
Hardcode a slight scene ambient color for now
Same for SkyboxObject and PhysicsBody
internal Light.CreateThisNative, this shouldn't be public
RenderScene stuff name consistency changes
Clear only depth and stencil for scenes, fixes some initial render target errors
Don't clear the buffers when drawing scene
Remove bullshit SceneCapture, replaced with Render.DrawScene and UI.Scene control
Fix unnamed render target textures not working
Don't add runtime creates models or meshes to dictionary.
Remove Mesh.DeleteBuffers not needed as Meshes seem to be refcounted and cleaned up automatically
Add PrismaticJointBuilder.WithLimit
Allow PhysicsBody to be created through constructor
Add AnimEntity.RootMotionAngle (needs testing)
Fix "Create Sound for" not filling out using vsnd ext
Fix NRE in Panel.AddEvent (why has this started happening though?)
Give IPhysicsJoint access to joint frames also
Add a few more useful things to IPhysicsJoint
All Joints have common IPhysicsJoint interface
Add ConicalJointBuilder.WithSwingLimit and ConicalJointBuilder.WithTwistLimit
Add AnimEntity.RootMotion
Add PhysicsBody.AddMeshShape
Add ModelEntity.GetHitboxGroup
Set vertex/index buffer data directly after creating buffer if data exists
Add ModelBuilder.WithLodDistance
ModelBuilder.AddMesh can optionally set a lod level
Create new meshes through mesh ctor instead of a lame static mesh create func
Add ModelBuilder.WithSurface to set collision surface property
Change ModelBuilder API so it uses a struct
Change PhysicsBuilder to a class
Meshes and physics meshes use signed indices because they're better to work with
Add Mesh.Bounds setter (bbox)
Remove all other shitty ways of creating models. Creating models is now done through Mesh and ModelBuilder
Check best msaa mode when creating textures with msaa
Mesh.CreateVertexBuffer and Mesh.CreateIndexBuffer can optionally set initial data
PhysicsBuilder.AddMesh uses uint indices
Fix possible crash in ModelBuilder.Create
PhysicsBuilder.AddBox and PhysicsBuilder.AddHull now take a center and rotation instead of a transform because scale isn't used
Add some safety checks in CRenderMesh::DestroyBufferResources
New mesh API. Removed VertexBufferHandle and IndexBufferHandle. Creating and updating of buffers is now handled in the Mesh class
AnimGraph: Allow notes to be added to nodes https://files.facepunch.com/layla/1b1611b1/notes.mp4
Fix ModelEntity.CopyMaterialGroup
Disable unused particle function
ModelDoc: Fix viewing compiled models
dmfbxserializer: compute delta state normals for blend shapes in a way that isn't completely fucked
Update vertex color shader
Update vertex color shader