Before render, i change render options in Viewer


#1

I want to change render settings based on the values ​​I received before rendering.

To get to that point, How do I do that?

or how to redraw in viewer??

i know that the setColor function is not available in Viewer.

I want to be different between viewer and modeler


#2

Please explain in clear terms what you are trying to achieve. Code snippets and/or screenshots would be helpful.


#3

It’s complicated because there are multiple of code.
Can I capture the point before rendering in the viewer?


#4

Do you mean executing code before an element get’s rendered?


#5

yes, i want to capture that point.

Have you been exposed as an event in the viewer?


#6

You can listen for render.shape and render.connection.