Does the current blender exporter support movie textures?

Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)
FrancisFC
Licensed Customer
Posts: 2
Joined: Fri Sep 03, 2010 9:43 pm

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?
User avatar
pixelrush
Licensed Customer
Posts: 1618
Joined: Mon Jan 11, 2010 7:11 pm
Location: Nelson, New Zealand

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 :)
i7-3820 @4.3Ghz | 24gb | Win7pro-64
GTS 250 display + 2 x GTX 780 cuda| driver 331.65
Octane v1.55
FrancisFC
Licensed Customer
Posts: 2
Joined: Fri Sep 03, 2010 9:43 pm

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.
User avatar
pixelrush
Licensed Customer
Posts: 1618
Joined: Mon Jan 11, 2010 7:11 pm
Location: Nelson, New Zealand

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:
i7-3820 @4.3Ghz | 24gb | Win7pro-64
GTS 250 display + 2 x GTX 780 cuda| driver 331.65
Octane v1.55
User avatar
yoyoz
Licensed Customer
Posts: 451
Joined: Sat Dec 25, 2010 9:59 am
Location: Belgium

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]
Desktop: Ubuntu 13.04 x64 - i7-3770K @ 3.5GHz - 32GB DDR3 - GTX670 2048MB
Laptop: Linux Mint 11 x64 - i7-2860QM @ 2.5GHz - 16GB DDR3 - Quadro 3000M 2GB
Software: NVidia 319.12 - Cuda 4.2.9 - Blender 2.66a
User avatar
pixelrush
Licensed Customer
Posts: 1618
Joined: Mon Jan 11, 2010 7:11 pm
Location: Nelson, New Zealand

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:
i7-3820 @4.3Ghz | 24gb | Win7pro-64
GTS 250 display + 2 x GTX 780 cuda| driver 331.65
Octane v1.55
vipvip
Licensed Customer
Posts: 726
Joined: Fri Apr 22, 2011 9:28 am

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 )
User avatar
yoyoz
Licensed Customer
Posts: 451
Joined: Sat Dec 25, 2010 9:59 am
Location: Belgium

Not really, you can just use the generated filename (SEQ-xxx.xxx) in any Octane Material.
Desktop: Ubuntu 13.04 x64 - i7-3770K @ 3.5GHz - 32GB DDR3 - GTX670 2048MB
Laptop: Linux Mint 11 x64 - i7-2860QM @ 2.5GHz - 16GB DDR3 - Quadro 3000M 2GB
Software: NVidia 319.12 - Cuda 4.2.9 - Blender 2.66a
vipvip
Licensed Customer
Posts: 726
Joined: Fri Apr 22, 2011 9:28 am

Ok thanks Lionnel
i'll try this
User avatar
ROUBAL
Licensed Customer
Posts: 2199
Joined: Mon Jan 25, 2010 5:25 pm
Location: FRANCE
Contact:

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
French Blender user - CPU : intel Quad QX9650 at 3GHz - 8GB of RAM - Windows 7 Pro 64 bits. Display GPU : GeForce GTX 480 (2 Samsung 2443BW-1920x1600 monitors). External GPUs : two EVGA GTX 580 3GB in a Cubix GPU-Xpander Pro 2. NVidia Driver : 368.22.
Post Reply

Return to “Blender”