How to optimize spline/edge for smoother viewport?

Next
 From:  Moi3dFan
11247.1 
Google drive: https://drive.google.com/file/d/1gNNZbPSwLwrDd3W7n8Ux0my9hT30HSPi/view?usp=sharing

The video shows that when the viewport is refreshed with curves and edges enabled, it takes ~48ms to render a frame.
If you turn off the curves, the frame is rendered twice as fast. By disabling edges, performance increased even more (~12ms)

I set the Mesh angle to 10. I know that higher values will speed up the viewport, however I have noticed that curves/edges take a lot of resources.
Is it possible to optimize this point? My set GraphicsAPI=Auto

Also on the video I noted the fact that when moving geometry performance drops to ~250ms, but when copying the same geometry to draw a frame takes only ~50ms
Is it a bug? Because I don't see any difference in these processes. While when you copy geometry it is duplicated and snaps also work.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11247.2 In reply to 11247.1 
Hi Moi3dFan,

re:
> Is it possible to optimize this point? My set GraphicsAPI=Auto

Sorry no, there currently isn't any setting to make curve drawing rougher. I have some ideas on improving curve performance that I hope to investigate in the future.


> Also on the video I noted the fact that when moving geometry performance drops to ~250ms, but
> when copying the same geometry to draw a frame takes only ~50ms
> Is it a bug?

The difference is possibly related to the original object being hidden for the move case, it probably inhibits some optimizations to avoid invalidating the hit test map.

You might also test with View > "Display hidden lines" on or off and also ObjectSnapShowMarkers=n in moi.ini .

If you can send me the file so I can reproduce it over here I could investigate it some. It's difficult for me to accurately draw any conclusions without being able to reproduce it here.

Thanks, - Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Moi3dFan
11247.3 In reply to 11247.2 
It's a big file, so I uploaded it to the Google drive
https://drive.google.com/file/d/164J6CTE-u1OBK90Yj7p46_Jx3QEF6t2H/view?usp=sharing

I would be happy if this helps to make Moi3D faster in future updates

Thanks, and I look forward to hearing more news on beta v5. Can you at least show us a little bit of your progress?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11247.4 In reply to 11247.3 
Hi Moi3DFan, yes try setting View > "Display hidden lines" to be on and/or ObjectSnapShowMarkers=n in moi.ini, does that then have the same behavior for move vs copy?

Re show stuff - it's been a lot of bug fixes and some experiments for a while so I don't have a lot of stuff to show, I'm hoping to get a new release set up soon though.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Moi3dFan
11247.5 In reply to 11247.4 
re:
> try setting View > "Display hidden lines" to be on and/or ObjectSnapShowMarkers=n

It became many times faster, but there is still a difference between copy and move

re:
> I'm hoping to get a new release set up soon though

Can I be helpful? As you can see I'm a big fan of moi3d, and could help you with videos about new versions, or fresh updates to the program.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All