Jump to content

Josh

Staff
  • Posts

    23,120
  • Joined

  • Last visited

Posts posted by Josh

  1. 0.9.6

    First build of 0.9.6 available on beta branch, adds saving to the asset editor for the new version of our model format.

    Embedded materials are saved as external files. They still get displayed the same way in the asset editor as embedded materials, and when you save the model it resaves the material files, so any changes you made will go into those files. This works out nicely.

    • Like 1
    • Thanks 1
  2. I think it might be a good idea to render point and spot lights in this manner using a sphere or cone mesh with a special shader. You would need the material set to use blending, and the mesh would have to reference the light it belongs to. That would save you from stepping through a lot of empty space.

  3. Makes sense to me. The local variable goes out of scope when the function finishes, and the variable is collected and the value deleted.

    In Ultra, we can actually make use the Lua's garbage collection :)

  4. The error is on IntersectsPoint. I am testing it in the editor console.

    Ah, I see. There is an extra padding argument you must supply:
    aabb:IntersectsPoint(Vec3(0), 0)

    I will add an overload so this is not required.

×
×
  • Create New...