VoyVoda

Members
  • Content Count

    15
  • Joined

  • Last visited

2 Followers

About VoyVoda

  • Rank
    Member

Recent Profile Visitors

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

  1. Hello to everyone I have a question again. And I think it's a simple question for you. When you review the following example: https://webshed.royssheds.com.au/# 1- How can you add and remove the screen instantly when you select wall or object from html? 2- How does it instantly reflect the screen when it changes dimensions? So how do the lengths on the ground change momentarily? The key point of my 2 questions is the instant calculation of the page without renewing them. Is there a way to control it 60 times a second? And if there is such a control, does it make the project very tired? Or is there another way? Thanks in advance for your answers.
  2. That's it! Thank you. I'm very careless. It's that simple, but I didn't see it. Problem solved, thanks. Correct if I'm wrong: 1- With ImportMesh, the object contained in getMeshByName from a complex design is defined only in ImportMesh? Other than ImportMesh is undefined. 2- To click on anything in a complex design added to the stage, mesh.isPickable = true; we need to add
  3. Thank you very much for the answers. For rawgit I'll also try to find a replacement. Everything is fine for now. Only one problem remained. I mentioned above. I want to click on only 1 object in this complex design. Not the click yacht. I just want to click on the front sail. Here I left a sample right here: https://www.babylonjs-playground.com/#IRRN4C#2 I'll mark this problem as resolved after fixing it. I respect you for the answers. Thanks again 😊
  4. I think rawgit no longer supports. I couldn't add the object to the playground. But what I want is this: I want to click on the front sail. like this: https://www.babylonjs-playground.com/#IRRN4C I want to click on the front sail of the yacht in this picture. This sail's name is "obje128"
  5. Thanks again for your reply. I think I asked my question wrong. Think of a house in my project. There are many objects in it. I don't want to click on the house. I just want to click on a chair inside this house. The name of this chair is object106. So I want to use getMeshByName. Think like this: I don't want to completely click on after I import the rabbit. I just want to click on one ear.
  6. Thank you for the answer. Just like I thought. Do you have a solution for the above? Not working on my project. I've tried it many times. I've refreshed the page a lot. Interestingly, sometimes it works, sometimes it doesn't work. It usually doesn't work. Could there be a problem with getMeshByName? Edit: I noticed something new right now. The click does not work when the scene is first loaded. But it works after opening Inspector 😅😅 Really interesting 😅 Is there a known reason for this?
  7. Hello to everyone, I believe it's a simple question, but I can't find the answer. This is what I want to do. I am adding a design to my scene with ImportMesh. I want to reach object106 using getMeshByName. Here's my code. These are also the outputs of the inspector. I can access object106 with getMeshByName in ImportMesh. But it is undefined outside ImportMesh. This first output in the inspector: 2nd output: What is the reason of this? Why undefined? And My 2nd written console log why did work before? Additional: I wanted to add a click to object106. But this isn't working. No alert 🤔
  8. Hi, Here's a good example. If you want to review: https://www.babylonjs-playground.com/#B73AIM#0 I hope it helps. If you can share a Playground with us, the people here will help you faster and easier. Good luck with :")
  9. Hello, You can check the sample here. https://www.babylonjs-playground.com/#3qw4j1#1 If you believe everything is right, you should check the camera settings. Your camera might be looking at a different place. Or it may be far away from the box you created. Finally, the other cubes you create may be hidden in the first cube. Can you try that? 1- box2.position.x = 3; 2- box3.position.x = 6;
  10. Thank you very much for your reply. @ssaket It looks like this, yes. I just want you to think like this. (Https://byggmodul.talgo.no/app#rnd=0.5336367516475533) 1- When something is selected in this example, how can I transfer it to the clicked location. In other words, how can I instantly transfer the selected things to the babylon without being refreshed? 2- Can the user load texture instead of entering a number as in your example? I don't want to refresh the page while all this happens. I want to see the dynamic way directly on babylon. Again As in this example, https://byggmodul.talgo.no/app#rnd=0.5336367516475533
  11. I've read the Babylon document completely. Completed sections: 1- Designs 2- Babylon structure. (Babylon related parts are complete) 3- Objects are on stage. (with import mesh) Missing are: 1- I don't know how to communicate with Babylona with Html DOM (2D User interface). I don't know how to transfer the selected ones from the 2D UI to the babylon in the first scene. 2- I do not know the necessary structure to interfere with Babylona UI as in the example and how to send it to the database. I need a small sample for my 2 questions above. I've been working with babylon for a while. I dominate most of Babylon. Most of my project has been completed. I am having trouble in 2D and 3D interaction.
  12. Hello. I have a new project dream. I have a few questions to ask. Can you enlighten me? My project looks like the example at this address. https://byggmodul.talgo.no/app# Questions: 1- Which technologies should I use with babylon to do such an application? 2- My designs are completed, but how can I do babylon interaction with the user interface? So I want to build a dynamic structure with the user interface as in the example project (https://byggmodul.talgo.no/app#). I have special ui designs for this. When a user selects something or enters a value, how can I transfer it to babylon? I know. I asked long questions. That's why I'm sorry. Most of my project is over. it's just missing here. Can you guide me?
  13. Hi, I'm not sure I understand correctly but I can give a few small tactics. You have more than one light, you want the shadows to be dark. If you share a Playground you can get easier help. 1- shadowGenerator.setDarkness(0); You can use this line. It takes a value between 0-1. 0 is the darkest. 2- If the lights are crossed, you can reduce the lights that block the shadow by using yourLightName.intensity = 0.5 In this way, the shadow will stay darker. i hope it helps. It may be useful to share a playround so that other people can better understand the problem and help :")
  14. Thank you for the quick reply. http://doc.babylonjs.com/how_to/optimizing_your_scene page couldn't solve my problem or I couldn't, I'm sorry I'll try DRACO compression. If the problem is solved in the future, I will mention it here.
  15. Hello everyone, I'm new at Babylon, I have a little issue. In my first project, I'm designing a fps game. There are many buildings and details in my city. That means a lot of polygons. So the fps is falling too much, the designs are loading difficult. In my second project, I designed a beautiful car. There are also too many polygons. I'm having same issue while loading and fps in the scene. Can you find a solution for faster loading and fps? I'm sorry for my bad English.