NeuroMorph-EPFL / NeuroMorph

The NeuroMorph analysis and visualization toolkit
https://neuromorph.epfl.ch/
Other
63 stars 22 forks source link

Cannot view stack images in Cycles render #4

Closed loftiskg closed 3 years ago

loftiskg commented 6 years ago

Hello,

I am trying to render the stack images using blender cycles. The images display on the plane connected to the stack ladder in the viewport and when I render using Blender Render, however; the plane is blank when I render with Cycles. Any thoughts on how to go about resolving this? I feel like it is something simple, but the solution is eluding me.

Thank you in advance!

ajorstad commented 6 years ago

Hi - There is an "Include images in render" checkbox in the 3D Drawing tool that must be checked in order for the images to be rendered. I have not checked this functionality with the most recent version of Blender, so it's possible that it no longer works, but it did at some point!

loftiskg commented 6 years ago

Yes, I did see the 'Include images in render' checkbox, and i have ensured that it was on. The image in fact renders with the Blender Render, however does not show up when I switch to the cycles rendering. I will keep toying around with it to see if I can get it work. Thank you!

ajorstad commented 6 years ago

I am not sufficiently familiar with how Cycles rendering works, so I'm afraid I can't help you there. What we had to do for the Blender Render was to create plane objects with texture materials, which is a bit slower than the "empty" objects we normally use for the images, but empties are not rendered. You can try to follow the "render_images" variable through the code to see if any of the modifications might need further development for Cycles. Apparently the Materials Utils tool converts regular Blender materials and textures for use in Cycles, so maybe that might help?

If/when you figure it out, do let us know!

ajorstad commented 3 years ago

Since the update to Blender 2.8+, images are now loaded as texture materials on mesh planes, and they display correctly in the render, so this issue is now resolved.