Re: Selecting UV island again

2012-05-03 Thread Raffaele Fragapane
I think there's a semi-hidden property called "Definition" that is mis-documented available for expression sources (hinted at in a couple examples but not included between the properties). Can't be arsed verifying, but maybe you'll feel like giving it a shot :) On Thu, May 3, 2012 at 12:19 AM, Ch

RE: Scripting: Closest Point On a Point Cloud?

2012-05-03 Thread Chris Chia
Hi Alan, Very nice Math equation! And the python function is very neat. Great job Regards, Chris Chia QA Analyst / ICE, FaceRobot and General Specialist, Autodesk Media and Entertainment From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of

Lagoa demoscenes

2012-05-03 Thread Eugen Sares
Hello, there's a screenshot of a Lagoa-scene with a wineglass here: http://www.cgsociety.org/index.php/CGSFeatures/CGSFeatureSpecial/lagoa_multiphysics Does anyone know if and where this sample scene is available? I'd like to get a feeling to what is feasible with Lagoa. This would be the perfe

RE: Why is Material::operator& private?

2012-05-03 Thread Chris Chia
Hi Nicolas, If I were you, I will have a super class which extends the Material so that I will always maintain the integrity of Material itself. I am not sure whether my approach is the standard way. But I won't use your method of wrapping the material with another class. Let's hear from others

Re: Tricks for cameras to get the steady cam feel

2012-05-03 Thread Anthony Martin
I'll endorse Adrian's script. Works really well for both camera shake and steadicam-style motion. If you can't find it, Adrian, I have it. I always keep it close to me! Anthony On Wed, May 2, 2012 at 5:17 PM, adrian wyer wrote: > ** ** ** ** ** ** > > a bit late to the party, but i wrote a scrip

RE: Tricks for cameras to get the steady cam feel

2012-05-03 Thread adrian wyer
feel free to throw it online Anthony a Adrian Wyer Fluid Pictures 75-77 Margaret St. London W1W 8SY ++44(0) 207 580 0829 adrian.w...@fluid-pictures.com mailto:adrian.w...@fluid-pictures.com> www.fluid-pictures.com http://www.fluid-pictures.com/> Fluid Pictures Limited is registe

Re: Tricks for cameras to get the steady cam feel

2012-05-03 Thread Anthony Martin
Here it is. Just change the .txt to .vbs Instructions: Animate your camera. Select your camera (not the root or the interest, the actual camera) and run the script. Then just play with the sliders. On Thu, May 3, 2012 at 11:32 AM, adrian wyer wrote: > ** ** ** ** ** > > feel free to throw it

RE: Why is Material::operator& private?

2012-05-03 Thread Marc-Andre Belzile
Its a design decision to avoid the use of pointers in the API. I understand it's restricting the use of stl at some point but you can probably use CRef in your container declaration instead. e.g. std::vector< CRef > -mab From: softimage-boun...@listproc.autodesk

Re: Lagoa demoscenes

2012-05-03 Thread Guillaume Laforge
Hello Eugen, I remember this scene, I made it before Soft 2011.5 release :). I just found this backup in my dropbox : http://dl.dropbox.com/u/5533643/Softimage/Lagoa_Demo_Scenes.rar Looking into this zip file, it looks like the wineglass scene is inside it. You should find a low res version and a

RE: Lagoa demoscenes

2012-05-03 Thread Chris Chia
Hi Guillaume, this is Great stuff! Thanks. Regards, Chris Chia From: softimage-boun...@listproc.autodesk.com [softimage-boun...@listproc.autodesk.com] on behalf of Guillaume Laforge [guillaume.laforge...@gmail.com] Sent: Thursday, May 03, 2012 9:14 PM To: softim

"Create Copies from Polygon Mesh" not copying UVs or materials like it's supposed to

2012-05-03 Thread Alan Fregtman
Hey guys, Anyone had any problems with this compound? I'm on 2012.SAP at work and I enabled the Texture Projection options in the compound, but it doesn't seem to transfer them. Material isn't transferring either it seems. The source mesh is a super simple grid with a frozen planar XZ projection.

