Volume cube won't render in Cycles #106776

Closed
opened 2023-04-10 22:40:39 +02:00 by Gurra · 5 comments

System Information
Operating system: Windows 10
Graphics card: Nvidia RTX3090

Blender Version
Broken: 3.3, 3.6
Worked: (don't know)

Short description of error
I've made a simple volume cube and attached a material to it, and as you can see on the screenshot it's there in the regular viewport, but as soon as I switch to rendered viewport it doesn't show. In Cycles that is, it's working as intended in Eevee. If I also add a 'volume to mesh' and then a 'mesh to volume' it shows up. I've tried with both a regular geometry object as a base for the geo node modifier and also a volume object but both refuses to render as they should.

Exact steps for others to reproduce the error
Open the attached .blend file and try it.
I also added those extra two nodes in there for you to see how it works with those enabled.


  • Open default scene
  • Add volume cube do default GN tree
  • Switch to viewport rendering (check results with both engines)

**System Information** Operating system: Windows 10 Graphics card: Nvidia RTX3090 **Blender Version** Broken: 3.3, 3.6 Worked: (don't know) **Short description of error** I've made a simple volume cube and attached a material to it, and as you can see on the screenshot it's there in the regular viewport, but as soon as I switch to rendered viewport it doesn't show. In Cycles that is, it's working as intended in Eevee. If I also add a 'volume to mesh' and then a 'mesh to volume' it shows up. I've tried with both a regular geometry object as a base for the geo node modifier and also a volume object but both refuses to render as they should. **Exact steps for others to reproduce the error** Open the attached .blend file and try it. I also added those extra two nodes in there for you to see how it works with those enabled. - - - - Open default scene - Add volume cube do default GN tree - Switch to viewport rendering (check results with both engines) ![](https://i.imgur.com/sChLj1B.png) ![](https://i.imgur.com/poKasRu.png)
Gurra added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-04-10 22:40:39 +02:00
Member

Thanks for the report. I can confirm.

Thanks for the report. I can confirm.
Pratik Borhade added
Module
Render & Cycles
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-04-12 08:00:38 +02:00
Iliya Katushenock added the
Interest
Geometry Nodes
Interest
Nodes & Physics
labels 2023-04-12 13:41:07 +02:00

If you scroll the X-resolution while in render mode the cube shows up but seems to disappear on some even values (on multiples of 8?).

If you scroll the X-resolution while in render mode the cube shows up but seems to disappear on some even values (on multiples of 8?).
Author

Yup dragging any of the resolution sliders seems to make it appear. And I'm not sure if it's intended, but lowering it increases it's size, and upping it gives it a slightly funky outline.

Yup dragging any of the resolution sliders seems to make it appear. And I'm not sure if it's intended, but lowering it increases it's size, and upping it gives it a slightly funky outline. ![](https://i.imgur.com/bEgfhj7.png) ![](https://i.imgur.com/3277tM8.png)

I experimented a bit more with this and noticed that when the input density is not a constant float value, for example noise is added, it works fine.

bild

I experimented a bit more with this and noticed that when the input density is not a constant float value, for example noise is added, it works fine. ![bild](/attachments/a26c9e7f-bc63-48ee-900e-e31b6efdfd55)
138 KiB

It seems like the problem here is that no leaf nodes are created in the volume grid when the Density is constant, which tricks Cycles into thinking the grid is empty.. Will submit a PR with a propsed fix.

It seems like the problem here is that no leaf nodes are created in the volume grid when the Density is constant, which tricks Cycles into thinking the grid is empty.. Will submit a PR with a propsed fix.
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-05-02 20:14:07 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#106776
No description provided.