OpenGL Vertex Cache

   1996   2   1
User Avatar
Member
143 posts
Joined: Jan. 2016
Offline
Please, do you know how to utilize the GPU OpenGL Vertex Cache? I use it for fast realtime SOP viewport previews. It is much faster then the Cache SOP, but I use Alembic as a disk cache, so it is usually a dead end. Any tips how to utilize GPU Vertex Cache without .abc are highly appreciated! An example of speed comparison, the scene is attached:

Cache SOP ~ 25 fps
OpenGL Vertex Cache ~ 45 fps
OpenGL Vertex Cache, point cloud ~90 fps

(I have also raised Max allowed size of Vertex Cache in the Cache Manager to get these results)

Attachments:
vertexcache.hiplc (320.5 KB)

User Avatar
Staff
5156 posts
Joined: July 2005
Offline
You can't use it directly. Packed Alembic and Packed Disk Primitives/Sequences can cache geometry there, and all currently displayed geometry will use the cache until it's deleted. But there's no way to manaully cache things.
User Avatar
Member
143 posts
Joined: Jan. 2016
Offline
Thank you very much for your answer!

With HScript we may set the limits, great:
http://www.sidefx.com/docs/houdini/commands/glcache.html [www.sidefx.com]
Edited by ikoon - Aug. 27, 2018 23:08:55
  • Quick Links