Currently we generate random rectangular prisms that start on 0,0,0. And I want to create a measurable, standard-size grid so the user can judge scale. Maybe I will have the grid tick every 100 units or so which corresponds to 100mm in our program.
All the rectangles are different sizes, so I will increase/decrease the size of the ground grid circle accordingly to be maybe 30% larger than the object.
Questions:
Is it possible to make this ground grid into a circle instead of a square?
1a. I believe I answered my question by finding this topic: https://playground.babylonjs.com/#LAAHD8#1
Is it possible for the actual grid lines to fade-out on the edges?
How can I make the ground grid opacity go to 0% when viewing from underneath?
When I go to the Material and Export it as a .JSON then try to import it I am only seeing the diffuse color but no grid or fade. Do you have any idea why?
I open material editor
I go to File > Save. The .Json from that link is 146kb
If I apply to a cube or plane etc. it is always only yellow (diffuse color) with no grid
It is hard to tell as it works in the PG and it is essentially what it is doing: the BABYLON.NodeMaterial.ParseFromSnippetAsync("#I4DJ9Z#4", scene); call is getting the json form of the node material and parses it.
Also, in this PG I have simply saved the material from the NME (save button) and copied/pasted the content of the file into the PG (line 42):