Re: ICE modelling: topo cache when polygon count is changing

2012-08-27 Thread Ben Houston
Hey Chris, Well, I am more talking about caching the resulting mesh from the ICE Topo rather than a node within the ICE Tree -- so it isn't an Apples-to-Apples comparison. We support multiple UVs, clusters and material names on the dynamic poly meshes that are cached out to Alembic, although I

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Ana Gomez
Congratulations for your window! I'm going to try to answer some points, for the rest I would need more time to look them: 2) *Proper Tool Termination* Try one thing and tell me if you are still loosing memory. Make these changes: def MultiImporter_Qt_Execute(): ... sianchor =

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Tim Crowson
Thanks Ana, I'm still getting the memory problem even after making the change you suggested. I got rid of the extra dialog too. I've attached the update addon, for what it's worth. I don't understand how to fix the filebrowser problem. What is strange to me is how it seems to inherit some

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Tim Crowson
Ana, - Your method for preventing multiple windows seems to work, but once I close the ui, I can't relaunch it (which makes me wonder if it's really gone. Still not understanding how to properly kill it on close). - changing the direction of the slashes fixes the HTML links! Thanks for the

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Steven Caron
her example i dont believe was complete... if you find an instance you need to return the class then .show(). right? s On Mon, Aug 27, 2012 at 10:59 AM, Tim Crowson tim.crow...@magneticdreams.com wrote: Ana, - Your method for preventing multiple windows seems to work, but once I close the

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Ana Gomez
Tim! I think I know what it is happening. You are right, your window is not being destroy when you close the window. Write this on the init of your window: 'self.setAttribute(QtCore.Qt.WA_DeleteOnClose)'. Check the memory again and open several times the window, close it and open it.

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Ana Gomez
class MuiltImporterDialog( QDialog ): def __init__( self, uifilepath, parent ): QDialog.__init__(self, parent) QApplication.setStyle(QtGui.QStyleFactory.create('Plastique')) self.ui = uic.loadUi( uifilepath, self) *self.setAttribute(QtCore.Qt.WA_DeleteOnClose)*

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Tim Crowson
Ah! I think that works, Ana! The ram is almost completely freed up when the window is closed now. A small percentage remains, but nothing like before. I can't thank you enough! -Tim On 8/27/2012 1:24 PM, Ana Gomez wrote: Tim! I think I know what it is happening. You are right, your window is

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Ana Gomez
great news!! How are you measuring the memory? I'd like to do it too. I'll keep you informed on my progresses with the file browser.

Re: Some more questions about PyQt in Softimage (addon v1.12)

2012-08-27 Thread Tim Crowson
Big thanks to Ana and Steve for helping me sort through some of the trouble I was having. Much tighter stuff now. I'm attaching the latest version (1.12) for whoever is interested. *Tim Crowson */Lead CG Artist/ *Magnetic Dreams Animation Studio, Inc. *2525 Lebanon Pike, Building C.

Re: Some more questions about PyQt in Softimage (addon v1.12)

2012-08-27 Thread Miquel Campos
Thank you Tim for share your code :) Miquel Campos *Character Animation TD * www.akaosaru.com

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Tim Crowson
Sure thing. I'll do that shortly! Ana, as far as checking memory goes, I'm really a newbie, so I'm just looking at the Process list in the Task Manager. I'd love to know a more accurate way, because I know that only shows part of the information. -Tim On 8/27/2012 1:50 PM, Steven Caron

Re: Some more questions about PyQt in Softimage (addon v1.12)

2012-08-27 Thread Steven Caron
thanks tim! once this is 'finished' it would be great to see it on rray.de/xsi and link on the github page as projects using the plugin. a great, simple example. s On Mon, Aug 27, 2012 at 11:55 AM, Miquel Campos miquel.cam...@gmail.comwrote: Thank you Tim for share your code :)

Re: Some more questions about PyQt in Softimage (addon v1.12)

2012-08-27 Thread Tim Crowson
Right on. Still two things that need smoothing out, although they're strictly cosmetic: 1) the funky FileBrowser 2) the teeny tiny 'Ok' button in the 'About' dialog. I still don't know enough about Qt to fix that. I could use a brute force method by creating a new class for it, which would

Re: Some more questions about PyQt in Softimage (addon v1.12)

