Discord
Login
Community
DARK THEME

Is it possible to create 3d models as repeated values

I want to render 3d cubes with different names so that each one can render on its own in a repeater like a voxel, each block with its own textures, is it possible?

In theory, yes.
In praxis, maybe not a beginner task...

Something like this ?

https://microstudio.io/i/TinkerSmith/babylonsprite/

You can try PIXI3D

https://microstudio.dev/i/Loginus/pixi3d_2_4/

or THREE

https://microstudio.io/i/Loginus/three

Both are rather difficult.

I wanted to move this project to MicroStudio >>

https://www.youtube.com/playlist?list=PLtzt35QOXmkKALLv9RzT8oGwN5qwmRjTo ( Minecraft in THREE )

But it turned out that it had a lot of internal dependencies, and since MicroStudio did not show JavaScript errors, it stopped the transfer.

I mean a script to rename the id box = BABYLON.MeshBuilder.CreateBox("box", object end, scene) box.position.set(0,20,0) currentblock is the block that is going to be rendered on current model from a list but it seems i cannot rename the box ID before = using a script to go like this box = BABYLON.MeshBuilder.CreateBox("box", object end, scene) box.position.set(0,20,0) box(rendering) = BABYLON.MeshBuilder.CreateBox(currentblock, object end, scene) box.position.set(0,20,0) box(rendering) = BABYLON.MeshBuilder.CreateBox("box", object end, scene) box.position.set(0,20,0) where rendering is a variable that checks all the lists for first time 3d model spawner so that the terrain is generated

box(rendering) = BABYLON.MeshBuilder.CreateBox(currentblock, object end, scene)

This is incorrect syntax - it doesn't work in MicroScript. Are you translating code from another language?

I have only 3-4 days in microscript, so yeah, I am doing that

https://microstudio.io/JimB007/babylonstarter/

See this sample code. Boxes are created. And one of them even has texture.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community