Re: ICE attributes don't show

2014-10-30 Thread pedro santos
Some times ICE is like that. A scene reload is needed :/ On Thu, Oct 30, 2014 at 5:34 PM, Francois Lord wrote: > Stephen, I know you can't display on subdiv geo. I had to save my scene > without it and reload it for the attributes to show. > If I loaded the scene with subdiv and just remove it,

Re: ICE attributes don't show

2014-10-30 Thread Francois Lord
Stephen, I know you can't display on subdiv geo. I had to save my scene without it and reload it for the attributes to show. If I loaded the scene with subdiv and just remove it, the attributes wouldn't show. Weird. On 30-Oct-14 13:20, Stephen Blair wrote: It's been like that for a long time..

Re: ICE attributes don't show

2014-10-30 Thread Stephen Blair
It's been like that for a long time... http://xsisupport.com/2009/04/08/show-values-doesnt-work-if-you-have-geometry-approximation/ 2009!!! On Thu, Oct 30, 2014 at 12:34 PM, Francois Lord wrote: > Ah, now it works. > I had to remove the subdivision (!?) AND save and reload the scene and it >

Re: ICE attributes don't show

2014-10-30 Thread pedro santos
If you really have to have GeomApprx SubD ON, turn also "Polymesh Hulls" visibility also ON, though the attributes will bee seen at the cage. Cheers On Thu, Oct 30, 2014 at 4:34 PM, Francois Lord wrote: > Ah, now it works. > I had to remove the subdivision (!?) AND save and reload the scene an

Re: ICE attributes don't show

2014-10-30 Thread Francois Lord
Ah, now it works. I had to remove the subdivision (!?) AND save and reload the scene and it works. thanks. On 30-Oct-14 12:02, David Barosin wrote: Just a quick check but is there a subdivision on the geo? On Thu, Oct 30, 2014 at 11:56 AM, Francois Lord > wrote:

Re: ICE attributes don't show

2014-10-30 Thread David Barosin
Just a quick check but is there a subdivision on the geo? On Thu, Oct 30, 2014 at 11:56 AM, Francois Lord wrote: > Allright. What's the deal with ICE attribute values that don't show up > when they're asked to? > I've never had this problem with earlier version but now since maybe 2013, > it see

ICE attributes don't show

2014-10-30 Thread Francois Lord
Allright. What's the deal with ICE attribute values that don't show up when they're asked to? I've never had this problem with earlier version but now since maybe 2013, it seems to be a increasing problem. I have a simulated mesh with 3 different ICE trees in different stack regions. I tried wit

Re: Local Blend Shapes using ICE Attributes through scripting

2013-12-03 Thread Eric Thivierge
Found my own problem (Look I'm pulling a Brad!) :) srcPointRefFrameICEArray = list(srcObj.ActivePrimitive.Geometry.GetICEAttributeFromName("PointReferenceFrame").DataArray) Should be pulling from the target object not the source. At least now we all have some code on the list to refer to in t

Local Blend Shapes using ICE Attributes through scripting

2013-12-03 Thread Eric Thivierge
Hey all, I'm trying to create local relative blend shapes using Python and I am getting some strange results when applying them back. I'm getting the PointPosition and PointReferenceFrame ICE Attributes for speed / convenience. If I do the same math via ICE I get the correct result

Re: [ICE] Attributes

2013-10-18 Thread Jeremie Passerin
Great! i'll look into that ;-) On 18 October 2013 12:34, Eric Thivierge wrote: > attr = object.ActivePrimitive.**Geometry.ICEAttributes("foo") > Will not return none if it is there. > > The ProjectItem object also supports the ICEAttributes collection. > > > > On Friday, October 18, 2013 3:30:1

Re: [ICE] Attributes

2013-10-18 Thread Eric Thivierge
attr = object.ActivePrimitive.Geometry.ICEAttributes("foo") Will not return none if it is there. The ProjectItem object also supports the ICEAttributes collection. On Friday, October 18, 2013 3:30:18 PM, Jeremie Passerin wrote: Hey list ! Is there a way to list the ICE Attribute of an object

[ICE] Attributes

2013-10-18 Thread Jeremie Passerin
Hey list ! Is there a way to list the ICE Attribute of an object ? I'm storing some information in a ICE attribute : "self.foo" I'm creating a second ICE Tree and I want to check if the object already has this attribute, because if it's the case I want to use another one ("self.foo2") Any idea h

Re: Anyone have examples of writing custom ICE attributes via the SDK?

2013-09-11 Thread Alan Fregtman
Thanks! It's weird though that I fundamentally do the same thing and I'm getting errors when trying to do a per-point context. On Tue, Sep 10, 2013 at 7:21 PM, Vincent Ullmann < vincent.ullm...@googlemail.com> wrote: > Did you saw this example from the dosc? > > http://download.autodesk.com/gl

Re: Anyone have examples of writing custom ICE attributes via the SDK?

2013-09-10 Thread Alan Fregtman
I missed those posts. Thanks Stephen! :) On Tue, Sep 10, 2013 at 1:49 PM, Stephen Blair wrote: > > http://xsisupport.com/2012/11/13/scripting-writing-the-dataarray-of-an-ice-attribute/ > http://xsisupport.com/2013/03/25/aha-setting-dataarray2d-with-jscript/ > > > On Tue, Sep 10, 2013 at 1:40 PM