2012-08-27 Thread Steven Caron
take your time! On Mon, Aug 27, 2012 at 12:10 PM, Tim Crowson tim.crow...@magneticdreams.com wrote: Right on. Still two things that need smoothing out, although they're strictly cosmetic: 1) the funky FileBrowser 2) the teeny tiny 'Ok' button in the 'About' dialog. I still don't know

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Luc-Eric Rousseau
If Softimage is changing the look of the controls in your dialog box in an unpleasant way, use the method SuspendWin32ControlsHook before creating the dialog, and call RestoreWin32ControlsHook afterwards http://softimage.wiki.softimage.com/index.php?title=Desktop_Cpp_Class

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Steven Caron
these are only exposed to the cpp api right? so i need to expose this to scripting in the QtSoftimage plugin... s On Mon, Aug 27, 2012 at 12:55 PM, Luc-Eric Rousseau luceri...@gmail.comwrote: If Softimage is changing the look of the controls in your dialog box in an unpleasant way, use the

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Luc-Eric Rousseau
On Mon, Aug 27, 2012 at 4:02 PM, Steven Caron car...@gmail.com wrote: these are only exposed to the cpp api right? so i need to expose this to scripting in the QtSoftimage plugin... it's there in scripting desktop = Application.Desktop desktop.SuspendWin32ControlsHook()

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Steven Caron
oh nice... thanks luc-eric! @tim, give this a shot? On Mon, Aug 27, 2012 at 1:28 PM, Luc-Eric Rousseau luceri...@gmail.comwrote: On Mon, Aug 27, 2012 at 4:02 PM, Steven Caron car...@gmail.com wrote: these are only exposed to the cpp api right? so i need to expose this to scripting in the

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Tim Crowson
Yeah, lemme see how this works... -Tim On 8/27/2012 3:34 PM, Steven Caron wrote: oh nice... thanks luc-eric! @tim, give this a shot? On Mon, Aug 27, 2012 at 1:28 PM, Luc-Eric Rousseau luceri...@gmail.com mailto:luceri...@gmail.com wrote: On Mon, Aug 27, 2012 at 4:02 PM, Steven Caron

Re: Softimage Bundles..... please remove

2012-08-27 Thread Gene Crucean
... what's Softimage On Sun, Aug 26, 2012 at 9:22 AM, John Richard Sanchez youngupstar...@gmail.com wrote: Whats matchmover and composite? :) On Sat, Aug 25, 2012 at 5:07 AM, Xavier Lapointe xl.mailingl...@gmail.com wrote: Was about to do a bad joke about the recent layoff. Just

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Tim Crowson
Yes, that seems to do the trick! New version (v1.13) is attached. Thanks Luc-Eric! Now, any Qt experts who can tell me about button sizes for standard buttons on a QMessageBox? ;-) -Tim On 8/27/2012 3:34 PM, Steven Caron wrote: oh nice... thanks luc-eric! @tim, give this a shot? On

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Steven Caron
great news! sorry to ask this of you again, but could you log another separate issue on github? i ask because a) i am super busy and b) i can't get to it now and need a nice reminder s On Mon, Aug 27, 2012 at 2:32 PM, Tim Crowson tim.crow...@magneticdreams.com wrote: Yes, that seems to do

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Tim Crowson
No problem! :-) -Tim On 8/27/2012 5:04 PM, Steven Caron wrote: great news! sorry to ask this of you again, but could you log another separate issue on github? i ask because a) i am super busy and b) i can't get to it now and need a nice reminder s On Mon, Aug 27, 2012 at 2:32 PM, Tim

Re: Some more questions about PyQt in Softimage

2012-08-27 Thread Tim Crowson
I've also added a page about it on my site: http://dynamiclens.com/wordpress/?page_id=750 -Tim On 8/27/2012 5:04 PM, Steven Caron wrote: great news! sorry to ask this of you again, but could you log another separate issue on github? i ask because a) i am super busy and b) i can't get to it

Re: Softimage Bundles..... please remove

2012-08-27 Thread Eric Thivierge
Yeah they don't have Softimage on Apple :p Eric Thivierge http://www.ethivierge.com On Tue, Aug 28, 2012 at 7:23 AM, Gene Crucean emailgeneonthel...@gmail.comwrote: ... what's Softimage

C++ API question - XSI::Image.GetPixelArray with 8 bit source linear color space

2012-08-27 Thread Eric Cosky
Hi, When processing the pixel data returned by XSI::Image.GetPixelArray, the data seems to be in 8-bit linear space. This is surprising, and I wonder if anyone else has noticed this or if I am (perhaps more likely) misreading the data? I've been correcting a number of gamma issues with my

Re: Some more questions about PyQt in Softimage (addon v1.12)

2012-08-27 Thread Simon Anderson
Hey Tim, Will take a look at some code when im home later, and see if I can help you with making the button bigger. On Tue, Aug 28, 2012 at 5:12 AM, Steven Caron car...@gmail.com wrote: take your time! On Mon, Aug 27, 2012 at 12:10 PM, Tim Crowson tim.crow...@magneticdreams.com wrote:

Re: Some more questions about PyQt in Softimage (addon v1.12)

2012-08-27 Thread Simon Anderson
Nice tool also, its great seeing more and moer people releasing tools for softimage :) keep the community healthy and push soft! :D On Tue, Aug 28, 2012 at 11:16 AM, Simon Anderson simonbenandersonl...@gmail.com wrote: Hey Tim, Will take a look at some code when im home later, and see if I

Re: Small Annoying Things

2012-08-27 Thread Xavier Lapointe
Dispatch Issue in Python :) This is __super__ annoying.