Jump to content

Josh

Staff
  • Posts

    23,144
  • Joined

  • Last visited

Everything posted by Josh

  1. If you are doing marching cubes, maybe it is possible to calculate the normals from the underlying volumetric geometry instead of trying to calculate them from the mesh? I mean you lose information when you go from volumetric to mesh, so maybe before losing that information it is possible to calculate normals that should be applied to the mesh?
  2. Josh

    Copy pixel

    I think render-to-texture is a lot more well explained and refined in Ultra.
  3. Josh

    Copy pixel

    This should do it: https://www.leadwerks.com/learn?page=API-Reference_Object_Entity_Camera_SetRenderTarget
  4. My first reason was "jut use printf" but the Print() command actually does a lot more than that. It calls OutputDebugString so the text appears int he VS console. It also can run hooks. So yes, I agree with you.
  5. Another thing you can do is just make a program act different based on command line params. I think I am going to make the editor call launch its own executable to generate thumbnail images. This saves me from having to include two large EXEs.
  6. I also use Ultra App Kit for simple programs that don't need 3D.
  7. Josh

    Texture Manager WIP

    This is what I want the first editor build to be. If I can polish up an app that just browses the game directory and handles textures, that is a good first milestone.
  8. Rearranged some screen elements and now it's a whole new application.
  9. Josh

    Weird

    Upload please!
  10. Here we can see the file time and size imported from the package. Labels for the file, folder, and package are displayed in the side panel.
  11. There is also an Aabb:DistanceToPoint method, which I believe can be used for a perfect box/sphere test. If the distance to the point is less than the sphere radius, then the two intersect.
  12. It depends on how precise you need it to be. Ultra never does a real sphere-AABB test because it's too expensive. Usually it starts with a sphere/sphere test and then moves onto a box/box test in some cases. The AABB::IntersectsPoint method takes an optional radius, but it just treats the point like a box.
  13. FIrst step is to test AABB/AABB intersection, that will eliminate 99% of your cases.
  14. This is just a sphere / bounding box intersection test, right?
  15. Updated 1.0.2 Added Package::FileTime Most recently loaded package will now have highest priority Fixed error in Vec3 HSL/RGB conversion Some changes to menu events: https://www.ultraengine.com/community/topic/61539-change-to-menu-events/ Pixmap::CopyRect will now return false with BC6 and BC7 formats Added String/WString::StartsWith method Added Stream::GetPackage
  16. Josh

    Cool Ice Effect

    Wow! It really looks like there are solid pieces of ice inside the object when I view this in the material editor.
  17. Not yet. I have done earlier work loading Quake models, but did not load animations. It will also require support for vertex morphing.
  18. Josh

    Highpass filter?

    I am talking more about image processing. It can remove the lighting from some photographs and gives you a look that is closer to the true color of a surface. I think it is done by first applying a Guassian blur and then some other operation.
  19. And here you can see the zip package is displayed like a folder, but you can also see the zip file in the parent folder's contents, so you can still open it from there with the default program:
  20. Or maybe you are seeing some shadow acne. What happens if you increase the light's shadow map size? https://www.ultraengine.com/learn/Light_SetShadowMapSize?lang=cpp
  21. Oh, I see. I thought you were referring to the black line. It looks like maybe the normals are wrong?
  22. Looks like a crack in the terrain. I can see the background peeking through in some spots.
  23. Here we see the asset browser allows navigating through packages like folders, and even recognizes packages-in-packages (the BSP files). A texture is successfully loaded straight out of a BSP file without extracting it from the PAK. Thumbnails are not yet supported for the embedded files.
  24. Does anyone have code for a highpass filter? It would be a nice feature to neutralize lighting:
  25. Usually I just get the menu text and evaluate actions based on that, rather than storing a bunch of variables with the individual menu items.
×
×
  • Create New...