# Is it possible to render threejs scenes automatically in e.g. Cycles renderer

**URL:** <https://discourse.threejs.org/t/is-it-possible-to-render-threejs-scenes-automatically-in-e-g-cycles-renderer/57946>\
**Category:** Questions\
**Tags:** scene, render, blender\
**Created:** [November 9, 2023, 8:15am UTC](https://discourse.threejs.org/t/is-it-possible-to-render-threejs-scenes-automatically-in-e-g-cycles-renderer/57946 "2023-11-09T08:15:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalabedo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/kalabedo/32/43091_2.png) [@kalabedo](https://discourse.threejs.org/u/kalabedo)\
**Post date:** [November 9, 2023, 8:15am UTC](https://discourse.threejs.org/t/is-it-possible-to-render-threejs-scenes-automatically-in-e-g-cycles-renderer/57946/1 "2023-11-09T08:15:46Z")

</div>

Hi all,

I am building a configurator for furniture and would like the user to be able to request a more realistic image than in the threejs renderer. I found this thread

> [@Renderfarm.js - server side photorealistic rendering of threejs scenes](https://discourse.threejs.org/t/renderfarm-js-server-side-photorealistic-rendering-of-threejs-scenes/12227?page=2):
>
> renderfarm.js is a server-side solution for slow photorealistic rendering of three.js scenes. [5530c1fb-234f-4d31-89ea-bc2737908355] Following features are currently available: merge three.js scene into existing 3dsmax scenes, three.js material name is used to apply pre-defined materials from 3dsmax scene, three.js material groups are imported as MultiSubMaterial, all Vray settings can be defined by client library, support instanced geometry, support of PerspectiveCamera, support for lightma…

which offers exactly this function, but there is no more current information. My idea to solve this problem is to export a GLB file and load it automatically into Blender. Has anyone ever implemented a similar function and has any tips or solutions?

Greetings Tom

---

<div class="post-metadata">

**Author:** ![mjurczyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mjurczyk/32/10995_2.png) [@mjurczyk](https://discourse.threejs.org/u/mjurczyk)\
**Post date:** [November 9, 2023, 1:29pm UTC](https://discourse.threejs.org/t/is-it-possible-to-render-threejs-scenes-automatically-in-e-g-cycles-renderer/57946/2 "2023-11-09T13:29:30Z")

</div>

1. Personally, I’d first check if [three-gpu-pathtracer](https://github.com/gkjohnson/three-gpu-pathtracer) wouldn’t yield results realistic enough to accept - that’d let you avoid quite a bit of complexity and stack mixing - since you could keep everything within JS and three.js.
2. If that’s not possible - you can mix together [GLTFExporter](https://threejs.org/docs/index.html?q=gltf#examples/en/exporters/GLTFExporter), [Blender CLI rendering](https://docs.blender.org/manual/en/latest/advanced/command_line/render.html) with [GLTF-to-Blender](https://github.com/Gorgious56/batch_convert_gltf) converter (or just write a python script by hand, so that you can import GLB into a blend file.)
3. If neither of these would work - you can hop on the AI train, first render your scene in Three.js in lower-grade 3D, save it as a PNG - then pipe it through StableDiffusion / Dall-E / Midjourney (MJ doesn’t have an API though 🥲), and ask AI to convert it into a realistic rendering with a proper prompt.

---

<div class="post-metadata">

**Author:** ![kalabedo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/kalabedo/32/43091_2.png) [@kalabedo](https://discourse.threejs.org/u/kalabedo)\
**Post date:** [November 9, 2023, 4:17pm UTC](https://discourse.threejs.org/t/is-it-possible-to-render-threejs-scenes-automatically-in-e-g-cycles-renderer/57946/3 "2023-11-09T16:17:55Z")

</div>

1. I already experimented with three-gpu-pathtracer and it’s good but not the kind of result i like
2. I managed to implement something like this on my local maschine, so it looks promising to get that onto a server with an API to send files and retreive images.
3. Thats not an option for now but sounds very interesting aswell:)

Thanks for your input, it pointed me in the right direction!!
