Page 4 of 4

Re: cheap fish eye lens on the thin lens camera

Posted: Sun May 17, 2015 6:55 pm
by joeycamacho
What I'm referring to is the the geometry of the lens itself showing up in other objects when it is very close to them. If I move closely to a reflective object in the scene, I can see the cube (lens) reflecting back.
Essentially this would be something like C4D's native "Seen By Rays" option in the compositing tag. I've attached a crude example of what I mean - by placing a reflective sphere close to the lens, you can see how the lens appears.
Wondering if there is a way to keep the lens effect, but remove it from reflections. As it stands, with the object tag - when checking camera visibility off, it turns off the effect completely, losing the lens effect.
fisheye_reflection_ex.jpg

Re: cheap fish eye lens on the thin lens camera

Posted: Sun May 17, 2015 7:37 pm
by lucioing
Beppe, is a friend of mine... Isn't it, Beppe? :D :D :D
Your performance is growing, day by day! Congratulation again!

L.

Re: cheap fish eye lens on the thin lens camera

Posted: Mon May 18, 2015 2:37 pm
by joeycamacho
A few more quick tests with this approach also reveal some issues with visibility options in the light and object tags. When looking through the refractive "lens", the camera visibility option has no effect, and you cannot remove lights or objects from the from the scene.

Is there any chance of getting a fish-eye lens similar to the VRayforC4D camera options - http://www.vrayc4d.com/manual/vrayforc4 ... ray-camera
It would be great to be able to have DOF, correct functions of tags.

Re: cheap fish eye lens on the thin lens camera

Posted: Mon May 18, 2015 5:31 pm
by bepeg4d
hi,
i have prepared another version to solve the reflection issue, but i think i have misunderstood your question :D
anyway here is another version that doesn't have the lens reflection in any object but you have to remove completely the reflections in the lens material:
before
before
after
after
FishEyeCornell_0001.c4d.zip
(158.19 KiB) Downloaded 226 times
FishEyeCornell_0001.orbx.zip
(120.89 KiB) Downloaded 214 times
Take in mind that this not an official fisheye camera node made by developers, but a workaround finded during playing with octane ;)

@lucio: hi, my friend :D
ciao beppe

Re: cheap fish eye lens on the thin lens camera

Posted: Mon May 18, 2015 8:32 pm
by joeycamacho
bepeg4d wrote:hi,
i have prepared another version to solve the reflection issue, but i think i have misunderstood your question :D
anyway here is another version that doesn't have the lens reflection in any object but you have to remove completely the reflections in the lens material:
Take in mind that this not an official fisheye camera node made by developers, but a workaround finded during playing with octane ;)
Thank for sending this over. Removing the reflection does not remove the "refraction" that cube shows up in the scene. In your scene it "seems" to disappear because there is nothing behind it - light source etc - but by quickly placing a plane behind it reveals the cube again.
If you put an object tag on your light or any objects and turn camera visibility to "off" (uncheck) - you will notice they remain still visible when looking through the fisheye.
This "fisheye" lens is a cool discovery - and hopefully can be implemented natively in Octane's camera settings. It would be really helpful to be able to use object tags and dof properly – so that it can be used for fulldome creation and more!
plane-behind.jpg

Re: cheap fish eye lens on the thin lens camera

Posted: Tue May 19, 2015 9:48 am
by bepeg4d
forgive me, not very clever from me to use a black background :D
here is another version with an air material for the sides of the lens instead of a black diffuse one:
before
before
after
after
FishEyeCornell_0002.orbx.zip
(121.02 KiB) Downloaded 214 times
FishEyeCornell_0002.c4d.zip
(167.63 KiB) Downloaded 217 times
as you can see, we loose the black frame but the effect is still there ;)
i'm with you for a proper fisheye node developed from otoy team, it would be very funny to play in the standalone ;)
ciao beppe

Re: cheap fish eye lens on the thin lens camera

Posted: Tue May 19, 2015 3:41 pm
by joeycamacho
Close - but it still shows. After moving the camera slightly around the scene you can see it appear.
fisheye-move.jpg
It's more the problem of not being able to use the properties of Object Tags properly that is frustrating, Hopefully we get this in V3!

Re: cheap fish eye lens on the thin lens camera

Posted: Wed May 20, 2015 5:57 am
by bepeg4d
weird, i can navigate the last scene with no issue
which plugin version are you using?
have you activated the check geometry option and the automatic mode?
anyway, finger crossed for a fish eye node in V3 ;)
ciao beppe

Re: cheap fish eye lens on the thin lens camera

Posted: Wed May 20, 2015 7:15 am
by joeycamacho
Beppe - I'm using 2.23.2 RC1
Automatic and check geometry are on.
You will see at certain angles, when close to the reflective objects, it will appear. Sometimes it will stay invisible, but at other times – the refraction of the cube is what shows up.
Crossing fingers for V3.