Change Scenes Perspective property

(Fabian Schempp) #1

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.



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.

(Jonathan Deutsch) #6

This code can be added to the head html:

	.HYPE_element_container {
		-webkit-perspective: 1000px !important;
		perspective: 1000px !important;
		-moz-perspective: 1000px !important;

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