Page 1 of 1

2.5D object/camera distortion

Posted: Tue Sep 18, 2018 4:09 am
by DK
Hi.
Just having issues with a 2.5D object V camera in Moho and wondering if anyone could offer some advice.
Created a Biplane from extruded objects that sit on x,y,z planes. The problem is when I drag this little
biplane past the camera it's wings and body extend out along the different planes dramatically the further
you drag it, to the point its almost unusable. I've seen people do this successfully before in Moho and wondered
what I need to do to get it to behave like a regular 3D object you can drag around anywhere around screen
without the distortion?

Many thanks for any help/advice.
D.K

Re: 2.5D object/camera distortion

Posted: Tue Sep 18, 2018 4:36 am
by synthsin75
Put in an immune to camera group?

Re: 2.5D object/camera distortion

Posted: Tue Sep 18, 2018 4:39 am
by DK
Hey Wes.
Thanks...I will try that and see how it goes.

Cheers
D.K

Re: 2.5D object/camera distortion

Posted: Tue Sep 18, 2018 7:50 am
by hayasidist
if you wanted some response to camera (rather than zero that you get from "immune") increase the separation between the object and the camera.

e.g. if you have an extrude thickness of 2 (on a layer with all default position/scale/rotation ...) then the near edge is at z = +2 and the far edge is at z = -2 With the default camera at 3.732 the distance between camera and near edge is 1.732 and the far edge is 5.732 away from camera. A "close enough" (but mathematically wrong) way to see relative "distortion" is to divide those numbers; so here you'll get a "distortion" of = 3.3. if you put the object at (say) z = -10 (and scale it up) then those numbers change to 11.732 and 15.732 and the distortion is 1.3 By contrast if you fly the object to have its near edge only 0.1 away from camera the "distortion" goes to 2.1/.1 = 21... Big numbers mean the front appears to be way way bigger than the back.

Bottom line: keep "3d" things a long way from camera or accept the relative "fish-eye" effects.

hth

Re: 2.5D object/camera distortion

Posted: Tue Sep 18, 2018 8:35 am
by DK
Wow...thanks hayasidist!
I've been out all day but i will get straight into these suggestions shortly.
Cheers
D.K

Re: 2.5D object/camera distortion

Posted: Tue Sep 18, 2018 10:56 am
by DK
Thanks again for the help guys. It worked a treat!

Cheers
D.k

Re: 2.5D object/camera distortion

Posted: Tue Sep 18, 2018 11:11 am
by hayasidist
glad you got it sorted!