Re: "Create Copies from Polygon Mesh" not copying UVs or materials like it's supposed to

2012-05-03 Thread Guillaume Laforge
Hi Alan, >From the doc : http://download.autodesk.com/global/docs/softimage2013/en_us/userguide/index.html?url=files/iceref_Create_Copies_from_Polygon_Mesh.htm,topicNumber=d30e616076 It is saying that it will copy the Materials and MaterialID attributes. Do you have such data on your grid ? Guil

RE: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Chris Chia
Hi Bradley, I did a quick test on GetDataArrayChunk and it works beautifully. si = Application def getCloudData(obj, attName, index): pc = si.Dictionary.getObject(obj) geo = pc.ActivePrimitive.Geometry pp = geo.GetICEAttributeFromName(attName) data = pp.GetDataArrayChunk( 0, index+

Re: "Create Copies from Polygon Mesh" not copying UVs or materials like it's supposed to

2012-05-03 Thread Guillaume Laforge
It is always better with a picture :) : [image: Inline image 2] On Thu, May 3, 2012 at 9:35 AM, Guillaume Laforge < guillaume.laforge...@gmail.com> wrote: > Hi Alan, > > From the doc : > http://download.autodesk.com/global/docs/softimage2013/en_us/userguide/index.html?url=files/iceref_Create_Cop

Re: "Create Copies from Polygon Mesh" not copying UVs or materials like it's supposed to

2012-05-03 Thread Alan Fregtman
Ouuhhh *hides for missing that part of the docs* Thanks Guillaume! On Thu, May 3, 2012 at 9:45 AM, Guillaume Laforge wrote: > > It is always better with a picture :) : > > > > On Thu, May 3, 2012 at 9:35 AM, Guillaume Laforge > wrote: >> >> Hi Alan, >> >> From the doc >> : http://downloa

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Bradley Gabe
Thanks! This code set is a more useful example for usage than the one provided in the docs. I'm picking through it and modifying into what I need. If I get a working function I'll post it. -B On Thu, May 3, 2012 at 9:43 AM, Chris Chia wrote: > Hi Bradley, > I did a quick test on GetDataArrayCh

RE: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Marc-Andre Belzile
Here's another example from the doc in case you missed it win32com.client import constants xsi = Application xsi.CreatePrim("Sphere", "MeshSurface", "", "") attrs = xsi.Selection(0).ActivePrimitive.Geometry.ICEAttributes for attr in attrs: if attr.StructureType != constants.siICENodeStruc

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Chris Chia
Hi Bradley, Ha, i think the examples in the documentation are better coded. Mine is a hack. Hope you can understand it. Yes, do post back when you have a working one. Cheers! Regards, Chris Chia QA Analyst Sent from my iPhone On 3 May, 2012, at 10:31 PM, "Bradley Gabe" mailto:witha...@gmail.co

Re: "Create Copies from Polygon Mesh" not copying UVs or materials like it's supposed to

2012-05-03 Thread Alan Fregtman
Hmmm, it's not displaying the materials so I think something's wrong still. If I apply the source material on the ice polymesh object then I can see the UVs transferred properly, but it's not setting materials from source. I put "Set Materials from Library" and "Set Material ID" like in your scre

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Bradley Gabe
When I attempted to convert the one from the docs into a function for returning a single value, it wasn't obvious how to retrieve info from the data chunk that was returned. Honestly, that was the sticking point. Combining the two examples was enough for me. -B On Thu, May 3, 2012 at 10:43 AM, Ch

Re: "Create Copies from Polygon Mesh" not copying UVs or materials like it's supposed to

2012-05-03 Thread Guillaume Laforge
What are the values of Materials and MaterialID on the source object ? (Add an Attribute Display property to read them ) On Thu, May 3, 2012 at 10:49 AM, Alan Fregtman wrote: > Hmmm, it's not displaying the materials so I think something's wrong still. > > If I apply the source material on the ic

Re: "Create Copies from Polygon Mesh" not copying UVs or materials like it's supposed to

