Jump to content
smartavionics

Why does Cura 2.5's layer view want OpenGL 4.1 when S3D works great with 2.1?

Recommended Posts

Posted · Why does Cura 2.5's layer view want OpenGL 4.1 when S3D works great with 2.1?

It's nice that Cura 2.5 has a new layer view but why does it require OpenGL version 4.1?

I am stuck with OpenGL 2.1 and S3D's layer view still looks really nice. If S3D can do it, why not Cura?

Share this post


Link to post
Share on other sites
Posted (edited) · Why does Cura 2.5's layer view want OpenGL 4.1 when S3D works great with 2.1?

Why do apples taste different than oranges? Both are fruit!

The new layerview in Cura uses geometry shaders to offload most of the heavylifting of making the layers look spatial to the GPU. This way it can be done without too much change to the underlying code without a bug impact on performance.

Replacing the entire architecture of Cura to improve layerview just wasn't going to happen. The new layerview is an evolution, that leverages more modern GPUs in a smart way.

PS: remember layerview in Cura 2.1? Woah, things improved over the past year!

Edited by Guest

Share this post


Link to post
Share on other sites
Posted · Why does Cura 2.5's layer view want OpenGL 4.1 when S3D works great with 2.1?

Thanks for the reply. I think I understand what you're saying.

Share this post


Link to post
Share on other sites
Posted · Why does Cura 2.5's layer view want OpenGL 4.1 when S3D works great with 2.1?

The tl;dr is: "Yes it's possible, but would slow down your computer and cost a lot of resources to build".

Share this post


Link to post
Share on other sites
Posted · Why does Cura 2.5's layer view want OpenGL 4.1 when S3D works great with 2.1?

Better tl;dr: "Yes it's possible, but would slow down your computer or cost a lot of resources to build"

Spend enough time & resources on it (that cannot be spent on anything else), and it should be possible to get it to perform well on OpenGL 2.1 too.

Share this post


Link to post
Share on other sites
Posted · Why does Cura 2.5's layer view want OpenGL 4.1 when S3D works great with 2.1?

Hmm, another thought occurred... how come the solid view looks so nice on my machine given that it is only using GL 2.1? If the solid view can look nice, why can't the layer view too?

Share this post


Link to post
Share on other sites
Posted · Why does Cura 2.5's layer view want OpenGL 4.1 when S3D works great with 2.1?

Hmm, another thought occurred... how come the solid view looks so nice on my machine given that it is only using GL 2.1? If the solid view can look nice, why can't the layer view too?

 

The engine sends us 2D data for the layerview. We use geometry shaders to convert those into geometries. In order to do that, we need a pretty high opengl version.

Share this post


Link to post
Share on other sites
Posted · Why does Cura 2.5's layer view want OpenGL 4.1 when S3D works great with 2.1?

The solid view contains the triangles of a mesh, while the layer view has a lot more data to show.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!