Home › Forums › Bug Reports and Feature Requests › Issue with server side rendering
- This topic has 6 replies, 3 voices, and was last updated 4 years, 5 months ago by Yorick.
-
AuthorPosts
-
2020-07-16 at 3:23 pm #30223YorickCustomer
Dear Verge,
We are running into problems implementing Server Side Rendering with Verge3D.
The model is running fine locally and in our application online.
But when running on our server (both private hosting and on Amazon EC2).
Some aspects of the model are not shown correctly.You can see an example where it goes wrong here:
https://drive.google.com/file/d/1kfqS9FKZYj6vWeV6dioZKjSN8XkXLeAh/view?usp=sharingThis video is taken on an Amazon EC2 instance with GPU (https://aws.amazon.com/blogs/aws/now-available-ec2-instances-g4-with-nvidia-t4-tensor-core-gpus/).
The result of chrome://gpu is attached as a PDF. No clear errors in the console.
Version of verge: Verge3D 2.17.1 (WebGL 2.0)Our 3D engineer will share the used files in a couple of hours.
Please advise on how we can get this working correctly.2020-07-16 at 3:45 pm #30225Alexander KovelenovStaffHi,
Have you considered a Z-fighting issue? Perhaps your surfaces are located too close to each other or you have a large camera distance range (try to increase camera near and/or decrease camera far distance).2020-07-16 at 5:09 pm #30232dragosburianCustomerHello Alexander,
Here is the blend file used for exporting the scene Yorick presented, regarding Z fighting, I did try changing the camera range and even increasing the thickness of windows significantly(50 times) in order to eliminate that possibility. The issue persisted, I am also attaching another example of how the image gets warped, where not just faces close to each other fail to render properly. Please let me know if you need anything else, we are really looking forward to fixing this.
https://drive.google.com/file/d/1AfkcHHTFoXJ2CMlqo9R0PHnIesvbxGZS/view?usp=sharing
Dragos2020-07-16 at 5:49 pm #30237Alexander KovelenovStaff2020-07-17 at 5:55 am #30248YorickCustomerThanks for the hint Alexander, we’ll look into it.
But how come this happens on our servers and not locally? Should they not render the same?Could it have something to do with Rasterization that is on that server “software only” in chrome?
2020-07-17 at 7:16 am #30253Alexander KovelenovStaffNo, the most important line in your GPU report is “WebGL: Hardware accelerated”, while rasterization is used to draw various HTML elements on the page.
Most frequently, such difference occurs because various hardware has different depth buffer precision (the WebGL/OpenGL spec allows such situations).
2020-07-22 at 4:30 pm #30478YorickCustomerThanks, great support Alexander!
-
AuthorPosts
- You must be logged in to reply to this topic.