Kewl's picture

Let's say that I have a 4000*1000 pixels rectangular image that is destined to a cylindrical projection: how would I proceed to transform this image to a fisheye image for an eventual dome projection? TIA!

Comments

You could render the image

jstrecker's picture
Submitted by

You could render the image onto the inside of a cylinder (Make Tube), then place a camera (Make Fisheye Camera) inside the cylinder.

Or maybe somebody's made a PBMesh file that maps from cylinder to fisheye, which you could use with Warp Image with Projection Mesh.

Thanks. What settings do I

Kewl's picture
Submitted by

Thanks. What settings do I use for to put the fisheye at the bottom of the tube, in the center, looking up? And, there's seem to be a (virtual) light source: what do I tweak for an evenly distributed lighting inside the tube?

Thanks. What settings do I

Bodysoulspirit's picture
Submitted by

Thanks. What settings do I use for to put the fisheye at the bottom of the tube, in the center, looking up? And, there's seem to be a (virtual) light source: what do I tweak for an evenly distributed lighting inside the tube?

Not tested but if your tube is vertically set at Z=0 and has a height of 1, put the make targeted fisheye camera its position at Z=0 too to be IN the tube, set it's Y position at (-the half of the height of your tube, so if 1 at y=-0,5) and set it's direction to the top of your tube, so Y target at +0,5 for example ...

If I get your question ;)

An for the lightning does it solve the problem if you use shade with unlit imagerather then shade with image ?

So the colors do look like

Bodysoulspirit's picture
Submitted by

So the colors do look like inverted right ? Probably easier if you shared a screenshot of the composition or the composition.

For the Set Window Property does it not work when you use the node change window size attached to the Render Scene to Window Property Port ?

Byttheway, it looks great ! ;)