userLayladcancel
reposboxcancel

4,003 Commits over 1,461 Days - 0.11cph!

1 Year Ago
Add SceneParticles.SetControlPoint for rotation and transform Move ParticleAttachment to engine, this is something we'll need in tools, not just game
1 Year Ago
backup material builder incase changing features after material creation doesn't make sense
1 Year Ago
Don't save color states, just parse it from variable state
1 Year Ago
Get default, min and max values of variable desc Set slider property default and min max values Set checkbox property default
1 Year Ago
Editor window and preview widget Fix material adding duplicate params Get material description, as json Build features description for material Serialize feature descriptions Features list UI https://files.facepunch.com/layla/1b0911b1/sbox_AQUvbCPcCn.mp4 group combo and label (really should make a radio selection widget for this) Remove GetKV3MaterialDescription binding Grab variable descriptions based on feature state Add group to variable description Display variables Decode sort key (todo: do this in C#) Only show variable groups that have at least one enabled variable, don't create widget for disabled variable Add state cookie to variable list expanders Sort variable groups Create property widgets for variables Create correct property widgets for variables Custom tab widget to tab multiple sessions Try to grab feature state from material Move material editing to a session class so we can have multiple sessions going at once Don't add duplicate variable desc to kv3, don't know why these are showing up, probably because I'm not recompiling material on feature change Bind CompileAndReplaceResource and DiscardInMemoryReplacement Discard in memory replacement on session close Create new tab for new sessions Get active session from current tab page Change preview material on session change Allow Material.Create to set feature states Only skip duplicate variable descs that are disabled (no idea why there are duplicates in the first place) Recreate new unsaved materials when features change Don't update material variables through events Switch tab when adding new session Allow sessions to be closed Process in memory compile reload requests after replacing resource Add dummy material in core for material editor to piggy back off of Recompile material when features or textures change Recompile material on session change Include params in replacement resource Don't forget checkboxes Undo passing features to Material.Create, no longer using this for material editor Restore texture property state when rebuilding variable list Do the same for color, float and checkbox properties Build material output so we can save it, check against feature and variable desc for what key values should be output Allow tab pages to be closeable or not Save session to file, register asset Format colors and floats so old material editor can read them Reset session preview on hotload, fixes preview breaking on hotload Switch page after on page close callback so we don't stomp material with replacement discard Only discard replacement if asset isn't being used in another session Include session name in window title Fix non closable pages not switching Add raw output tab Fix NRE adding new session, keep a copy of material output Use text edit for output Hook up menu bar to actions Menu bar shortcuts Open file dialog Create session for opened material Parse material to get feature and variable states Parse color states Add new line after every variable group in output Remove Material.GetFeaturesState, parse material in tool code instead Allow modified material to be saved Do a recompile before saving, resource replacement is getting stomped Dock the preview, might want to have it fullscreen
1 Year Ago
Dock the preview, might want to have it fullscreen
1 Year Ago
Allow modified material to be saved Do a recompile before saving, resource replacement is getting stomped
1 Year Ago
Remove Material.GetFeaturesState, parse material in tool code instead
1 Year Ago
Create session for opened material Parse material to get feature and variable states Parse color states Add new line after every variable group in output
1 Year Ago
Hook up menu bar to actions Menu bar shortcuts Open file dialog
1 Year Ago
Use text edit for output
1 Year Ago
Fix NRE adding new session, keep a copy of material output
1 Year Ago
Include session name in window title Fix non closable pages not switching Add raw output tab
1 Year Ago
Only discard replacement if asset isn't being used in another session
1 Year Ago
Build material output so we can save it, check against feature and variable desc for what key values should be output Allow tab pages to be closeable or not Save session to file, register asset Format colors and floats so old material editor can read them Reset session preview on hotload, fixes preview breaking on hotload Switch page after on page close callback so we don't stomp material with replacement discard
1 Year Ago
Undo passing features to Material.Create, no longer using this for material editor Restore texture property state when rebuilding variable list Do the same for color, float and checkbox properties
1 Year Ago
Process in memory compile reload requests after replacing resource Add dummy material in core for material editor to piggy back off of Recompile material when features or textures change Recompile material on session change Include params in replacement resource Don't forget checkboxes
1 Year Ago
Switch tab when adding new session Allow sessions to be closed
1 Year Ago
Only skip duplicate variable descs that are disabled (no idea why there are duplicates in the first place) Recreate new unsaved materials when features change Don't update material variables through events
1 Year Ago
Allow Material.Create to set feature states
1 Year Ago
Create new tab for new sessions Get active session from current tab page Change preview material on session change
1 Year Ago
Create correct property widgets for variables Custom tab widget to tab multiple sessions Try to grab feature state from material Move material editing to a session class so we can have multiple sessions going at once Don't add duplicate variable desc to kv3, don't know why these are showing up, probably because I'm not recompiling material on feature change Bind CompileAndReplaceResource and DiscardInMemoryReplacement Discard in memory replacement on session close
1 Year Ago
Sort variable groups Create property widgets for variables
1 Year Ago
Add state cookie to variable list expanders
1 Year Ago
Add group to variable description Display variables Decode sort key (todo: do this in C#) Only show variable groups that have at least one enabled variable, don't create widget for disabled variable
1 Year Ago
Remove GetKV3MaterialDescription binding Grab variable descriptions based on feature state
1 Year Ago
Editor window and preview widget Fix material adding duplicate params Get material description, as json Build features description for material Serialize feature descriptions Features list UI https://files.facepunch.com/layla/1b0911b1/sbox_AQUvbCPcCn.mp4 group combo and label (really should make a radio selection widget for this)
1 Year Ago
RenderAttributes.GetInt returns int (typo?)
1 Year Ago
Draw bounds for selected model objects
1 Year Ago
Model helpers don't cast shadows
1 Year Ago
Bind transform slot to zero in render tools draw so we don't draw shit at the previously binded transform Add Graphics.Draw that takes list of vertices Add Graphics.SetTransform so we can change the transform of draw calls Add basic tool render context that can draw batched primitives Bind transform in the draw call, has to be done in same scope it seems Give editor objects and helpers a chance to render Add DrawSphereHoops Give render context access to scene camera Add DrawCircleOutline Support line thickness
1 Year Ago
Hammer: Support drag drop from entity tree view because I keep finding myself trying to drag them in https://files.facepunch.com/layla/1b0311b1/sbox_TbxTgCp7lS.mp4
1 Year Ago
Fix strange bug accessing DragData.Url if it wasn't set, checking for null would somehow fail?
1 Year Ago
Change model thumbnail rendering back to an animated pose, forgot I had changed this
1 Year Ago
Remove useless line of code
1 Year Ago
Add menu option to create multiple sound events from selection https://files.facepunch.com/layla/1b0311b1/sbox_ctRq5YvZNX.png
1 Year Ago
Fix StartVoiceRecording and StopVoiceRecording being called continuously when it doesn't have to
1 Year Ago
Fix particle preview rotation https://files.facepunch.com/layla/1b0211b1/sbox-dev_DE9zLfakRV.mp4
1 Year Ago
AssertIsMainThread for SetupPhysicsFromModel, this is not safe to do Assert trying to make scene model with meshless model, sceneobjects aren't created if there's no meshes Do the same for sceneobject Fix crash trying to render thumbnail of model with no meshes Fix crash trying to preview model with no meshes
1 Year Ago
Create trace object for lights Clear selection if we didn't trace against anything
1 Year Ago
Try selecting editor object from trace
1 Year Ago
Add simple ray trace api Editor objects create ray trace objects to trace against Trace into viewport to test tracing api
1 Year Ago
Add Application.CursorPosition setter for mouse capturing Bind QTimer so we can use it to unblock drag and drop operations (ideally we'd fix this properly in a Qt fork) Add temp trace function to trace scene objects until we use ray tracing environments Initial scene editor Remove unused tool scene widget def Bind ray trace environment and add a simple API for it Remove slow tracing function, no longer needed Try to get scene object from trace Remove old tracing code Bind more of ray trace env Return the full ray tracing single result struct Initial tool helpers api Bind helper transform to target transform Use treeview for object list Move helpers to tool addon code Make editor objects IValid Light object updates scene object with the binding system instead of on changed callbacks Populate object list with editor objects, keep them updated and handle selection Fix tree view SetSelected ignoring skip events and selection changed to false Delete selection Create a model object for model drag and drops Include drag pos in DragData so initial drag enter knows where to spawn the object Unselect everything when selecting a new object Highlight selected object Flush bind system after setting binds Allow model helper to be position only Don't bind properties that aren't meant to be two-way Light brightness property Model property Use string for model property Support drag and drop from cloud
1 Year Ago
Don't bind properties that aren't meant to be two-way Light brightness property Model property Use string for model property Support drag and drop from cloud
1 Year Ago
Allow model helper to be position only
1 Year Ago
Flush bind system after setting binds
1 Year Ago
Highlight selected object
1 Year Ago
Populate object list with editor objects, keep them updated and handle selection Fix tree view SetSelected ignoring skip events and selection changed to false Delete selection Create a model object for model drag and drops Include drag pos in DragData so initial drag enter knows where to spawn the object Unselect everything when selecting a new object
1 Year Ago
Bind more of ray trace env Return the full ray tracing single result struct Initial tool helpers api Bind helper transform to target transform Use treeview for object list Move helpers to tool addon code Make editor objects IValid Light object updates scene object with the binding system instead of on changed callbacks
1 Year Ago
Enable client authoritative mesh groups when setting a client side procedural model so server doesn't stomp mesh groups