<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Video Animation as Texture in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6986726#M8942</link>
    <description>&lt;P&gt;...&lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2017 09:13:19 GMT</pubDate>
    <dc:creator>lbs_markus_s</dc:creator>
    <dc:date>2017-03-31T09:13:19Z</dc:date>
    <item>
      <title>Video Animation as Texture</title>
      <link>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6960951#M8939</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a simple plane and make it look like screen (tv/billboard). For example, user can interact with VR, they gonna click (hit) this plane as touch sensor and video will be play or pause, is it possible guys ? If you can help it would be great..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this script down below and&amp;nbsp;working very well, but how can i make it touch sensor for play/stop/pause ability ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mp = vrMoviePlayer2(findMaterial("PlasticMaterial"), "C:/users/username/desktop/video.avi")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;mp.setLoop(true)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;mp.setActive(true)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;note: diffuse and glossy texture channels are black as known from this topic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/vred-forum/load-animated-texture-files-vred/td-p/5597561" target="_blank"&gt;https://forums.autodesk.com/t5/vred-forum/load-animated-texture-files-vred/td-p/5597561&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;if .mp4 support it would be better because of file size (avi is huge rather than mp4)..&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 12:01:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6960951#M8939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-21T12:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Video Animation as Texture</title>
      <link>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6971210#M8940</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which version of Vred are you using?&lt;/P&gt;
&lt;P&gt;If I understand it right your script is working fine in Vred. So is your question is how to apply it to a touch sensor?&lt;/P&gt;
&lt;P&gt;If you like you can attach your setup you already have to that case, then I can have a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best, Nadja&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 15:47:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6971210#M8940</guid>
      <dc:creator>Nadja.Bueckmann</dc:creator>
      <dc:date>2017-03-24T15:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Video Animation as Texture</title>
      <link>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6986588#M8941</link>
      <description>&lt;P&gt;Hey, &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3723112"&gt;@Nadja.Bueckmann&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;My Vred version is : Vred Professional 2017.2&lt;BR /&gt;&lt;BR /&gt;I`m trying to send&amp;nbsp;file but .avi file over 80 mb and i cant even send vred file because its connected to .avi file somehow in forum doesn`t allow me to do that !, there is a simle plane and trying to project my animation via script:&lt;BR /&gt;&lt;BR /&gt;mp = vrMoviePlayer2(findMaterial("video"), "D:/VR/video.avi")&lt;BR /&gt;mp.setLoop(true)&lt;BR /&gt;mp.setActive(true)&lt;BR /&gt;&lt;BR /&gt;Script working fine as i told you, just what i wanna know, video always looping there, i would like to make this plane as a touch sensor and when i click it play/pause could be happen. Do i need edit script for that or what kind of variant set do i need to create for the touch sensor ?&lt;BR /&gt;&lt;BR /&gt;And another problem is when i execute this script in material editor slot, material name automatically changing it own name, for example instead of `video` its becoming `videoqrap` therefore every restart i have to change material name `videoqrap` to `video` again otherwise script can not find the material (video)!&lt;BR /&gt;&lt;BR /&gt;And only .avi file can work with vred, it would be perfect supporting.mp4 file type because of video size is so big i cant even upload here!&lt;BR /&gt;&lt;BR /&gt;Thank you &amp;amp; Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 07:49:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6986588#M8941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-31T07:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Video Animation as Texture</title>
      <link>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6986726#M8942</link>
      <description>&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 09:13:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6986726#M8942</guid>
      <dc:creator>lbs_markus_s</dc:creator>
      <dc:date>2017-03-31T09:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Video Animation as Texture</title>
      <link>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6986729#M8943</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;Script working fine as i told you, just what i wanna know, video always looping there, i would like to make this plane as a touch sensor and when i click it play/pause could be happen. Do i need edit script for that or what kind of variant set do i need to create for the touch sensor ?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hi @Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes, you need a variant set with this line in Script tab:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;mp.setActive(not mp.isActive())&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;And another problem is when i execute this script in material editor slot, material name automatically changing it own name, for example instead of `video` its becoming `videoqrap` therefore every restart i have to change material name `videoqrap` to `video` again otherwise script can not find the material (video)!&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, putting the material in the vrMoviePlayer2 constructor changes the material name to "videograb". You cannot prevent it, but do a workaround: Remember the name before and set it again on the material afterwards:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;material = findMaterial("video")
mp = vrMoviePlayer2(material, "D:/VR/video.avi")
material.setName("video")&lt;/PRE&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sinje&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 09:05:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6986729#M8943</guid>
      <dc:creator>sinje_thiedemann</dc:creator>
      <dc:date>2017-03-31T09:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Video Animation as Texture</title>
      <link>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6990732#M8944</link>
      <description>&lt;P&gt;Thank you very much all off you and&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1257872"&gt;@sinje_thiedemann&lt;/a&gt;&amp;nbsp;totally worked as you describe..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 07:07:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/6990732#M8944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-03T07:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Video Animation as Texture</title>
      <link>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/8986871#M8945</link>
      <description>&lt;P&gt;hi, thank you for sharing this wonderful post. I appreciate much, iv'e been searching video editor since morning, until such time i saw your post. it was a great indeed to me. Before i'm just using an online video maker which is the&amp;nbsp;&lt;A href="https://lightmv.com/" target="_blank" rel="noopener"&gt;LightMV&lt;/A&gt;, this one is a friendly editor. you must try it also.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 06:59:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/video-animation-as-texture/m-p/8986871#M8945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-26T06:59:29Z</dc:date>
    </item>
  </channel>
</rss>

