By Gothra
#259273
I'm a fairly new user of Rhino / Maxwell.
Currently working on a facade louvre screen system, and have a simple question.

How can I use a JPG as a background for the render?

I have tried setting the "Viewport Properties\Wallpaper options - show wallpaper" and
"Maxwell\Maxwell Scene Manager\Environment\Image Based Background" but it only allows MXI, HDR & HDRI format.

For time being I am using rendered alpha channel to paste the background JPG with Photoshop as a workaround.

Thanks in advance, & best regards,
Jacky Lok

Image

Image
User avatar
By Tim Ellis
#259288
Hi mate,


start mxcl either from the desktop link or using the run command. mxcl -d -p:low

Then open your jpeg image from the file menu.
Adjust the exposure, shutter and fstop to match the camera settings you'll use for your render.
Save mxi from the file menu, or save hdr image.
Load either of these into the mxi/hdri enviroment tab.

Be aware that with 'Alpha' checked in the render options, you will not see a background image during or after the render. This is to help with compositing when the render has completed.

Tim.
By Gothra
#259542
Hihi thanks a lot for the help~! :D

I just bumped into another problem when I finally manage to get the background mxi to show after following your instructions.

My environment settings:

Image

BG2.mxi is the resultant file for background in this case

What I want to achieve simultaneously are:
1) It shows the mxi file as background
2) while keeping the Sun (under Physical Sky) as main light source

Apparently the said settings cannot satisfy both criteria for me, and I would love some help how to tweak them.

Also some extra queries I have:
1) What is "Screen Mapping" under Background
2) When environment type is "Image Based", I can still enable the Physical Sky Sun, but somehow its not showing on the rendering.

Apologies for asking noob questions, I tried going thru the Maxwell manual again, but some of the explanations for Environment Settings are rather vague.
By JDHill
#259550
Hi Gothra,

As of version 1.6, you should be able to enable the Sun in your render regardless which type of environmental lighting your scene uses. So, I'd check the date/time/location of your scene - if you use Physical Sky for lighting it's easy to see when those are wrong because it will render pitch black, but if you're lighting things with Sky Dome or an .mxi, you could be rendering at midnight and still light the scene fine by the ambient light from the environment.

Screen Mapping - by default, environments use a spherical projection, where the observer is placed inside of a huge sphere which has the MXI/HDR painted on its inside. In the case of the background, this may not be what you have in mind - Screen Mapping will cause the map in the Background slot to be mapped flat on the viewport, always perpendicular to the camera. The plugin can't currently show this kind of mapping in the Rhino viewport, but if you open up Studio and switch Screen Mapping on/off, it should become pretty clear - it sounds like this is probably the mode you're looking for. When the background has Screen Mapping enabled, the scale and offset values mean different things than they do for a spherical mapping - rather than being percentage of rotation (makes sense for spherical space), they mean percentage of lateral shift/scale - basically the same as tile/offset for regular textures.

For what you want to do, try this:

1. delete the 'Path' for one of your Image Based channels - 'Link Channels' is enabled, so this should remove the .mxi for all four channels
2 set Scene Rotation to zero
3. switch back to Physical Sky and check the scene time/date/location - if you have a rendered viewport, try toggling on the sun in the Rhino viewport (it's in the toolbar in Location Settings) - you can easily see where the Sun is located
4. back in Environment settings again, turn off 'Link Channels', load your .mxi into the Background channel, and enable Screen Mapping
5. switch 'Disabled Channel Lighting' to Physical Sky

This will cause your .mxi to appear as a background image, mapped flat on the viewport while the ambient lighting will be that of the Physical Sky, so it will be appropriate for how you've set up the time/date/location of the scene. You may want to use your map for the other channels as well, it depends on the look you are trying to acheive.

Hope it helps,

JD

p.s. that is one huge Scene Manager you've got there. :) In the Plugin Options page, you can hide the tab-text so you can keep the window narrower without having to scroll side-to-side to get to the different tabs. I'm also not sure if you are using that font on purpose, or if it's just defaulted to that, but just so you know, you can change it - this is also in the Plugin Options tab.
By Gothra
#260032
Works perfect following your instructions~!!!

Thanks JD :D
render engines and Maxwell

well I don't think AI will remain like it is now. […]

Help with swimming pool water

Hi Andreas " I would say the above "fake[…]