1
$\begingroup$

I made this object using geometry nodes.

enter image description here

enter image description here

I want red objects not to be rendered.

What node should I use?

$\endgroup$

2 Answers 2

6
$\begingroup$

Remove the Join Geometry node by clicking it and pressing Ctrl + X. Only the Realize Instances should be connected to the geometry output.

$\endgroup$
1
  • $\begingroup$ Although in the node setup above Ctrl+X would only keep the red object - but of course the instances should be connected to the output. $\endgroup$ Commented Dec 9, 2022 at 15:05
2
$\begingroup$

If you want to see the red objects in the viewport to see what you're doing while editing but don't want to see them in the final render, you could use a Switch node in combination with the Is Viewport node.

Plug the Is Viewport into the Switch input, the instanced blue objects into the False input and the result of the Join Geometry node into the True input.

This way when Is Viewport is true i.e. watching the object in the viewport, you see both the red and blue objects. When you render the scene, the Is Viewport result is false and you only get the blue objects rendered.

viewport switch

If you don't need to see the red one in the viewport, simply don't join the geometry and plug only the instances in the Group Output.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .