Page 1 of 1

Image based environment offset not updating in view

Posted: Fri Apr 09, 2010 10:35 am
by bjorn.syse
Hi,

I might as always, have missed something here, but for me, it seems that whatever value I put in for example the Offset U box for the image based enviroment, does not propagate to the viewport. That is, I can not see the changes.

However, If I run the command Maxwell_EnvironmentSettings, and go down to ImageBasedChannels -> Illumination and change the OffsetU-value, I can see the change. After changing these values, the same values does not appear in the scene manager.

What's even more strange, is that the values seen when running Maxwell_EnvironmentSettings are a whole different set of values then what is seen in Scene manager. For example, the intensity value is set to five in the command prompt, but to 1 in the scene manager.

This is an issue for me on both the 2.0.5 and the new 2.0.6 plugin version.

Regards!

- Björn

Re: Image based environment offset not updating in view

Posted: Fri Apr 09, 2010 2:18 pm
by JDHill
I checked in Rhino 4 and Rhino 5, and it looks to be working fine here. Which version of Rhino are you using?

Re: Image based environment offset not updating in view

Posted: Fri Apr 09, 2010 2:20 pm
by bjorn.syse
Ok, I'm using 4.0 SR7 on Win7 64 (however Rhino 4 is 32 bit obviously.)

Re: Image based environment offset not updating in view

Posted: Fri Apr 09, 2010 2:28 pm
by JDHill
I'm on SR7 as well; are you running on Parallels, or via Bootcamp?

Re: Image based environment offset not updating in view

Posted: Fri Apr 09, 2010 2:46 pm
by bjorn.syse
Via Bootcamp,. I've given up on on Parallels nowadays..

Re: Image based environment offset not updating in view

Posted: Fri Apr 09, 2010 3:20 pm
by bjorn.syse
Ah, try this:

1: New scene, open Scene manager and Check "Use Background for all Channels"
2. Load HDR into background channel
3. Enable Illumination channel in the viewport
4. Change the values, for example Offset U for the Background channel in the Scene manager

See how the viewport is not updated even though the channels are supposed to be linked. If you enable Background channel in the viewport instead, the changes are there.

- björn

Re: Image based environment offset not updating in view

Posted: Fri Apr 09, 2010 4:05 pm
by JDHill
Thanks, it make more sense now. I think the behavior is correct, because the channels really are not supposed to be linked -- that is, 'Use Background for all Channels' does exactly what it says: when the mxs is written, the background channel parameters will be used for all channels. As such, when it is enabled, the viewport will look the same regardless of which channel you choose via the toolbar. While the UI prevents you from changing, say, the Illumination parameters, when the option is enabled, the command-line does not; you are perfectly able to set individual parameters on the actual Illumination channel, though, as you found, they will have no effect and so are not shown in the viewport until you disable 'Use Background for all Channels'.

Re: Image based environment offset not updating in view

Posted: Fri Apr 09, 2010 4:08 pm
by bjorn.syse
Allright, then I see.

So I should think of it more like, the values I use for the background channel will be used for the other channels aswell, but not until MXS-export-time, right?

Makes sense. I can use the Background channel to view the viewport changes instead.

Thanks for clearing that out.