algorithmic modeling for Rhino
To make Rhino WallPaper play *.jpg files as a video player.The fps is unstable.At first it displays about 30 pictures per second.Then it become more and more slower.
private void RunScript(bool x, object y, ref object A)
{
string str = @"D:\Program Files\The KMPlayer\Capture\bad (" + (I).ToString() + ").jpg";
I++;
if(I > 6472)I = 1;
RhinoDoc.ActiveDoc.Views.ActiveView.ActiveViewport.SetWallpaper(str, true, true);
owner.ExpireSolution(x);
}
int I=1;
Tags:
Adjusting the wallpaper to play videos is a phenomenally bad use of that feature. Rhino will cache these bitmaps leading to ever increasing 3dm file sizes.
I don't think there's anything in Rhino that can be used effectively to play video, as textures are cached as well. You'll have to ask on our Discourse forum whether anyone has a better idea on how to do this.
--
David Rutten
david@mcneel.com
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by