2012-05-03 Thread Alan Fregtman
Found the problem... I hadn't noticed that apparently a MaterialID of 0 is not permitted (and not noticed you used 1 in your screenshot.) I was under the impression that 0 = first, but apparently 0 is not a good MaterialID to set and the first = 1. Everything works fine now. In retrospect I shoul

Re: Lagoa demoscenes

2012-05-03 Thread Tim Leydecker
Thanks for sharing! Cheers, tim On 03.05.2012 15:14, Guillaume Laforge wrote: Hello Eugen, I remember this scene, I made it before Soft 2011.5 release :). I just found this backup in my dropbox : http://dl.dropbox.com/u/5533643/Softimage/Lagoa_Demo_Scenes.rar Looking into this zip file, it

Re: "Create Copies from Polygon Mesh" not copying UVs or materials like it's supposed to

2012-05-03 Thread guillaume laforge
material 0 is using the standard material applied on your object (so it can be the scene material or an other applied locally or from a group/partition). It is explained somewhere in the doc I think. Guillaume Laforge Sent from my phone On 2012-05-03, at 11:05, Alan Fregtman wrote: > Found

Softimage Creatives user group London

2012-05-03 Thread adrian wyer
Just wanted to give you all a poke and remind you to register for the upcoming London event! In case you missed the announcement, there will be a user group meeting at Jerusalem Bar and Kitchen, Rathbone place, london on the 29th May find out more, and register here; http://www.softimagecre

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Bradley Gabe
Here's a function that does what I needed, grabs data from an ICEAttribute at a specific ID and returns it packaged in its corresponding XSI data type object (except for Color which is output in an R,G,B,A array). Most importantly, it's a whole heap faster than pulling the entire attribute DataArra

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Bradley Gabe
Whoops! There was a minor type in that script.. missing a dot for CreateVector3(). Here's the repaired version for posterity: def getCloudData(inCloud, attName, index): from win32com.client import constants attr = inCloud.ActivePrimitive.Geometry.GetICEAttributeFromName(attName) data = attr.Ge

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Chris Chia
Hi Bradley, Just a small note: Move this out of your python function for a neater code. from win32com.client import constants Import module should always be done at the top of your script. Cheers. Regards, Chris Chia Softimage QA Analyst On 3 May, 2012, at 11:12 PM, "Bradley Gabe" mailto:wit

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Bradley Gabe
Indeed, it is good manners. I just wanted it in there so folks could copy/paste the function and have it work. If I recall correctly, Python is smart enough to run the import only once. On Thu, May 3, 2012 at 11:21 AM, Chris Chia wrote: > Hi Bradley, > Just a small note: > Move this out of your

Re: Lagoa demoscenes

2012-05-03 Thread Eugen Sares
Merci beaucoup, Guillaume!! ***2 thumbs up*** On Thu, 03 May 2012 15:14:20 +0200, Guillaume Laforge wrote: Hello Eugen, I remember this scene, I made it before Soft 2011.5 release :). I just found this backup in my dropbox : http://dl.dropbox.com/u/5533643/Softimage/Lagoa_Demo_Scenes.rar

Re: Tricks for cameras to get the steady cam feel

2012-05-03 Thread Alan Fregtman
Am I the only one that likes to use the mouse "device driver" to "*mocap*" the X,Y of the mouse to the X,Y of a virtual camera? *If you hold a hard mousepad or cardboard vertical in front of a surface or your other hand and hold the mouse like a small camera, your natural human shakiness will *tra

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Chris Chia
Yes, but it's more like for performance purpose. because that line will keep appearing in the function stack and python keeps having to do the function lookup to verify it has already imported every time the getCloudData func is being called Anyway, as long as you know what you are doing, I thi

Re: Softimage Creatives user group London

2012-05-03 Thread Rob Wuijster
Appropriate place for a 'resurrection' ;-) Have fun, too bad it's a bit too far for us across the channel. Rob \/-\/\/ On 3-5-2012 17:12, adrian wyer wrote: Just wanted to give you all a poke and remind you to register for the upcoming London event! In case y

RE: Softimage Creatives user group London

