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.

Thanks
Fabian


#2

Hi Fabian (@FabianSchempp)

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


#3

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


#4

Make sure you put !important after the declarations.


#5

Yep, that worked.
Thanks!


(Jonathan Deutsch) #6

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!)