Re: Anyone have examples of writing custom ICE attributes via the SDK?

2013-09-10 Thread Alan Fregtman
What about non-singleton attributes like say a per-point integer? I can't get those to be set. I can work around it in my case, but I'm curious why it won't work like the docs appear to imply. On Tue, Sep 10, 2013 at 2:36 PM, Alan Fregtman wrote: > I missed those posts. Thanks Stephen! :) > > >

Re: Anyone have examples of writing custom ICE attributes via the SDK?

2013-09-10 Thread Vincent Ullmann
Did you saw this example from the dosc? http://download.autodesk.com/global/docs/softimage2014/en_us/sdkguide/si_om/ICEAttribute.DataArray.html (2. Example) Here is a little Snipped i wrote some time ago. Note: It works only with a Cube. Not with a NonFrezzedPointCloud [snip] from win32com.clien

Re: Anyone have examples of writing custom ICE attributes via the SDK?

2013-09-10 Thread Stephen Blair
http://xsisupport.com/2012/11/13/scripting-writing-the-dataarray-of-an-ice-attribute/ http://xsisupport.com/2013/03/25/aha-setting-dataarray2d-with-jscript/ On Tue, Sep 10, 2013 at 1:40 PM, Alan Fregtman wrote: > Hey guys, > > So I called the AddICEAttribute() method, and on its returned attribu

Anyone have examples of writing custom ICE attributes via the SDK?

2013-09-10 Thread Alan Fregtman
Hey guys, So I called the AddICEAttribute() method, and on its returned attribute I can't seem to set its .DataArray property with a simple list of integers. It logs this: *# WARNING : 3392 - Invalid offset specified while extracting data from this attribute: * *# * ...but I'm not extracting any

Blog/tutorial: Import/export of custom ICE attributes with Exocortex Crate/Alembic

2013-05-22 Thread Ben Houston
Hi all, We've been so busy updating Exocortex Crate/Alembic that we really haven't posted much on this list about it. But I figured this recent feature additional might be of interest. We now support export and importing of custom ICE attributes on just about any Softimage primiti

Re: Getting the spdl ICE attributes in c++

2013-01-29 Thread Stefano Jannuzzo
Nop. With Stephen's script, I only have BA_particle_density3.1.0 working. With other spdls, like Softimage.BA_volume_cloud.1.0, I don't get the list ("VolumeCloud" should be returned for it). On Tue, Jan 29, 2013 at 9:22 AM, Steven Caron wrote: > so you got what you need stefano? > > > On Tue,

Re: Getting the spdl ICE attributes in c++

2013-01-29 Thread Steven Caron
so you got what you need stefano? On Tue, Jan 29, 2013 at 12:19 AM, Stefano Jannuzzo < stefano.jannu...@gmail.com> wrote: > Yes, apparently it's a way to force ICE to push the declared attributes, > so that those attributes can be queried by the appropriate SDK calls, > without needing the sad h

Re: Getting the spdl ICE attributes in c++

