TwkMath & TwkUtil

10 views
Skip to first unread message

Moritz

unread,
Oct 9, 2009, 12:42:56 PM10/9/09
to open-gto-discussion
This is a mail I sent to Tweak earlier today. I was told to ask the
question here:

I just checked out GTO from the github repository.
After a day of minor fixes, mostly to get it to compile on 64bit
Linux,
and hacking a CMake-based build system, I now ran into a 'little'
obstace:
plugins/maya/GtoParticleEmitter and plugins/maya/GtoParticleDisplay
seem
to have dependencies on several Tweak-internal headers.

Is you planning to open source this at some point? Or should I look
for
alternatives (after trying to understand what these headers do)? :)

Beers,

Moritz

Jim Hourihan

unread,
Oct 14, 2009, 11:30:33 AM10/14/09
to open-gto-...@googlegroups.com

Hi Moritz, it looks like you just need to replace the calls to
TwkMath::Rand48 with rand() or random() and remove the includes.

-Jim

Moritz Moeller

unread,
Oct 14, 2009, 2:38:21 PM10/14/09
to open-gto-discussion


On Oct 14, 5:30 pm, Jim Hourihan <jimhouri...@gmail.com> wrote:
> Hi Moritz, it looks like you just need to replace the calls to  
> TwkMath::Rand48 with rand() or random() and remove the includes.

I am sorry, for not being precise enough with my subject.
I mean of course all referenced Tweak headers (as hinted at in the
body of my message).

Just of the top of my head, there is plugins/maya/GtoCacheEmitter/
GtoCacheEmitter.cpp | GtoCacheEmitter.h. These files depend on TwkMaya/
Liberation.h and TwkMaya/EmitterNode.h.
What about stuff like that?

.mm

Jim Hourihan

unread,
Oct 17, 2009, 5:41:31 PM10/17/09
to open-gto-...@googlegroups.com

I took a look at that code. Unfortunately I don't have maya anymore so
I can't really help too much with this. The TwkMaya headers/code
doesn't look like anything that can't be open sourced. I'll pass the
request to open source along. I don't think it would take much work to
convert any of these classes to pure maya in any case.

-Jim

Reply all
Reply to author
Forward
0 new messages