Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Today
  3. This bug still occurs, I can now import a model straight onto the map, give it a tag - save the map, run the map file and the code does not recongize the model as having a tag, If I load the map file back up into the editor the flag is completely gone.
  4. This seems to be fixed now.
  5. Josh

    Testing Foliage System

    Weird but cool screenshot that appeared during testing...
  6. Now that we have a transformation gizmo, a function or shortcut for disabling grid snapping would be helpful. So that you can position entities more precisely
  7. Hmm it crashes with an out of memory range error. My class inherits Object so the function is available and compiles. void NotificationManager_UpdateHook(shared_ptr<Engine::Object> source, shared_ptr<Engine::Object> object) { } ... void NotificationManager::Init() { AddHook(HOOKID_UPDATE, NotificationManager_UpdateHook, Self()); }
  8. Use this overload: void AddHook(const HookID id, void (*hook)(std::shared_ptr<Object> source, std::shared_ptr<Object> extra), std::shared_ptr<Object> extra = nullptr);
  9. Yup. It's not working with Steam.
  10. Oh... wait. I don't think my paths are actually pointing to steam. One sec...
  11. I'm using the latest steam version on the dev branch and get the error popup "Invalid function syntax fot hook ID 2". This is my code. void NotificationManager_UpdateHook(shared_ptr<Object> object) { } ... void NotificationManager::Init() { world->AddHook(HOOKID_UPDATE, NotificationManager_UpdateHook, Self()); } Based on the parameters for AddHook() my function syntax looks correct... and HOOKID_RENDER works.
  12. Yesterday
  13. I have been waiting a long time for this. From this point things will progress rapidly.
  14. Apparently this requires a closed mesh: https://github.com/melax/sandbox/issues/5#issuecomment-2069836452
  15. Fixed rotation mouse tool acting wrong No longer using SPIR-V for terrain shaders, as there was some inconsistent behavior between the shaders and the compiled binaries.
  16. With the latest terrain and selection changes the terrain editing has some small bugs: 1. no indicators are shown in the viewport. (the sculpt and paint ranges) 2. instead of the indicator, the multiselection box is drawn. But the editing in both cases works, just no overlay is shown. A side question: Now that i can choose the texture size. Are the brushes (or textures) resized internally to match the size? I ask because the default dirt layer has textures with 1k size, but when i create a terrain with 2k or 512 textures it just works but the texture size in the material is still 1k.
  17. Drag to select functionality should be 100% accurate now and working correctly.
  18. sorry late response was away fishing . yes it is a leadwerks game . i cant change the script because when i open leadwerks engine and open my project half of it is missing.. i am just double clicking the game.exe from a published game. i had previously downloaded the zip file from a old post where josh helped me find my game as leadwerks game launcher no longer works and i thought i lost all of my work. so when i double click game.exe it launches and the whole game is working (nothing missing) but it only runs in a little window. i am sure that years ago there was a key shortcut to make fullscreen ....like alt enter, or shift f ? and im sure i had this problem before but cant find the solution in forum .... maybe too old.
  19. Drag-to-select-area functionality is back, now plays nicely with all mouse tools. Fixed bad brush picking behavior.
  20. Last week
  21. While doing simple mapping, I've ran into an issue with my session where the editor thinks I'm holding control when selecting objects when I'm not. This results in multiple objects getting selected unintentionally. Also, clicking the void doesn't deselect the objects.
  22. Fixed vertex and face tools, which could get weird results that did not align to the current mouse position. Vertex and mouse tools now display the up/down mouse cursor when Alt key is pressed. For now, I will keep the trenchbroom-style controls for these two tools.
  23. It would be good if we could get more input options for components in the editor. Such as lists for entities, strings, floats, Vec3 and files. Like in the example bellow.
  24. Changed the translation tool to use an axis gizmo, like people were asking for. Some backfaces on the gizmo model are currently missing and cannot be picked, and its appearance will improve in future updates.
  25. Some code I used to resize a cubemap. I think the mipmaps might not be correct, but that's okay: Pasting here in case I need it again auto plug = LoadPlugin("Plugins/ISPCTexComp.dll"); auto tex = LoadTexture(GetPath(PATH_DESKTOP) + "/diffuse.dds", LOAD_MIPCHAIN); auto mipchain = tex->mipchain; std::vector<shared_ptr<Pixmap> > chain2; for (auto p : mipchain) { { p = p->Convert(TEXTURE_RGBA16); p = p->Resize(256, 256); p = p->Convert(TEXTURE_BC6H); chain2.push_back(p); } } SaveTexture(GetPath(PATH_DESKTOP) + "/thumbnail_diffuse.dds", TEXTURE_CUBE, chain2, 6); return 0;
  1. Load more activity
×
×
  • Create New...