
Alex10
Members-
Content Count
65 -
Joined
-
Last visited
About Alex10
-
Rank
Advanced Member
- Birthday January 1
Profile Information
-
Gender
Male
-
Location
Ukraine
-
Interests
Javascript, Python, Linux
Recent Profile Visitors
939 profile views
-
I was referring to examples of the presence of Z coordinates on the video camera. For example: https://github.com/buildar/awe.js
-
Someone can give some examples babylon.js and augmented reality? Or to give a direction where to look?
-
http://www.babylonjs-playground.com/#28YUR5#91 I can't do at the same time the effect of pbr and texture.
- 6 replies
-
- babylon.js
- pbr
-
(and 3 more)
Tagged with:
-
Сan be assigned to show diffuse texture to the model if it is to apply PBR? I founded in the documentation, only examples of pre-set: metal, plastic, glass and wood. For example: var scene = new BABYLON.Scene(engine); var camera = new BABYLON.ArcRotateCamera("Camera", -Math.PI / 4, Math.PI / 2.5, 200, var hdrTexture = new BABYLON.HDRCubeTexture("textures/room.hdr", scene, 512); var hdrSkybox = BABYLON.Mesh.CreateBox("hdrSkyBox", 1000.0, scene); var hdrSkyboxMaterial = new BABYLON.PBRMaterial("skyBox", scene); hdrSkyboxMaterial.reflectionTexture = hdrTexture.clone(); hdrSkyboxMaterial.disableLighting = true; hdrSkybox.material = hdrSkyboxMaterial; material = glass; glass.refractionTexture = hdrTexture; glass.reflectionTexture = hdrTexture; ???? material.diffuseTexture = new BABYLON.Texture("/path", scene);
- 6 replies
-
- babylon.js
- pbr
-
(and 3 more)
Tagged with:
-
-
How to remove glare from light? I need to model the illumination light but did not glare. Is it possible to do something to remove the glare? http://www.babylonjs-playground.com/#132VFT
-
Alex10 started following How to remove glare from light?
-
babylon.js How to panning, right mouse button the downloaded model?
Alex10 replied to Alex10's topic in Questions & Answers
Yes, thank you, this is what I needed. Here is a simplified version of the work and the like. http://www.babylonjs-playground.com/#2ATSCM#11 -
-
babylon.js How to panning, right mouse button the downloaded model?
Alex10 replied to Alex10's topic in Questions & Answers
@aWeirdo No, it's the right button works as the left button. I need to right buttons function as in this example: http://www.babylonjs-playground.com/#AMEB6#1 But for the loaded mesh. I need to panning right button to work like sketchfab. -
babylon.js How to panning, right mouse button the downloaded model?
Alex10 replied to Alex10's topic in Questions & Answers
@aWeirdo In this options, the panning does not work. http://www.babylonjs-playground.com/#2ATSCM#1 -
-
Thanks for the good reviews, I'm very pleased. I want to answer a few questions. Sorry for my english :) I love javascript, but I really love python. I started to write game backend in javascript but moved on to Python, because of Python's more advanced OOP and Python is much easier to use data types. In Python I can write asynchrony code for to work with sockets without callback, this greatly simplifies debugging and code reading. To my regret now I just have nowhere to run the game in addition to my laptop. As soon as I have some vps I will run and will share the link. This is a very good idea. I think we can do it that way: We can make the balancing of players between rooms on different servers. A specific rooms already appointed will serve for balancing server. All statistics will be accumulated and distributed This collection of all the servers to select strategies and ratings.
- 5 replies
-
- multiplaye
- babylon.js
-
(and 3 more)
Tagged with:
-
-
Alex10 reacted to a post in a topic: Imported .obj mesh when changing positions becomes unmanageable
-
Alex10 reacted to a post in a topic: Imported .obj mesh when changing positions becomes unmanageable
-
Imported .obj mesh when changing positions becomes unmanageable
Alex10 replied to Alex10's topic in Questions & Answers
Yes this is what I needed, thank you very much.- 18 replies
-
- position
- loadedmeshes
-
(and 3 more)
Tagged with:
-
Alex10 reacted to a post in a topic: Imported .obj mesh when changing positions becomes unmanageable
-
-
Imported .obj mesh when changing positions becomes unmanageable
Alex10 replied to Alex10's topic in Questions & Answers
Exactly, I think this is what I need. How I can the model change color or texture when I click on button? Event occurs but the error occurs. $('#button').on('click', function(){ console.warn('Yes'); m[i].material = new BABYLON.StandardMaterial("texture1", scene); m[i].material.diffuseColor = new BABYLON.Color3(1, 0, 0); }); For example: http://www.babylonjs-playground.com/#I7U4M#5- 18 replies
-
- position
- loadedmeshes
-
(and 3 more)
Tagged with:
-
Alex10 reacted to a post in a topic: Imported .obj mesh when changing positions becomes unmanageable
-
Imported .obj mesh when changing positions becomes unmanageable
Alex10 replied to Alex10's topic in Questions & Answers
If I multiply these coordinates: { 0*1.1, 0*1.1, -0.000014999999997655777*1.1 } Then I'll have the following coordinates for "setPosition" cam.setPosition( 0, 0, -0.000016499999997421355 ) and get this result: http://178.62.253.28/test - model not got completely into the viewport and I need to get around these coordinates cam.setPosition( new BABYLON.Vector3(216, 93, -17) ); http://178.62.253.28/ - model got completely into the viewport How do I get the coordinates of the camera in which the model will got completely into the viewport?- 18 replies
-
- position
- loadedmeshes
-
(and 3 more)
Tagged with:
-
Imported .obj mesh when changing positions becomes unmanageable
Alex10 replied to Alex10's topic in Questions & Answers
@aWeirdo Ok, When I scaled the model, the model becomes unmanageable fine. for example: http://178.62.253.28/test How to calculate a zoom on the camera? I need zoom to set automatically. Or to set automatically camera.setPosition()- 18 replies
-
- position
- loadedmeshes
-
(and 3 more)
Tagged with:
-
Imported .obj mesh when changing positions becomes unmanageable
Alex10 replied to Alex10's topic in Questions & Answers
@aWeirdo Yes I am using arcRotateCamera. I wrote cam.target = mesh.position; but the model does not fit into the screen. For example: http://178.62.253.28/test2- 18 replies
-
- position
- loadedmeshes
-
(and 3 more)
Tagged with: