Re: Looking for artists

2013-09-23 Thread jo benayoun
PS: and it has been scientifically proved that websites using HTML tables for non-tabular data can't be serious. lol, that one killed me dude. 2013/9/23 Graham D Clark mailgrahamdcl...@gmail.com No I don't think they are based in Scottsdale thats Domainsbyproxy.com, maybe go down the

Re: Open source json camera I/O platform

2013-07-12 Thread jo benayoun
well job Gene, I would now spent a bit of time on the code itself to make it more flexible. It would be great to have clear separation between plugins, core lib and ui code imho. @Alan, don't do that please... http://en.wikipedia.org/wiki/Year_2038_problem 2013/7/11 Alan Fregtman

Re: Open source json camera I/O platform

2013-07-12 Thread jo benayoun
alan.fregt...@gmail.comwrote: *Oh my...* So what's the ideal short-form datetime storage? A long string? On Fri, Jul 12, 2013 at 2:00 AM, jo benayoun jobenay...@gmail.comwrote: well job Gene, I would now spent a bit of time on the code itself to make it more flexible. It would

Re: Open source json camera I/O platform

2013-07-10 Thread jo benayoun
Hey Gene, that's a very good idea and if well developed could de facto become useful to many studio outta here (most comes with their own because of this lack of standard that would answer any needs). Some rough notes though if I may: - unit: as soon as you store transforms in a file, you want to

Re: Open source json camera I/O platform

2013-07-10 Thread jo benayoun
Hey Gene, no worries, I don't take it wrong. It is tough to compile a set of arguments in a so short amount of time, but I'll give it a try. So forgive me if I repeat myself or I am not enough detailled. At the end there is always a good reason mostly driven by our own experience, the production

Re: Python Multiprocessing in Softimage

2013-05-30 Thread jo benayoun
Hey Vincent, multithreading is different of multiprocessing... short long story, multithreading is about running many threads in the same memory space (so shared memory and so use of patterns such as mutex, semaphore,...) while multiprocessing is about running different external processes (all

Re: WWD the 3D movie

2013-05-01 Thread jo benayoun
I wasnt expecting this. Really surprised as it looks really good, congrats to the team for the release! -- jo Le mercredi 1 mai 2013, Christopher a écrit : The next one will make a louder dino sound, that is what it will differentiate it from the other 30 :) ::Christopher Andre De

Re: Modo's Deformation (Weight Containers)

2013-04-13 Thread jo benayoun
actually, this is not really new and is quite similar to the way envelopping is done for years in the in-house 3D package at R+H from what I remember. They had a complete different way to do rigging/skinning that I was used to see in other studios. I wouldn't be surprised, this feature is coming

Re: SI 2014 sneak peek

2013-02-28 Thread jo benayoun
I am still amazed by seeing what big studios with a few software developers can produce as amazing technologies in a year and what is released every year for 3d packages by AD... I can clearly say that the status of technologies last time I checked were ten times more exciting (in rigging,

Re: fastest way through script to get all parameters in a scene of certain value?

2013-02-28 Thread jo benayoun
Hey Enoch, unless I missed something, the way you're doing is already the fastest on my machine... for reference: # INFO : tag operation1 (tag): 2.13486326588 # INFO : tag operation2 (tag+): 18.2174550721 # INFO : tag operation3 (OM): 18.2086833524 # INFO : get operation1 (tagparams):

Re: fastest way through script to get all parameters in a scene of certain value?

2013-02-28 Thread jo benayoun
:* softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] *On Behalf Of *jo benayoun *Sent:* Thursday, February 28, 2013 2:49 PM *To:* softimage@listproc.autodesk.com *Subject:* Re: fastest way through script to get all parameters in a scene of certain value

Re: Sublime definitions for Softimage

2013-01-31 Thread jo benayoun
a...@andynicholas.comwrote: You guys should check this out. It might give you a good start... http://xsisupport.com/2012/10/06/saturday-snippet-getting-a-list-of-properties-and-methods-with-python-introspection/ On 04 January 2013 at 00:54 jo benayoun jobenay...@gmail.com wrote: The Softimage API

Re: building asset tools

2013-01-27 Thread jo benayoun
hey Stefan I would say, the most important is to make the right difference between the asset and the file on disk. The asset is just a concept, often just an entry in whatever storage unit you choose with metadatas and bind to a file on disk. So to keep things simple, why not considering your

Re: Get enum array items

2013-01-04 Thread jo benayoun
looks like Eric is already preparing the 2013 contest by creating new threads that he solves himself! nice try Eric but no ... :P --jon 2013/1/4 Eric Thivierge ethivie...@gmail.com Scratch that. oItem = PPG.Item(myItemName) lUIItems = oItem.UIItems

Re: Sublime definitions for Softimage

2013-01-03 Thread jo benayoun
The Softimage API (object model) is not visible because its all about dynamic dispatching at runtime. This is like thinking your editor will be natively enough smart to detect attributes you would add dynamically when overriding the __getattr__ method of a class. Happily for us the dispatching is

Re: Softimage Picker

2012-11-22 Thread jo benayoun
hey david, you shouldn't need to update your widgets every time the user has changed its selection (completely behind steve on that one) but everytime focus has changed back to your widget. overload QWidget::enterEvent or QWidget::focusInEvent and update your highlight buttons when the widget is

Re: Overlapping UV (Scripting)

2012-11-01 Thread jo benayoun
Hey Martin, I am afraid that the software is not aware of this concept assuming this is only revealed when drawing into the texture editor viewport. You can still deduce it by scripting. what about this: - get the texture projection elements - create a bitmap matching the uv space (minmax u

Re: SDK: When *exactly* does XSIUnloadPlugin get called

2012-10-26 Thread jo benayoun
I guess the plugin is loaded once for discovering and registration (plugin manager), and then reloaded for getting the actual features (actual extension of features). Usually, plugin systems use a specification file for each new plugin (xml or other) that is in charge of describing (description,

Re: combobox

2012-10-26 Thread jo benayoun
hey Gareth, if I remember correctly and in the case where the multi-selection flag is not on, you can do something like this: values = ['red', 'orange', 'blue'] formatted = list() [formatted.extend(x) for x in enumerate(values)] ['red', 0, 'orange', 1, 'blue', 2] values[listbox.Value] no ?

Re: SDK: When *exactly* does XSIUnloadPlugin get called

2012-10-26 Thread jo benayoun
You mean like the .spdl and .preset formats? nope at all, I mean like a specification file. plugins specifications are usually little xml/json files where all informations relative to the plugin are written (what you do with the PluginRegistrar::Put* calls). This has mainly two big advantages

Re: Qt Wrapper command log issue

2012-10-24 Thread jo benayoun
The different API usages have already been mentioned there for reference: https://groups.google.com/forum/m/?fromgroups#!topic/xsi_list/1HqDKBMspyE Pyside shouldnt have the same problem tho because of their design choices.

Re: PyQtForSoftimage: QFileDialog

2012-10-19 Thread jo benayoun
Hey Cesar, there is no limitations nor bugs, its just softimage is setting new controls to use its style and qt lets do. Use this and you should be safe. void

Re: Qt Wrapper command log issue

2012-10-16 Thread jo benayoun
hey Tony, welcome aboard. I did not find any explicit message that would match what you get (I quickly grep the source code, this would deserve much more investigations). As you're the first one to report this kind of problem, and as you have compiled pyside, Ive emitted the idea that it could be

Re: etRenamer 3.0, now with PyQt version

2012-10-16 Thread jo benayoun
regular expressions are clearly a must have ... you clearly see their power when switching to linux. because when you have a dude who called you to his desk to say Hey that cmd gives me an error like what the *bip* has no subscriptions to the *bip* but in the *bip* it turns out it has ... well,

Re: the goon kickstarter.

2012-10-12 Thread jo benayoun
FYI, if you guys get this funded and need some help rigging you know who to call. thanks dude for referencing me, I appreciate. =D 2012/10/12 Eric Thivierge ethivie...@gmail.com FYI, if you guys get this funded and need some help rigging you know who to call.

Re: Raafal

2012-10-10 Thread jo benayoun
wait a sec, a framework written in purebasic, based on open techs with a Softimage UI ... the headlines sound cool but ... if Guy is planning developing a framework that will be used to build a 3d software like what he has in mind, I would hear more about how he is thinking the architecture than

Re: OT - Python Question: how to get the Handle (Windows) for a specific application?

2012-07-29 Thread jo benayoun
Hey Tim, there is many ways to bring back a window to the foreground, and the way you're going is one of them. In any cases, you will need the window handle to manipulate the right window. There is many ways to retrieve this handle, start looking thru the Fusion SDK, if they are not exposing it

Re: get all the expressions driven by a parameter

2012-07-27 Thread jo benayoun
Hey Jeremie, Here is what I am coming with on a character with thousands of expressions: # method 1 took 5.42011094882 and find 3 expressions. # method 2 took 2.31037755754 and find 3 expressions. # method 3 took 5.41616293425 and find 3 expressions. I would recommend you to take a look at a

Re: Shed Pose Library

2012-07-23 Thread jo benayoun
Hey Miquel, looks terrific! thanks for sharing this with us! -- jo Le lundi 23 juillet 2012, Miquel Campos a écrit : Hello Softimage fellas, At shed we did some tools for the animators and one of them is shed_poseLib a Pose manager to help speed up the animation process. The tool stores

Re: Inherit from a Softimage class

2012-07-15 Thread jo benayoun
@gmail.com wrote: Thanks Jo, That was more a thinking I had rather than a real intention to do it... I'm looking for different way to organize my code. Thanks for the advice ! On 11 July 2012 12:10, jo benayoun jobenay...@gmail.commailto: jobenay...@gmail.com wrote: Hey Jeremie

Re: Inherit from a Softimage class

2012-07-11 Thread jo benayoun
Hey Jeremie, considering the COM architecture (interfaces inheritance) + the python binding (dynamically invoking), this is really a bad idea to even think to inheritance... The most easiest and elegant way that I think of is to wrap the desired object into a class. On another hand, you're able

Re: Getting the bounding box for a subcomponentcollection?

2012-07-09 Thread jo benayoun
for completeness... -- Jo def get_bbox_pos(obj): pos = [0, 0, 0] res = Application.GetBBox(obj) xmin, ymin, zmin, xmax, ymax, zmax = res x = (xmin + xmax) * 0.5 y = (ymin + ymax) * 0.5 z = (zmin + zmax) * 0.5 return (x, y, z) def marker_at_center(comp): pos =

Re: XSI Import troubles

2012-06-07 Thread jo benayoun
No need of plugins Eric, when coding on Notepad, you know you have to be aware of everything and can't trust anything. That makes your code looking * sublime*, smarter and more professional ! :D -- Jo 2012/6/7 Eric Thivierge ethivie...@gmail.com Notepad might have a plugin for all of that...

Re: Scripting Development with an external IDE

2012-05-31 Thread jo benayoun
Sublime has this shiny side I don't like and do definitively less than an emacs or cie, its the perfect tool to develop snippets and little tools tho ... What a good IDE should have: - a good code editor - an awesome project manager - an amazing debugger - a without-effort integrated build

Re: PyQtForSoftimage vs Blur-dev

2012-05-08 Thread jo benayoun
Hey Ana, I'm agreed with you about how softimage events are managed for now is not the best way to go ... Ideally, we should have QEvent subclasses for Softimage events and one and unique method with the following signature SoftimageWidget::softimageEvent(QEvent *event) to handle them (and fit

Re: PyQt For Softimage

2012-05-07 Thread jo benayoun
Hi Enrique, You can still (as suggested by Stefan) subscribe to the siOnValueChanged which will give you back a reference to the parameter to retrieve its new value. A good option would be to implement a custom engine. You can imagine a mechanism implemented in your main SynopticWidget which will

Re: PyQtForSoftimage vs Blur-dev

2012-05-07 Thread jo benayoun
PyQtForSoftimage and I'm wondering some questions. As far as I know, this plugin is based on Blur tools. So, which are the differences between them? Do they have the same features? (of course, from the point of view of PyQt) Thanks in advance and thanks to Steven Caron and Jo Benayoun for sharing it.

Re: Getting the objects to which a material was assigned in siOnEndCommand

2012-05-04 Thread jo benayoun
Hey Nicolas, I know, this is not answering directly to your issue here, but rethinking to your problems (tracking FCurves, materials, etc) for the project you're working, I would ask why not building a custom scene graph (something relatively simple) where all nodes are just CRef (the

Re: Getting the objects to which a material was assigned in siOnEndCommand

2012-05-04 Thread jo benayoun
at this. Thanks! On Fri, May 4, 2012 at 5:46 PM, jo benayoun jobenay...@gmail.com wrote: Hey Nicolas, I know, this is not answering directly to your issue here, but rethinking to your problems (tracking FCurves, materials, etc) for the project you're working, I would ask why not building

Re: Getting the objects to which a material was assigned in siOnEndCommand

2012-05-04 Thread jo benayoun
Well, you can still subscribe to an event like siOnValueChange or why not a timer that will helps you to get an idea to when run your visitor thru your custom scene graph. It would be enough to make a trace between each user edit. At worst you can adjust the stepping of your custom timer. Also

Re: Getting the objects to which a material was assigned in siOnEndCommand

2012-05-04 Thread jo benayoun
Hey Nicolas, This depends of the frequency of your scenegraph traversal. For sure, if you run it like this Start: sphere with bend modifier, Material2 assigned (226) traversal Assign material 1 (206) Change the bend angle 10 times (226) traversal the system will break. But visiting at this

Re: Getting the objects to which a material was assigned in siOnEndCommand

2012-05-04 Thread jo benayoun
Hey Nicolas, I think there is a misunderstanding on what I'm suggesting and what you could expect. 1/ When I was talking about increasing the frequency of the custom scene graph traversal, I was thinking to it in the context of a quick preview ala render region where things have to be updated

Re: [C++] store Fcurve in a CRefArray?

2012-05-02 Thread jo benayoun
Hey Ahmidou, Is the ref you try to add to the array is the ref returned by the FCurve::GetRef() method ? -jo 2012/5/2 Ahmidou Lyazidi ahmidou@gmail.com Hi Is it possible ? I can't get it working... Thanks -- Ahmidou Lyazidi Director | TD | CG artist http://vimeo.com/ahmidou/videos

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

2012-05-02 Thread jo benayoun
response man! A good way to paste code safely is to highlight it first: http://tohtml.com/python/ then copy from the browser and paste into Gmail while Rich Formatting is enabled. On Mon, Apr 30, 2012 at 2:19 PM, jo benayoun jobenay...@gmail.com wrote: Hi Ahmidou, looks quite nice

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

2012-05-02 Thread jo benayoun
oops ! wrong topic :( 2012/5/2 Eric Thivierge ethivie...@gmail.com PYTHON THUNDER DOME :D 2 coders enter, 1 coder leaves Eric Thivierge http://www.ethivierge.com On Thu, May 3, 2012 at 4:57 AM, jo benayoun jobenay...@gmail.com

Re: Scripting: Closest Point On a Point Cloud?

2012-05-02 Thread jo benayoun
def find_closest_point(obj, pos): x, y, z = pos points = obj.ActivePrimitive.Geometry. Points count = points.Count points = points.PositionArray xx, yy, zz = points delta = [((x-xx[i])**2 + (y-yy[i])**2 + (z-zz[i])**2) for i in xrange(count)] return

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

2012-04-30 Thread jo benayoun
Hi Ahmidou, looks quite nice ! :) For your problem, I would go in c by reproducing a kinda structure that mimic FCurves ones like the following. struct bezfragments { double cps[4][3]; uint_t interp; }; struct motionpath { constchar_t *source; ushort_t color[3]; uint_t

Re: PyQt For Softimage - COM Error: Out of present range. (0x-7ffdfff6)

2012-04-30 Thread jo benayoun
Hi Jared, yo Steve, Jared, you should unplug all the extras python modules and see how is output the anchor's adress (is valid ? is bigger than a long on your machine ?) from the cpp side. That's where I would start. jo 2012/4/30 Steven Caron car...@gmail.com hey jared i haven't seen

Re: CRefArray doesn't respect C++ copy semantics

2012-04-30 Thread jo benayoun
Hey Nicolas, never ran into that, but should definitively logged as bug ! :( jo 2012/4/30 Nicolas Burtnyk nico...@redshift3d.com I ran into this today while trying to figure out why my code was broken. Thought I'd pass this along and hopefully save someone some wasted time in the future...

Re: CRefArray doesn't respect C++ copy semantics

2012-04-30 Thread jo benayoun
in this case, CRefArray a1; a1.Add(CRef()); a1.Add(CRef()); CRefArray a2(a1); a2.Add(CRef()); The copy constructor is invoked and is not the one you mentioned Alok but this one CRefArray(const CRefArray other) which have different behaviors and purposes than the overloaded assignment operator.

Re: install directories

2012-04-27 Thread jo benayoun
or happened to you ? nope, just improving my cmake search directories On Fri, Apr 27, 2012 at 10:24 AM, jo benayoun jobenay...@gmail.comwrote: Hey Steve, I install on vm, my softimage versions in the same legacy folder than before adsk acquisition meaning D:\\Softimage\\whatever_name_I_use

Re: Softimage development

2012-04-18 Thread jo benayoun
*Couple people from PDI were around too saying they were using Soft|3D for a show that would have blown our minds (which ended up becoming shrek).* From what I heard, *Antz* has also been done with Softimage by PDI (*Antz*was the first movie of the couple PDI-Dreamworks before *Shrek*) ... jo

Re: Envelope Weights Without the Envelope Op?

2012-04-17 Thread jo benayoun
Hi Bradley, What about transferring the weights on a cav map (script or direct paint on it ?), creating a group of siobjects and keep a relationship between both by the display color - color at vertex (smooth weights should not be that easy to process, but at least absolute ones should be ... )

Re: Cython

2012-04-17 Thread jo benayoun
Hi Eugen, There is a bunch of tools like cython which are simply code generators (py - c, a quick google search should give you a good list of them). Imho, cython leads to ugly and unreadable python-like code and breaks the ideas and concepts behind the language. (there is a big bunch of devs