{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaGL/GLVisualize.jl/issues/117","repository_url":"https://api.github.com/repos/JuliaGL/GLVisualize.jl","labels_url":"https://api.github.com/repos/JuliaGL/GLVisualize.jl/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/JuliaGL/GLVisualize.jl/issues/117/comments","events_url":"https://api.github.com/repos/JuliaGL/GLVisualize.jl/issues/117/events","html_url":"https://github.com/JuliaGL/GLVisualize.jl/issues/117","id":182173570,"number":117,"title":"Outputting to video question","user":{"login":"leios","id":4985692,"avatar_url":"https://avatars.githubusercontent.com/u/4985692?v=3","gravatar_id":"","url":"https://api.github.com/users/leios","html_url":"https://github.com/leios","followers_url":"https://api.github.com/users/leios/followers","following_url":"https://api.github.com/users/leios/following{/other_user}","gists_url":"https://api.github.com/users/leios/gists{/gist_id}","starred_url":"https://api.github.com/users/leios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leios/subscriptions","organizations_url":"https://api.github.com/users/leios/orgs","repos_url":"https://api.github.com/users/leios/repos","events_url":"https://api.github.com/users/leios/events{/privacy}","received_events_url":"https://api.github.com/users/leios/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-11T04:51:47Z","updated_at":"2016-10-11T12:40:57Z","closed_at":null,"body":"I have recently gotten GLVisualize working on my machine(s) and have plotted the examples; however, I cannot seem to find an example using the \"create_video()\" function and am not sure of it's usage. It would seem that it concatenates a series of images into a video, but how do you get the series of images in the first place?\r\n\r\nI apologize if this is described somewhere and I missed it.\r\n\r\nThanks,\r\nJames"},"comment":{"url":"https://api.github.com/repos/JuliaGL/GLVisualize.jl/issues/comments/252905413","html_url":"https://github.com/JuliaGL/GLVisualize.jl/issues/117#issuecomment-252905413","issue_url":"https://api.github.com/repos/JuliaGL/GLVisualize.jl/issues/117","id":252905413,"user":{"login":"leios","id":4985692,"avatar_url":"https://avatars.githubusercontent.com/u/4985692?v=3","gravatar_id":"","url":"https://api.github.com/users/leios","html_url":"https://github.com/leios","followers_url":"https://api.github.com/users/leios/followers","following_url":"https://api.github.com/users/leios/following{/other_user}","gists_url":"https://api.github.com/users/leios/gists{/gist_id}","starred_url":"https://api.github.com/users/leios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leios/subscriptions","organizations_url":"https://api.github.com/users/leios/orgs","repos_url":"https://api.github.com/users/leios/repos","events_url":"https://api.github.com/users/leios/events{/privacy}","received_events_url":"https://api.github.com/users/leios/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T12:40:56Z","updated_at":"2016-10-11T12:40:56Z","body":"Great! To be clear: the HideWindow(...) function should be placed after a call to glscreen(), right? Something like:\r\n\r\n```julia\r\nusing GLVisualize\r\nwindow = glscreen()\r\n#window = GLVisualize.current_screen()\r\nGLFW.HideWindow(GLWindow.nativewindow(window))\r\n_view(visualize(loadasset(\"cat.obj\")))\r\nframes = []\r\nGLWindow.render_frame(window)\r\nGLWindow.swapbuffers(window)\r\nGLWindow.pollevents()\r\npush!(frames, GLWindow.screenbuffer(window))\r\nyield()\r\nname = \"test\"\r\nfolder = \"foldername\"\r\nresampling = 0 # no resizing\r\ncd(folder)# this is optional and makes sure that we're in a valid location\r\ncreate_video(frames, name, folder, 0)\r\n```\r\n\r\nIf so, I still need an X11 environment to do the rendering. Is there any way to do the rendering without a window at all?"}}
{"actor":{"display_login":"leios"}}