Change Scenes Perspective property

Hi, I make an animation where i use 3D Rotation.
I would like to know if it is possible to change the CSS perspektive property of the Document to lower the perspektive distortion of the rotated objects.

Thanks
Fabian

Hi Fabian (@FabianSchempp)

You can change this by inputting CSS values into the Head HTML or programming it via javascript

It seems the inline style override the styles I insert in the head.

Make sure you put !important after the declarations.

Yep, that worked.
Thanks!

This code can be added to the head html:

<style>
	.HYPE_element_container {
		-webkit-perspective: 1000px !important;
		perspective: 1000px !important;
		-moz-perspective: 1000px !important;
	}
</style>

(but note this is unsupported and will mess with the scene editing environment!)

1 Like