- 2020-09-15 at 4:48 pm #32902
Is it possible to set a fixed aspect in order to match a rendered image 100% for webgl?
I’m trying to overlay webgl with some rendered image and would need to get exactly the same camera/aspect as for the rendering.2020-09-15 at 8:52 pm #32904GlifTekLicensee
You can get the image dimensions then update the dimensions of your v3d-container to it with the get/set attribute html puzzles2020-09-16 at 7:05 am #32911
I’ve already placed the v3d-container inside of a div with the correct aspect.
But the camera itself isnt placed as it should be2020-09-16 at 7:48 am #32913Yuri KovelenovDeveloper2020-09-16 at 8:11 am #32916
What exactly do you mean with render with verge3d?
I’m trying a hybrid version of pre-rendered images and overlaying webgl content. Because a pure webgl version is to overkill. We got threes, humans, cars, grass, approx. 30-40mio polys so no way to show that in webgl.2020-09-16 at 12:25 pm #32935Yuri KovelenovDeveloper2020-09-17 at 10:45 am #32970
- You must be logged in to reply to this topic.