Hello,
I am working on a project using using babylonjs, where a player can create a room and fill it with (pre-exisiting, loaded) objects and then export that scene to be able to create a realistic render of it.
I am pretty new to this 3d stuff, I have been a front end web developer for 5 years now.
Is it possible to do what I want to do ? I was thinking of using cycles engine (Blender) to do the server side rendering.
I noticed I can export scenes from babylon in GLTF and OBJ. Can cycles read that and render the scene ? (the exported data should contain lights info, HDRI map, camera position, objects positions and transforms).
Can I use a standard format for this ? and in the worst case, can I create a data format manually and read it / convert it on the server side so that the renderer understands the scene ?
Something like
data = {
objects: [{ fileName, position: {x, y, z}, scale, rotate, otherAttributes ... }],
hdri: "filename",
camera: { position: {x , y , z}, direction: {x, y, z}, otherAttributes, ...},
lights ...
}