Live Connection in Maya..?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  10 October 2011
Live Connection in Maya..?

Hey all, long time no post!

I'm working on a little project and while my programming skills are okay(ish) I find myself a little lost in the Maya API. Basically I want to create a live link to an external app (a realtime renderer) in the spirit of CryTek's live link system, so that I can see the results of my animations directly in the external renderer. What's the best way to go about this?

If need be, I can forgo the live link, but it'd be nice to have. Think of it as the cherry on top.

For a little more background, the renderer can handle pretty much any standard data format, but the preferred one is FBX (which, I understand, is hard to make "live stream") although I can pretty much adapt any other format for use.

Cheers in advance!
...Even now in Heaven there are Angels carrying savage weapons...

-The Prophecy
  11 November 2011
So what's the problem? Write a plugin for the event you want to respond to, open a socket to your outside renderer, and stream your data.
  11 November 2011
Oh, as simple as that? Good!

I was worried, given the lack of direct-connect plugins of this sort, that thanks to some byzantine API architecture a live link was difficult to achieve.Plus, I remember the old days when it actually was hard...

Anyway, thanks a lot for the info. I must say the API docs are still pretty poorly structured to my mind, but it's probably just me

I recc'd your reply, BTW.
...Even now in Heaven there are Angels carrying savage weapons...

-The Prophecy
  11 November 2011

Funny. My friend, you preach to the converted. Look at my previous posts, I don't think there's anyone who complains more than me about maya's api nor autodesk unprofessional-ism in general. From the last discussion on the main forum (subject ~"leave maya") I got the impression that if it's possible for you do to it in another app, then you should, and there are better ones.

Concerning maya, I didn't say it would be simple, and probably you'll have to go through walls, but it does seem straight forward. You didn't specify exactly what you want, and I'm not familiar with CryTek's live link system, and I don't know where do you plan to channel the data to. But I gave you a technical estimation that maya should enable you to respond to the events you want, and access the data you need, and the socket or other form of communication beyond that is os dependent. So I guess you'll have to be more specific if you want me to be more specific

Last edited by zoharl : 11 November 2011 at 04:58 AM.
  11 November 2011
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:14 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.