Art Vandelay

Members
  • Content Count

    51
  • Joined

  • Last visited

About Art Vandelay

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Art Vandelay

    Multipick Order

    Got it. Thanks
  2. Art Vandelay

    Multipick Order

    Hi Everyone, When using multipick is there a specific order in which the meshes are returned in the array? Because according to this playground it doesn't seem like it: https://playground.babylonjs.com/#166ZLU I tried putting different meshes behind each other and I can't find any logic in the order. For example if I put the purple donut in front, then the green cube and then the blue cube in the back and choose them so that the ray hits all of them, the green cube (which is in the middle) is the one that is chosen. Is this a bug? Is it supposed to work this way? Thanks!
  3. Art Vandelay

    Trouble with bounding spheres

    OK now it's working. My question now is, how come the bounding sphere of a mesh that is a sphere is much bigger than the sphere? https://playground.babylonjs.com/#JHTYJL#4
  4. Art Vandelay

    Trouble with bounding spheres

    Thank you for the response @kurhlaa. Another silly mistake... However, I am still not getting the expected behavior. Not sure why. Here is the updated PG. I also noticed I forgot to use computeWorldMatrix but still not working. https://playground.babylonjs.com/#JHTYJL#2
  5. Art Vandelay

    Trouble with bounding spheres

    Made a silly mistake with that last playground, ignore it . This is the right one: https://playground.babylonjs.com/#JHTYJL#1
  6. Art Vandelay

    Trouble with bounding spheres

    Hi everyone, I was trying to understand how to work with bounding sphere collisions and created this playground. https://playground.babylonjs.com/#JHTYJL Notice line 114. I can't understand what is going on. I would expect the drag and drop to work normally and for the mesh I am dragging to collide with the purple donut. What am I missing? Thanks!
  7. Art Vandelay

    Lighting a Room

    Also, just to be clear, shadows are not the problem. I can add shadows that look good.
  8. Art Vandelay

    Lighting a Room

    Hi all, I have a (supposedly) simple task of lighting a regular square bedroom with furniture. Turns out it's quite complicated to do well. So far I have been playing around with point lights and hemispheric lights (changing location, intensity, color etc) but it's pretty hard to get a "real" feel. Anyone have any recommendations? Thanks!
  9. Art Vandelay

    Tile Offset

    Thanks everyone @brianzinn Procedural texture is what I need but I would like to upload my own texture instead of the brick. Is there any way to do that?
  10. Art Vandelay

    Tile Offset

    Hi everyone, I am trying to tile a floor but I would like to create a sort of "offset" in the tiling. I added pictures to best explain what I am trying to do. The first is what I am doing now. The second is what I would like. How can I do this? Thanks!
  11. Art Vandelay

    Picking Bounding Boxes

    Thanks for the advice Will give it a try.
  12. Art Vandelay

    Get absolute rotation of child mesh...

    @DeltakoshThat works, thanks!
  13. Art Vandelay

    Picking Bounding Boxes

    Hi, Is there anyway to pick a bounding box? I know I can pick a mesh using scene.pick but then pickInfo.pickedPoint will give me the point where the picking ray hit the mesh. What I would like to get is the point where the picking ray hit the bounding box of the mesh. How can I do that? Thanks!
  14. Art Vandelay

    Get absolute rotation of child mesh...

    Hi, Just found this thread. @DeltakoshWhat if wanted to SET the absolute rotation of a matrix? What I thought of doing was decomposing the worldMatrix, updating the rotation quaternion and then "recomposing" the world matrix with the updated rotation quaternion. I'm not sure how to do that though, or even if that really makes sense... Is there a simpler way? Thanks!
  15. Art Vandelay

    Dynamic HDR Environment Map

    Just what I needed, many thanks reflectionProbe did the trick!