Page 1 of 2

Does the current blender exporter support movie textures?

Posted: Sat Jan 21, 2012 9:53 pm
by FrancisFC
I'm trying to render an object where one of the faces has a movie (mpeg) texture applied to it. The normal default rendering in blender can render it (and update at any frame), but when I try with Octane, I get an error saying "Only Image Types of File and Sequence are supported".

If its not supported, then is there a work-around for this issue?

Re: Does the current blender exporter support movie textures?

Posted: Sat Jan 21, 2012 11:06 pm
by pixelrush
No it isn't supported, only stills. I assume this is for a TV screen or something?
Off the top of my head - probably you could use Blender's sequencer to save out the movie as individual frames and then use those as textures. You would UV unwrap the object/screen as usual but :arrow: reload the texture of that material for each frame render manually in Octane as required.
HTH :)

Re: Does the current blender exporter support movie textures?

Posted: Sun Jan 22, 2012 1:39 am
by FrancisFC
Yeah, its for an animation for a hockey scoreboard with a video screen. I'm using stills, but I wanted to see if I could get a movie texture going. I figured it would need to be done manually, but obviously that would be very tedious.

Thanks anyway.

Re: Does the current blender exporter support movie textures?

Posted: Sun Jan 22, 2012 4:36 am
by pixelrush
Well dont go away disappointed just yet....maybe we can avoid the tedium.
According to the blender 2.4 manual you can use image sequences in the movie texture see here http://wiki.blender.org/index.php/Doc:2 ... ypes/Video
The 2.6 manual doesn't say very much but I would guess its similar http://wiki.blender.org/index.php/Doc:2 ... ypes/Video.
Guess you need to try it and see if it works ;)
Save out your movie as an image sequence, say .JPEG, and then reuse the sequence for the screen texture in an animation exported as per usual to Octane. I presume the exporter will pick up the changing texture image OK.. :roll:
This might be handy for others to use so let us know how it goes. :geek:

Re: Does the current blender exporter support movie textures?

Posted: Sun Jan 22, 2012 6:56 am
by yoyoz
Actually, you just need to convert your movie to a sequence of images and the exporter will copy the proper image to the project folder.

Let's say you have a sequence going from MyVideo0001.jpg to MyVideo0250.jpg, for each frame the exporter will copy the relevant picture to SEQ-MyVideo.jpg (this name is generated by the exporter based on pictures names). This is this filename you must use in Octane for displaying your video.

Also an extract from the documentation:
  • - the only supported types are image file or sequence. Any other type will give unpredictable results or make the export fail.
    - if type is sequence then the following settings are taken in account: 'Frames', 'Start', 'Offset' and 'Cyclic'. “Copy Images” option must be ON.
In the example below, you even have animated rescaling of the video:

[vimeo]http://www.vimeo.com/20442836[/vimeo]

This one is a bit simpler, with simple diffuse/emitter video, + animated bump texture:

[vimeo]http://www.vimeo.com/19327321[/vimeo]

Re: Does the current blender exporter support movie textures?

Posted: Sun Jan 22, 2012 7:09 am
by pixelrush
OK great so it does work like I thought. Thanks very much for the info. 8-) I had completely forgotten about those clips < a year later :roll:
So he makes the image sequence and then loads say MyVideo0001.jpg as the representative movie texture with the other settings and Blender + yoyoz + Octane does the rest reusing the name SEQ-MyVideo.jpg :arrow: :idea:

Re: Does the current blender exporter support movie textures?

Posted: Tue Jan 24, 2012 8:21 am
by vipvip
If i understand, we have to export the octane material from blender to use an animated texture ? ( with a converted-numbered image sequence as texture source of course )

Re: Does the current blender exporter support movie textures?

Posted: Tue Jan 24, 2012 8:54 am
by yoyoz
Not really, you can just use the generated filename (SEQ-xxx.xxx) in any Octane Material.

Re: Does the current blender exporter support movie textures?

Posted: Tue Jan 24, 2012 10:11 am
by vipvip
Ok thanks Lionnel
i'll try this

Re: Does the current blender exporter support movie textures?

Posted: Mon Jan 30, 2012 1:01 pm
by ROUBAL
You can also do it in compositing. The knew Kernel in Material ID mode will allow to select the material used for your video screen. You can use this selection to create a mask for compositing. If the object is moving, it may be tricky, though !

@Lionel : In your last video shown above, I see some ripples. Did you try to use my Ripples Maker setup ?
It has been built with Blender 2.49, but still works fine with 2.5x and 2.6x. It is available here with comments in french or english :

http://3d-synthesis.com/tutorialsenglish.html

http://3d-synthesis.com/tutorialsfrench.html