Image I\O From ICE
Plugins linking to this thread: (hide)
Image I/O from ICE
Originally developed for testing his Implosia FX toolset, Mr. Core recently released
these compounds that allow to import and export image (.BMP/.TIFF/.PNG/.JPG) and mesh
files (.OBJ, UV not yet supported) within ICE.
For image handling, this package includes the Build PCloud from Image compound that converts the output array from the IFX Read Image node into a pointcloud, which can be further modified by ICE and then written back to an image file through the factory build array from set node plugged into IFX Write Image. This allows a PixelParticles-like workflow (See PixelParticles description further below) for doing for example image manipulations inside ICE.
The local backup archive contains all files collected from the si-community thread (see below) including some additional compounds by Fabricio Chamon which handle file name/format string conversions. To install, copy the .xsicompound files into the Data/Compounds folder of the USER or a workgroup/addon directory. The .dll file goes into the Plugins subfolder — demo scene file is included.
Related plugins: Pixel Particles, Image ICE Node
local backup: ImageIO_packed_1.0.zip
For image handling, this package includes the Build PCloud from Image compound that converts the output array from the IFX Read Image node into a pointcloud, which can be further modified by ICE and then written back to an image file through the factory build array from set node plugged into IFX Write Image. This allows a PixelParticles-like workflow (See PixelParticles description further below) for doing for example image manipulations inside ICE.
The local backup archive contains all files collected from the si-community thread (see below) including some additional compounds by Fabricio Chamon which handle file name/format string conversions. To install, copy the .xsicompound files into the Data/Compounds folder of the USER or a workgroup/addon directory. The .dll file goes into the Plugins subfolder — demo scene file is included.
Related plugins: Pixel Particles, Image ICE Node
local backup: ImageIO_packed_1.0.zip
Re: Image I\O From ICE
I am using third party libs for that, not si SDK
-
- Moderator
- Posts: 754
- Joined: 25 Nov 2009, 01:41
- Contact:
Re: Image I\O From ICE
I don't see the IFX Assembly Sequence Name node in the ICE tree at all. Is there a way to use the standard tools to get it to write out an image sequence based on the frame? I'm not reading a sequence in, I just want to write out my own from scratch. I'm able to write out a single frame which is awesome.
This is definitely an awesome plugin!! Thanks so much!
This is definitely an awesome plugin!! Thanks so much!
-
- Moderator
- Posts: 754
- Joined: 25 Nov 2009, 01:41
- Contact:
Re: Image I\O From ICE
Something else that would be cool to have, is a node that autmatically builds a point cloud in the correct order and a node that builds the color array in the correct order from that pointcloud. Just tossing out ideas.
Re: Image I\O From ICE
>>I don't see the IFX Assembly Sequence Name node in the ICE tree at all.
It is just a simple compound that I builded from factory nodes
>>is a node that autmatically builds a point cloud in the correct order and a node that builds the color array in the correct order from that pointcloud.
That is very simply to implement, fisrt case I have attached as compound called "Build PCloud From Image" , and in the second case you can just use "build array from set" node to get array of colors and connect this array to "Write Image" node
It is just a simple compound that I builded from factory nodes
>>is a node that autmatically builds a point cloud in the correct order and a node that builds the color array in the correct order from that pointcloud.
That is very simply to implement, fisrt case I have attached as compound called "Build PCloud From Image" , and in the second case you can just use "build array from set" node to get array of colors and connect this array to "Write Image" node
- Attachments
-
- IFX Assembly Sequence Name.xsicompound
- (35.57 KiB) Downloaded 260 times
-
- Build PCloud From Image.xsicompound
- (10.41 KiB) Downloaded 265 times
-
- Moderator
- Posts: 754
- Joined: 25 Nov 2009, 01:41
- Contact:
Re: Image I\O From ICE
Awesome got it working! Thanks so much. Just did a simple setup using a null to modulate the color of particles inside it and output the sequence of the null moving from one side to the other.
I have to say this is really fast as well. Just played back the timeline and it zipped along as if it wasn't doing any extra calculations. Great job! Now I just have to figure out or dig up a compound that what pixel particles does and stick some particles to a mesh via UVs and we have a custom "pixel particles" setup.
Also anyone who is thinking of doing an ICE based renderer has an option now too.
I have to say this is really fast as well. Just played back the timeline and it zipped along as if it wasn't doing any extra calculations. Great job! Now I just have to figure out or dig up a compound that what pixel particles does and stick some particles to a mesh via UVs and we have a custom "pixel particles" setup.
Also anyone who is thinking of doing an ICE based renderer has an option now too.
-
- Posts: 94
- Joined: 09 Jun 2009, 23:47
Re: Image I\O From ICE
Man, this is soooo awesome! thanks a lot Mr. Core.
all kinds of image processing inside the ice tree! that's fantastic and will surely open up for a lot of possibilities.
here's a quick image blur test, along with 2 compounds that might be useful to some of you.
"Change File Name" compound: changes or appends file name of a file path input with option to keep or change extension.
(also outputs a no extension string to be fed into IFX Write Image, since it appends the format itself)
"Get IFX File Format from File Path": outputs an integer to be fed into "Format" port of IFX Write Image.
bmp = 0, jpg = 1, png = 2, tiff = 3 (defaults to bmp in case of unsupported file format)
I can't thank you enough!
all kinds of image processing inside the ice tree! that's fantastic and will surely open up for a lot of possibilities.
here's a quick image blur test, along with 2 compounds that might be useful to some of you.
"Change File Name" compound: changes or appends file name of a file path input with option to keep or change extension.
(also outputs a no extension string to be fed into IFX Write Image, since it appends the format itself)
"Get IFX File Format from File Path": outputs an integer to be fed into "Format" port of IFX Write Image.
bmp = 0, jpg = 1, png = 2, tiff = 3 (defaults to bmp in case of unsupported file format)
I can't thank you enough!
- Attachments
-
- screenshot
- change_file_name.jpg (197.7 KiB) Viewed 3756 times
-
- Get IFX File Format from File Path.xsicompound
- get IFX file format from file path compound
- (25.91 KiB) Downloaded 238 times
-
- Change File Name.xsicompound
- change file name compound
- (37.96 KiB) Downloaded 239 times
Re: Image I\O From ICE
Fabricio
That's really awesome example of usage! You boosts me to take a deeply look into it, because I didnt spent too much time with the image processing
That's really awesome example of usage! You boosts me to take a deeply look into it, because I didnt spent too much time with the image processing
Re: Image I\O From ICE
Image processing with ICE? Aw, hell yeah!
Re: Image I\O From ICE
This is fantastic. There are an incredible number of uses, we can use this in a way similar to how houdini users use chops in conjunction with particles etc. Fantastic!
Here's a selfish request, do you see any way to add .exr or .dpx I/O? It would be awesome to be able to do some operations on film plates with this.
Honestly, in the long run I think this will have more impact on ICE/VFX than anything you've written to date - and that's saying something.
Here's a selfish request, do you see any way to add .exr or .dpx I/O? It would be awesome to be able to do some operations on film plates with this.
Honestly, in the long run I think this will have more impact on ICE/VFX than anything you've written to date - and that's saying something.
Re: Image I\O From ICE
I think I will add these format a little bit later as well as alpha channel
But I still think that it is more a toy than real tool because representation of each pixel as particle and work on this - it is very sloooow way
But I still think that it is more a toy than real tool because representation of each pixel as particle and work on this - it is very sloooow way
Re: Image I\O From ICE
hang on a minute.. this means we can render image files using ICE, right? and can build the array of particles out of what a camera would see and write to an image sequence? who needs Mental Ray ?! ;)
Gossip is what no one claims to like, but everybody enjoys.
Re: Image I\O From ICE
Hello,
Its been a while on this thread, but i wonder if there is a way to make this plugin work with
Softimage 2014 SP2.
Softimage is crashing as soon as i plug the "IFX Read Image Node" into the "Generate 3D Grid Node"
Since iam researching on how to do a Terrain LOD i think that this plugin would be really important.
Its been a while on this thread, but i wonder if there is a way to make this plugin work with
Softimage 2014 SP2.
Softimage is crashing as soon as i plug the "IFX Read Image Node" into the "Generate 3D Grid Node"
Since iam researching on how to do a Terrain LOD i think that this plugin would be really important.
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: Image I\O From ICE
Sorry, but someone has to ask: did you install the prerequisite Visual C++ runtime.
I can't test this on 2014SP2 as I never installed that specific SP,
but I cannot reproduce the crash you describe on either 2014SP1 nor 2015.
Where does your ICE Tree "live"? On an empty PointCloud, where I believe it should?
I can't test this on 2014SP2 as I never installed that specific SP,
but I cannot reproduce the crash you describe on either 2014SP1 nor 2015.
Where does your ICE Tree "live"? On an empty PointCloud, where I believe it should?
Stay safe, sane & healthy!
Re: Image I\O From ICE
Hello,
Yes, i have
Microsoft Visual C++ 2010 x64 Redistributable v10.0.40219
Microsoft Visual C++ 2010 x64 Runtime v10.0.40219
Microsoft Visual C++ 2010 x86 Redistributable v10.0.40219
Microsoft Visual C++ 2010 x86 Runtime v10.0.40219
installed.
Also 2012 and 2013.
Also i created an empty PointCloud with ICE Tree.
So the ICE Tree lives IN the PointCloud.
When i check the link provided i end up with an older version of "Microsoft Visual C++ 2010 x64 Redistributable"
which i dont install since i have a newer one already installed.
Yes, i have
Microsoft Visual C++ 2010 x64 Redistributable v10.0.40219
Microsoft Visual C++ 2010 x64 Runtime v10.0.40219
Microsoft Visual C++ 2010 x86 Redistributable v10.0.40219
Microsoft Visual C++ 2010 x86 Runtime v10.0.40219
installed.
Also 2012 and 2013.
Also i created an empty PointCloud with ICE Tree.
So the ICE Tree lives IN the PointCloud.
When i check the link provided i end up with an older version of "Microsoft Visual C++ 2010 x64 Redistributable"
which i dont install since i have a newer one already installed.
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: Image I\O From ICE
Try installing the older one also. It doesn't make sense, but from my own experience IIRC it sometimes does help.
PS I don't say that IS "the" problem, it may however something you can relatively easily rule out... ;)
PS I don't say that IS "the" problem, it may however something you can relatively easily rule out... ;)
Stay safe, sane & healthy!
Who is online
Users browsing this forum: No registered users and 32 guests