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

Reducing Calculations Solid Particle System updateparticles

I'm having some framerate issues (granted there are 240k vertices)...   Getting about 58 on Desktop... Drops to 15 Chrome on  Laptop and then 8 on Firefox on Laptop...   http://crab.strangled.net/   I...

View Article


Image may be NSFW.
Clik here to view.

Problem with layerMask and shadow

Hi all, and Happy New Year !!!!! I come with an over problem. I've got a ground, and some meshes on it (this is a strategy game). I've got 2 viewports, 1 for the game, and 1 for minmap to have a global...

View Article


Image may be NSFW.
Clik here to view.

Babylon.js and playing sounds

Anyone who has looked at the code I use for playing sound, music or dialog will notice that I use howler.js for playing sound. Now this New Year, I made a resolution to investigate more the the sound...

View Article

babylon js preloader

Hi,   We have used asset manager to import meshes into scene with the default loading UI. How can we show the progress of the load as can be seen in the link   http://webtrude.com/Models/hs00/trial4...

View Article

Bump maps

Well, I'm managed to generate textures and meshes using procedural techniques.  Now I'm working on bump maps.  For my first attempt, my assumption was the bitmap contained the actual normals, no worky....

View Article


getAltitudeAt()

continued from : http://www.html5gamedevs.com/topic/15523-getheightatcoordinates-alternative/?p=111175   same algo slightly modified for a ribbon : http://www.babylonjs-playground.com/#1QC4YQ#8

View Article

Mirroring objects (preferably as instance)

Hello,   Is there a way to efficiently mirror imported/created meshes in Babylon?   The obvious way would be to set the scaling of the desired mirror axis to -1, so that it could be part of the same...

View Article

Fluid Simulations using LiquidFun

Happy New Year All!   I had a little time over holiday break to play with LiquidFun and BabylonJS together. LiquidFun is limited to 2D physics, but you can still do some neat stuff together with BJS...

View Article


Oculus Renderer Question

Do we have anything like this?   https://github.com/wwwtyro/three-vr-renderer   I'm trying to get this thing to render to an oculus and having heck of a time with babylon.  Thanks!   -P

View Article


javascript object creation and "n is undefined"

Hello, I'm tryng to create an object wich holds mine ground in a scene, I'm using this code but it doesn't works, in console I receive a "n is undefined" message. But with the vector creation, for...

View Article

Best setup to work on Babylon.js

Hey guys, when you work on Babylon.js to extend it or fix something, for example Jerome adds his SPS, how does your setup look like. Because working with the one big Babylon.js from the dist folder...

View Article

Image may be NSFW.
Clik here to view.

Babylon.js dancer looks like a creature.

Hi   I tried SIMD example of Babylon.js in each browser.   http://www.babylonjs.com/Demos/SIMD/   However, In some browser, Babylon.js dancer looks like a creature. Is it a problem of the browser?...

View Article

How to create a selection ring like in Starcraft 2?

While building an RTS, how would I go about creating a selection ring under a specific unit, like in Starcraft 2?   What I mean is the green ring here:...

View Article


how to load a cubeTexture in diferent sizes for mobile & desktop

Hi all, I would like to load the textures for a cubeTexture in different sizes, so that first only a small resolution is loaded and then the normal textures. like LOD I would like to use the...

View Article

Parse / Serialize Animation Ranges

I do not see where AnimationRanges can be placed in a .babylon file.  Just thinking out loud, but this might a method of implementing the export of Actions in Blender, which are also named.  I got 90%...

View Article


Accessing AssetsManager imports

Hi,   Im new to Babylon.js but it seems fun, I have a simple question about the code below. It imports models and places them in random positions, whats the most efficient way to re-randomise the...

View Article

Image may be NSFW.
Clik here to view.

Quality of DynamicTexture Text with transparent background

Hi Babylon citizens!  Thanks for your help. This forum is really helpful! I'm getting text and dynamically drops it on the given plane with DynamicTexture. But I feels like quality gets lower when I...

View Article


How to create a hollow box (open from top side)

Hi all   I want to create a box (or a mesh) which should be open from top side. I will use it to drop items into it  using a physics engine such as cannon.js     For example the physics applied to the...

View Article

How to create a rectangular box?

When creating a box, there's the assumption that all sides are of equal length.   However, for a rubberband selection in an RTS I'd like to create a rectangular box on the fly (from the screen down to...

View Article

Updating CannonJS plugin

Hi all, is anyone going to update the CannonJS plugin to support latest Cannon version? I tried replacing the cannon.js to use the latest one and I got the same issue as described here:...

View Article
Browsing all 388 articles
Browse latest View live


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