2012-05-03 Thread adrian wyer
awww come on Rob, if you set off now, you'll be here and rested after your swim by the 29th! a Adrian Wyer Fluid Pictures 75-77 Margaret St. London W1W 8SY ++44(0) 207 580 0829 adrian.w...@fluid-pictures.com mailto:adrian.w...@fluid-pictures.com> www.fluid-pictures.com http://www.flui

Re: Softimage Creatives user group London

2012-05-03 Thread Rob Wuijster
Hehe with the easyjet prices it might be easier to fly ;-) Too bad this stuff isn't on a Friday afternoon, that might make it plausible Rob \/-\/\/ On 3-5-2012 18:10, adrian wyer wrote: awww come on Rob, if you set off now, you'll be here and rested af

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Alan Fregtman
Hey Brad, Don't forget to check the attribute's .IsConstant property. If it's true then it's a single value, not array and I would imagine your code would fail as-is. Just mentioning it if you want to use this for more general purposes where you may not be sure there's an array coming. Cheers,

Re: Scripting: Accessing ICEAttributes at a specific ID using GetDataArrayChunk?

2012-05-03 Thread Bradley Gabe
Good advice in general. For my usage there will always be an array. On Thu, May 3, 2012 at 12:58 PM, Alan Fregtman wrote: > Hey Brad, > > Don't forget to check the attribute's .IsConstant property. If it's true > then it's a single value, not array and I would imagine your code would > fail as-is

Re: Lagoa demoscenes

2012-05-03 Thread John Richard Sanchez
Awesome!! On Thu, May 3, 2012 at 11:27 AM, Eugen Sares wrote: > Merci beaucoup, Guillaume!! > ***2 thumbs up*** > > > > On Thu, 03 May 2012 15:14:20 +0200, Guillaume Laforge < > guillaume.laforge.3d@gmail.**com > wrote: > > Hello Eugen, >> >> I remember this scene, I made it before Soft 2011.5

Re: uk subscription pricing

2012-05-03 Thread Matt Morris
I'm surprised there aren't more angry people out there, given this is a European issue. I suppose the larger companies will actually save money through getting the soft/maya suites and amalgamating their software licences, but the freelancers out there must be feeling the pinch? A lot of people jus

Re: Why is Material::operator& private?

2012-05-03 Thread Nicolas Burtnyk
Thanks guys. Chris - yeah deriving from CMaterial is another option which I guess is a bit cleaner. Anyway, I'll probably use CRef as Marc-Andre suggested. My only problem with that is that if I want to sort by object ID, I need a predicate like this: struct ProjectItem_less { inline bool operat

Re: Why is Material::operator& private?

2012-05-03 Thread Steven Caron
in a rendering context speed is paramount, keep up the good fight! and the pressure on the autodesk to make the improvements you need. On Thu, May 3, 2012 at 5:41 PM, Nicolas Burtnyk wrote: > > the on-the-fly construction of 2 ProjectItems to do the comparison is a > lot slower than if I had tho

Undo inconsistent with edits made through PPG Events

2012-05-03 Thread Matt Lind
Anybody ever experience the situation where actions taken on the scene through PPG Events of a custom property do not undo the same way consistently? I created a self installing custom property which drives the translation, rotation, and scale parameters of multiple envelope deformers in the sce

Re: Lagoa demoscenes

2012-05-03 Thread Steve Pratt
Thanks muchly Guillaume, great stuff! > Cheers, > > Guillaume > > On Thu, May 3, 2012 at 5:08 AM, Eugen Sares wrote: > >> Hello, >> there's a screenshot of a Lagoa-scene with a wineglass here: >> >> http://www.cgsociety.org/index.php/CGSFeatures/CGSFeatureSpecial/lagoa_multiphysics >> >> Does a

Re: Convert Position Fcurves key's tangents in 3d space

2012-05-03 Thread Simon Pickard
Very cool! So amazing to see this in Softimage! :) Regards, Simon On 3 May 2012 09:55, Ahmidou Lyazidi wrote: > Hi Jo, and thanks for the snipet! > I already have a structure not that far, but my problem is elsewhere. The > fcurves's tangents interpretation in 3d is not a simple mapping of the