Grasshopper

algorithmic modeling for Rhino

There's an old bug i keep running into related with the Param Viewer. When you have a large number of paths, it gets really slow, much slower than the panel component showing the same number of lines.

 

The redraw actually feels less than 1 frame/second.

Views: 685

Replies to This Discussion

Vicente, for this I use a script component...feed the tree into x (tree access) and then in the script:

A = x.Paths

If all you want is the paths, it does the trick.  It is a workaround...not a full solution...
Yes, i use a script component all the time too, i just check from time to time to see if the bug is fixed, but it isnt :)

David has explained this previously here: http://www.grasshopper3d.com/forum/topics/sluggishness-of-param-vie...

 

If you don't want to bother with scripting, you can even just cluster a param viewer to get the paths with no lag in display.  

Rewritten.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

wow, excellent work.

Well, don't get fooled by the high number. My laptop screen refresh rate is 60 fps, so anything I try to draw faster than that suffers from a lot less overhead since two Repaint messages that occur closer together than ~17ms are swallowed and you only eventually get a single redraw for them.

 

But anything over 40 or so feels completely smooth so, yes, it's good news.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Awesome.
also with pathmapper. Sometimes it helps to clusterise them)))

PathMapper display is slow? That's odd as it shouldn't draw much on the screen (unless you've defined hundreds of mappings, which I doubt). Can you post a mapper that repaints slow?

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks David, nice fix.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service