Page 1 of 1

OctaneRender viewport constantly refreshing

Posted: Wed Oct 12, 2016 11:26 am
by stir
Hi

I stumbled over a strange thing here while i was rigging up some lights for a scene.

For the ease of use i wired the Environment/background color to a dummy.
So the lighting artist could easily animate the environmental light together with the other lightplanes in the scene.

The problem now is, as long as the background color is wired to the dummy the octan viewport render will constantly keep refreshing. and as soon as i unwire it behaves correctly again.

It might be a bug, or simply me not respecting the laws on how octane works :)
anyway, im putting the info here for others to know.


ofcource the workaround is to add the texture environment map to the slot, then animate the power value from there, that works fine.

Cheers
-Mats

Re: OctaneRender viewport constantly refreshing

Posted: Wed Oct 12, 2016 12:05 pm
by paride4331
Hi stir,
I can not understand exactly what you are doing and the issue you reported.
Could you attach a few screenshots and a file with the issue encountered, please?
Regards
Paride

Re: OctaneRender viewport constantly refreshing

Posted: Wed Oct 12, 2016 12:59 pm
by stir
Hi paride.
Thanks for the reply.
Here is a screenshot of how the pinthelper and the background color is wired

Image

attached is a file with the issue.
Octane_viewportRender_refresh.rar
(26.65 KiB) Downloaded 215 times
its really basic.
a new scene with 2 objects in the scene, plane and sphere.
wired the pointhelper to the background color.

The file is setup so you can open it and hit the viewport render and it should give you the "bug"

best regards
-Mats

Re: OctaneRender viewport constantly refreshing

Posted: Wed Oct 12, 2016 3:20 pm
by paride4331
Hi stir,
Your issue seems very curious ..
Why the background color can not be changed, is the priority swapped?
Paride

Re: OctaneRender viewport constantly refreshing

Posted: Thu Oct 13, 2016 1:10 pm
by stir
The background color can't be changed because it is wired one way to the helper object.

Moving the helper in the z axis will, change the background color.
And that is the idea. That's how I want it to work.

The problem is as long as the background color is wired the viewport render will keep refreshing


-Mats

Re: OctaneRender viewport constantly refreshing

Posted: Fri Oct 14, 2016 8:35 am
by paride4331
Hi stir,
I asked advice to octane 3ds max plugin developers,
following their response regarding your issue.
Regards
Paride

"The Z value from the dummy is used my max to set the RGB value of the background color.
But the RGB value is clamped between [0.0 and 1.0] ..
So, when the Z value is outside this range (for example 17.493 cm, as in the sample scene), every frame, we detect that it's different from the color, and do a refresh..
Everything is ok when Z is set to 0.7 cm for example..
It's easy to set the Z value by right clicking on the 'Move" icon, that brings the X,Z,Y change dialog..
There might be some way to use a max script function in this Wire dialog, to clamp / adjust the Z value to make sure the RGB to set is in [0-1] .."

Re: OctaneRender viewport constantly refreshing

Posted: Fri Oct 14, 2016 10:54 am
by stir
I see.

Thanks for bringing this forward.
Knowing what causing the issue makes it easier to avoid / fix in the future ;)

-Mats

Re: OctaneRender viewport constantly refreshing

Posted: Fri Oct 14, 2016 11:39 am
by paride4331
Hi stir,
Thank you for cooperation.
The priority is to repair most reported issue.
Regards
Paride