Jump to content

Josh

Staff
  • Posts

    23,101
  • Joined

  • Last visited

Everything posted by Josh

  1. I have added some commands in the API and I guess I did not update the Lua declarations to match. This is the method syntax: IntersectsBrush(shared_ptr<Brush> brush, shared_ptr<Face> face = NULL, const float epsilon = 0.0f) I am adding the required overloads now. NIL probably won't work for the face until I add the right syntax.
  2. If you are running in debug mode it should tell you more information about the error.
  3. This is correct. This is a common behavior in almost all game model formats. You are doing it correctly. The second UV set is available in the .zw coordinates of the texcoord value.
  4. AO will only be rendered when the AO map is assigned to the AO texture channel...BUT... The AO map and the metal-roughness map can be the same texture. So if you assign it in both slots, you have AO. This is the way glTF does it. I don't think it really requires an extra texture sample in the fragment shader, because of the texture cache.
  5. @reepblue pointed out this library for UV unwrapping: https://github.com/jpcy/xatlas I added these values to the AssetEditor class: asseteditor.model: the open model, if it exists. asseteditor:Invalidate(): Triggers a viewport redraw. asseteditor:Modify(): Causes the file to be set as "modified". asseteditor.modelmenu: Menu displayed when a model is loaded. The event EVENT_INITASSETEDITOR is emitted when an asset editor window is initialized, so you can add a menu item to the modelmenu at this time. Since Lua can call functions from a DLL, that should be everything needed to create an unwrapping extension.
  6. There is a typo in my declaration of this function. You can work around this temporarily by supplying a second Vec3 to the function arguments like this: local joint = CreateBallAndSocketJoint(parent.position, Vec3(0), parent, child)
  7. In this episode we review the week's progress and discuss some proposed revisions to the asset pipeline. 4-13-24.zip
  8. I do not understand your question.
  9. Fixed image converter errors. All converters are now disabled by default.
  10. Vertex tool can now select objects. Increase size of vertex indicators when DPI scaling is used. Added default materials so brushes aren't bright white on creation. Edge selection highlight thickness now adjusts with DPI scale
  11. In the CreateWindow function in Source/main.cpp or Source/main.lua, use the WINDOW_FULLSCREEN style for the window style.
  12. New version of this has been added to the default install.
  13. Bug fixes Opened prefabs can now be saved like map
  14. See Camera::SetClipPlane and CameraClipPlane0 in CameraInfo.glsl.
  15. It may be possible to improve this in the future but I am wary of trying to mask this behavior, since it might lead to other problems. For now I am going to consider this "not a bug".
  16. From MS: https://learn.microsoft.com/en-us/dotnet/api/system.io.filesystemwatcher.created?view=net-8.0
  17. Editing a .fam file in VS Code, I do see two FILE_CHANGED events being emitted by the file system watcher.
  18. Just installed Notepad++ and had no problems with multiple reloads when saving a post-processing fragment shader file. Let's see what happens when the next build of the editor goes up.
  19. I added a weak pointer in the shader module (the asset) to all shaders they get attached to, and it will reattach them and update the shader automatically when the module is reloaded. Tested shader editing in VSCode and Notepad and with both those programs the asset only gets reloaded once...
  20. Added selection toolbar item Added basic implementation of drag-select area. The volume intersection test is not exact yet. Revised the way converters work to make them more useful. I recommend deleting the FBXToglTF and ColladaToglTF scripts in Scripts/Start/Converters, if you have those files. Converters can now be enabled and disabled with settings. Everything is managed entirely in script, except for detecting files that need to be converted and emitting the convert file event.
  21. It says that you left the conversation! I sent a new PM.
  22. https://www.ultraengine.com/community/messenger/1685224954/
  23. I think the type needs to be an exact match. We should determine what a bindless handle looks like on the CPU side.
×
×
  • Create New...