Quantcast
Channel: Babylon.js
Browsing all 388 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Add rotation and move arrows

Hello how to add/enable/disable this things for mesh move and rotation in model. And how they calld? Attached Thumbnails

View Article


Hello All, I have a little problem with Babylonjs

Hello to all and Merry chritmas:   I have a project and I want use Babylonjs.   I have include two lines   <script src="librerias/babylon2/babylon.2.2.max.js"></script><script...

View Article


Shader material test : still a long way to photo realistic billiard balls

Hi all. Continuing to test babylonJS feature/environment/... Today get a work in progress showing shadermaterial in action. I share my work in progress (possibly helpful to other as well), and look...

View Article

Fire "CombineAction" by "if" condition

Hi everyone and merry Christmas.   I need to play a group of animations when an "if" condition happens. I tried with this: if(cond > 1){ elevador.actionManager = new BABYLON.ActionManager(scene);...

View Article

How to do a InOutSine ease

How can I achieve an ease like so   http://easings.net/fr#easeInOutSine   This is the most natural ease for acceleration/deacceleration

View Article


Gravity with Heightfields

How can I get my mesh moving around on a height field when using Oimo Plugin in Babylon js?   This is "working": Render.prototype.createScene = function(){     this.ground =...

View Article

Image may be NSFW.
Clik here to view.

PointLight makes sharp light circle

Hi, PointLight in the Babylon preview release (also release currently available in the sandbox) makes a sharp light circle like this:     In release 2.2 it was smooth like this:     I need to use the...

View Article

Hello guys! I've got a firefox question.

 My game I've been working on is an fps trainer thing. But it is having problems on firefox. Here's the game: http://srimshady.itch.io/babylon-test?secret=04dJ4gBhSMoo5rgFsqaaJFIyU0 (press m to access...

View Article


Image may be NSFW.
Clik here to view.

Extrude CAP problem

"CAP" procedure of extruding works not so good Here is the demo of problem http://www.babylonjs-playground.com/#EALGM#0   Problem in Polygon triangulation algoritm. Will be nice if babylon include some...

View Article


Accessing containing ES6 class from mesh hits by extending mesh.

Hi, I can execute local functions fine but when I do a pick on the scene there is not a way to access the objects that are siblings to the mesh like this.isSelected. Is the best way to solve this to...

View Article

Image may be NSFW.
Clik here to view.

Transparent Gradient Material

Hi!   I'd like to create material with gradient and transparency effect as show on the image bellow (green, yellow and aqua color circles, everything else is irrelevant). After some searching I found...

View Article

Import/Export Scene with SceneSerializer (additional materials)

I am working on a scene exported from 3ds Max. It's great for making the bulk of the scene but I always end up making minor adjustments to materials in the browser because it never quite looks the same...

View Article

Image may be NSFW.
Clik here to view.

Shadows in my dungeon don't work

Hi, I'm new to BabylonJS and I need an advice concerning shadows. In the attached project I tried to make a little dungeon. There's a torch mounted on one wall with. The torch is the only source of the...

View Article


How to clone the loaded model?

I want to clone the already loaded model and inserted into another location on the map. At the end of the time. var loader = new BABYLON.AssetsManager(scene); var taskMesh = loader.addMeshTask('t3',...

View Article

Image may be NSFW.
Clik here to view.

Texture caching

Hey guys!   I'd like to cache my textures into IndexedDB, I saw that Babylon.js is capable of it, but my case is that, I don't have a "scene mesh babylon" file, I just create a simple Babylon.Scene and...

View Article


how to release resource of one time particle system

hi all,   i'm a developer from shanghai,   i use babylonjs' particle system to show a water spout, each time a bomb hits the water.   each time i will new a BABYLON.ParticleSystem, then start it.   and...

View Article

WebRTS RTS game coding strategy for 2n +1 players

The next stage or my webgl RTS game is peer to peer using WebRTC using likely peer.js.   Since I've not done this before I would like some advise on whether this is possible for 2n + 1 players and some...

View Article


Retargeting skeletal animations at runtime

As 2.3 has entered beta, thought I now would be the time to pitch a minor change I think would help others using a Kinect scanner as well as myself. I would like to add a  public length : number  to...

View Article

Image may be NSFW.
Clik here to view.

disappearing geometry near the edge of scene window

I have a scene that has a virtual patient. I am using a free camera in the scene, and I am having an issue where the right side edge of the scene window is close to the patient, the head and the entire...

View Article

Meshes disappears near the ground

I have an issue with meshes, which lies on the ground: when I move camera - they appears and disappears. Can you help me to fix this?   link: https://ptg-logistic-ts-insane-joe.c9users.io/   I tried to...

View Article
Browsing all 388 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>