Welcome to our new forum!!!
The previous one will remain for archive purposes only.
Feel free to discover our new home and make yourself comfortable
Welcome to our new forum!!!
The previous one will remain for archive purposes only.
Feel free to discover our new home and make yourself comfortable
Just because it is so easy now, let me flag this as an answer
Adding a link to the Playground is easy:
But that will be better if we could open url in the new tab, so as not to lose the topic, but apparently, it’s not possible, not option “_blank” in link tool, it’s pity
There is an option for that in your settings
Example on how to ping someone: @jerome;)
(Just type @ and start the name of who you want to ping)
@Deltakosh Cool
For the link to open the PG directly, you have to right click on the link and open in a new tab.
Because if I click directly on the link I come across a spam page that says :
We have not been able to verify that the link you have selected has been posted on the forum. If you still want to continue, select the link below.
@Dad72
Just click the link again below the text
But there must be a way to whitelist domains to avoid that page.
Yes I saw that the link leads to the PG, but it is 2 clicks instead of one.
It would be better to whitelist.
Yes I’ve ping Discourse for the whitelist
Breaker 1-9, this here’s The Rubber Duck. You got a copy on me, PigPen, c’mon?
How about a little code-paste test.
var manager = new BABYLON.GUI.GUI3DManager(scene);
var panel = new BABYLON.GUI.PlanePanel();
panel.isVisible = false;
panel.margin = 0.2;
manager.addControl(panel);
panel.linkToTransformNode(anchor);
panel.position.z = -1.5;
Ok, that’s tolerable (after I learned what Deltakosh taught me about javascript prefix, and fixed my previous attempt)
Why is the GUI on this forum… SO NEAR-TO screen bottom? Heck, just mousing-over a link… which brings up the URL on the browser status line at screen-bottom… blocks some of the forum GUI.
I wonder if we can have our own theme or CSS. hmm. SO much to learn. Maybe a couple snorts of cranberry schnapps will help. I’m scared.
Code is also supported (by adding ```javascript at the beginning and ``` at the end):
// This creates a basic Babylon Scene object (non-mesh)
var scene = new BABYLON.Scene(engine);
// This creates and positions a free camera (non-mesh)
var camera = new BABYLON.FreeCamera("camera1", new BABYLON.Vector3(0, 5, -10), scene);
// This targets the camera to scene origin
camera.setTarget(BABYLON.Vector3.Zero());
// This attaches the camera to the canvas
camera.attachControl(canvas, true);
// This creates a light, aiming 0,1,0 - to the sky (non-mesh)
var light = new BABYLON.HemisphericLight("light1", new BABYLON.Vector3(0, 1, 0), scene);
// Default intensity is 1. Let's dim the light a small amount
light.intensity = 0.7;
// Our built-in 'sphere' shape. Params: name, subdivs, size, scene
var sphere = BABYLON.Mesh.CreateSphere("sphere1", 16, 2, scene);
// Move the sphere upward 1/2 its height
sphere.position.y = 1;
// Our built-in 'ground' shape. Params: name, width, depth, subdivs, scene
var ground = BABYLON.Mesh.CreateGround("ground1", 6, 6, 2, scene);
This is my first comment here
I gave you a like for that!
thanks alot!!
Hi everybody
Hi John and welcome!!
Great to see SSL enabled on this forum