Page 1 of 1

Import image as plane - how?

Posted: 23 Oct 2015, 16:44
by Draise
I've used Blender a bit and it has a handy Import as Image addon - where you have the option to import an image, put on the Alpha cutout, shaderless (constant) and then create the plane to the dimentions of the image.

How would I go about this with Softimage? Is there a way in ICE to resize a plane to image dimentions? Or a script that would apply a constant shader with the correct image and alpha on import?

Just brain storming, my time for scripting is limited - but it would be nice to know what can be done.

Re: Import image as plane - how?

Posted: 23 Oct 2015, 17:43
by El Burritoh
I can get you something for this in a minute here... You're using Redshift, right?

Re: Import image as plane - how?

Posted: 23 Oct 2015, 17:50
by El Burritoh
Well, I thought I could knock this out... but for some reason a clip's resolution always comes back as 128x128, regardless of its actual size.

EDIT: Ah it's on the image source, not the clip... duh...

Re: Import image as plane - how?

Posted: 23 Oct 2015, 17:52
by Draise
Hmm.. I haven't thought up to the render engine yet, I was just thinking of the viewport mainly, for quick motion graphics and previz.

Mental Ray or Redshift - if I remember correctly Redshift renders with the constant shader or have they implemented their own (I only used the Alpha)?

Re: Import image as plane - how?

Posted: 23 Oct 2015, 18:19
by El Burritoh
Ah I see what you mean. Yeah I think I could just make it constant... pipe the image straight into the surface port.

Re: Import image as plane - how?

Posted: 23 Oct 2015, 18:48
by El Burritoh
Here you go...

Installation:
This is a plugin so drop in your user Plugins folder or workgroup Plugins location.

Usage:
In a Clip Explorer, select an image source, right-click, and choose 'New Card From Image'. My time is a bit limited too, so I haven't optimized this or even added support for running the command from image clips. Be sure you select an image source in the source/clips explorer.

Re: Import image as plane - how?

Posted: 23 Oct 2015, 18:54
by El Burritoh
I might enhance the workflow for this when I get a chance. I like having a command in the context menu for the Clip Explorer, but I think I'd like a command to let you bring in a new image altogether if need be. Trivial stuff, but I am short on time at the moment.

Re: Import image as plane - how?

Posted: 24 Oct 2015, 01:12
by FXDude
There is also something like that on Rray if I recall, which would also size the cards in proportion to resolution and aspect ratio.

Re: Import image as plane - how?

Posted: 24 Oct 2015, 04:16
by Draise
Nice! Found the Rray one - works great (search Image Plane). And tried out your one Tim! Good work! I wish I had your scripting abilities. I had errors making the image when trying it (but found the right click context menu really really handy), the error is probably because I tried to test it when I didn't have Redshift installed on my Open CL machine?