Jump to content

Josh

Staff
  • Posts

    23,124
  • Joined

  • Last visited

Everything posted by Josh

  1. 1. No, it performs a raycast test on the mesh geometry. 2. The collision type follows the rules of the collision responses: https://www.ultraengine.com/learn/World_SetCollisionResponse?lang=cpp 3. There is a feature partially implemented that would perform a raycast on the physics collider instead of the visual geometry. It's not accessible so I should fix the docs. 4. See #2. It would be possible for me to add a callback function to handle the filtering yourself. That might be a better approach for Ultra. It would be something like this: bool PickFilter(shared_ptr<Entity> entity, shared_ptr<Object> extra) { //This makes it so only a terrain can be picked if (entity->As<Terrain>()) return true; else return false; }
  2. Update Fixed this issue: https://www.ultraengine.com/community/topic/61132-ultra-engine-testing/page/26/#comment-297777 @klepto2Quads are probably better for water. You can create a quad mesh by supplying MESH_QUADS in the last parameter. Basically for any geometry that can use quads, that will always tessellate better than triangles.
  3. Working on Klepto's problem reported on previous page....
  4. Update Fixed the depth problem reported above
  5. Geometry shaders are supported, but I am not using them for anything. Well, actually I was using them in the GPU voxel rasterizer.
  6. Whoa, that is really slow. Is this in debug mode?
  7. @SpiderPig I cannot load that tree model because the glTF bin file is missing.
  8. As I understand it, geometry shaders are pretty much useless because they have to sync with the CPU: http://www.joshbarczak.com/blog/?p=667 I have not read that entire article, and I don't fully understand the issue, I just know this is common belief and I didn't bother looking into it beyond that. Instancing will be very fast and culling will not slow down the renderer at all. One of the benchmark tests shows 64,000 instanced objects. Ultra might not need any special vegetation techniques at all because it already is so fast. For very large scale stuff I have some ideas in mind, but we are talking tens of millions of objects.
  9. Repository for free assets created. There are some ready to use environment maps: https://github.com/UltraEngine/Assets You have the IBL sampler application in the Tools folder now. The way I made these is by dragging an HDR image from here onto run.bat: https://github.com/KhronosGroup/glTF-Sample-Environments And then I run this code to convert the KTX2 files into a BC8H DDS: https://www.ultraengine.com/community/blogs/entry/2780-building-a-single-file-4k-hdr-skybox-with-bc6-compression/?tab=comments#comment-14747
  10. Josh

    Cyber Samurai

    Testing some models.
  11. Update Fixed glTF not loading normal maps Compiled with "fast" floating point mode. I don't think it will have any effect on framerate
  12. Josh

    Cyber Samurai

    Testing some models. Author: Khoa Minh https://sketchfab.com/3d-models/cyber-samurai-26ccafaddb2745ceb56ae5cfc65bfed5
  13. There is an Lod glTF extension from Microsoft but I have not implemented it: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/MSFT_lod I don't know if it's really a great idea because no 3D modeling package will support it. If you merge Lod levels into a single glTF file, you are creating a one-way conversion step that can't be pulled back into a modeling program for editing, and avoiding that was one of the major reasons to use glTF in the first place.
  14. Okay, Christmas is saved. I will finalize the shaders and hopefully we can get that issue fixed this weekend.
  15. I'm going to do the final shader adjustments last because...I don't know why, I just feel it is right. I would really like to test on an AMD 480/580 but no one will help me. 😪
  16. To Brave support, yes. Just because a new version doesn't work doesn't mean there isn't a bug in Brave. PHP was updated from 7.4 to 8.0.
  17. Same here. I tried Edge and Chrome, and they both worked correctly. IPS tells me it is a browser problem.
  18. I know two million people who are going to be very happy to have that available.
  19. I am seeing the same thing.
  20. Should be working now. The documentation should be noticeably faster than before. I'm using Github as a CDN so scripts and images will be loaded from the nearest server. I was also including some very big scripts from the search system in every page, and that was not needed. I could probably make it faster if I generated static pages and stored them in Github, but I think it's okay for now. Using a real CDN for the forum system would probably make image loading faster. I am interested in trying this in the future.
  21. Thank you for point this out. I need to install something call "GMP PHP extension".
  22. Did they go away? The documentation should be a lot snappier now. I figured out I can use github.io as a free CDN.
  23. SetMaxTorque controls the maximum force the joint can use to control the rotation of the entity, so you would want that to be a big number. If the max torque is zero the joint will rotate freely.
  24. Leadwerks supports Ubuntu 16.04. Ultra is planned to work on Linux later, without the restrictions Leadwerks has.
×
×
  • Create New...