2013-01-29 Thread Stefano Jannuzzo
Yes, apparently it's a way to force ICE to push the declared attributes, so that those attributes can be queried by the appropriate SDK calls, without needing the sad hacks (1. Display the attributes in the viewport, 2. Pull the attribute in the RT by a dummy attribute shader) On Mon, Jan 28, 2013

Re: Getting the spdl ICE attributes in c++

2013-01-28 Thread Steven Caron
i wonder what possibilities for tighter integration of other renderers/shaders this provides 3rd parties? On Mon, Jan 28, 2013 at 12:22 PM, Stephen Blair wrote: > It tells Softimage that the shader wants data from ICE graph. Or > something like that. > >

Re: Getting the spdl ICE attributes in c++

2013-01-28 Thread Stephen Blair
lobal/docs/softimage2013/en_us/sdkguide/si_cpp/classXSI_1_1ShaderDef.html#a558539353bd99263d936703078f01369 no other ideas from me On Mon, Jan 28, 2013 at 11:46 AM, Stefano Jannuzzo mailto:stefano.jannu...@gmail.com>> wrote: Hi folks. There are a few shaders that

Re: Getting the spdl ICE attributes in c++

2013-01-28 Thread Steven Caron
8/01/2013 3:01 PM, Steven Caron wrote: > > i thought this might be it but i tried it in scripting and didn't get > anything related to iceattributes... > > > http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/si_cpp/classXSI_1_1ShaderDef.html#a558539353bd992

Re: Getting the spdl ICE attributes in c++

2013-01-28 Thread Stephen Blair
i_cpp/classXSI_1_1ShaderDef.html#a558539353bd99263d936703078f01369 no other ideas from me On Mon, Jan 28, 2013 at 11:46 AM, Stefano Jannuzzo mailto:stefano.jannu...@gmail.com>> wrote: Hi folks. There are a few shaders that declare the list of ICE attributes they require to work

Re: Getting the spdl ICE attributes in c++

2013-01-28 Thread Steven Caron
at 11:46 AM, Stefano Jannuzzo < stefano.jannu...@gmail.com> wrote: > Hi folks. > There are a few shaders that declare the list of ICE attributes they > require to work, by listing their names in the output parameter section of > their spdl. > For instance, if you edit part

Re: getting user defined ice attributes c++

2012-09-22 Thread Stephan Woermann
Many thanks, now it works. I need only a bool to en/disable an option in a plugin. Have made a little compound where true set the value to true and false set the value to false. If the value is false, the value is shown, but because false is the default value for a boolean, you don´t see it. You mu

Re: getting user defined ice attributes c++

2012-09-22 Thread Alok
ermann <swoerman...@googlemail.com> wrote: Have a problem to get user defined ICE attributes. I can check if an attribute is available. But the count of data is different. ICEAttribute attr = cloud.GetActivePrimitive().GetGeometry().GetICEAttributeFromName( L"TestAttribute" ); A

Re: getting user defined ice attributes c++

2012-09-22 Thread Chris Chia
ce the attribute by showing it, or using it somehow in the tree, it might give you right count. On Sat, Sep 22, 2012 at 6:14 AM, Stephan Woermann mailto:swoerman...@googlemail.com>> wrote: Have a problem to get user defined ICE attributes. I can check if an attribute is available. Bu

Re: getting user defined ice attributes c++

2012-09-22 Thread Alok Gandhi
t; Have a problem to get user defined ICE attributes. > I can check if an attribute is available. But the count of data is > different. > > ICEAttribute attr = > cloud.GetActivePrimitive().GetGeometry().GetICEAttributeFromName( > L"TestAttribute" ); > Application().L

getting user defined ice attributes c++

2012-09-22 Thread Stephan Woermann
Have a problem to get user defined ICE attributes. I can check if an attribute is available. But the count of data is different. ICEAttribute attr = cloud.GetActivePrimitive().GetGeometry().GetICEAttributeFromName( L"TestAttribute" ); Application().LogMessage( CString( attr.GetEl

ice attributes not showing up in render on refmodel?

2012-05-09 Thread peter_b
hi I’ve got some characters with pointclouds in them, and in the rendertree I’m looking up a few (vector) attributes I added in the ICEtree. (non simulated) I’m looking up values from the emit location on the particles, eg. normals and UV coordinates in my case its working fine – but when I bring