CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 10-31-2011, 12:40 PM   #1
rebeldreams
Freelance Escapologist
 
rebeldreams's Avatar
portfolio
Callum MacAlister
Artist, modeller, animator, writer
Cadet, USA
 
Join Date: Feb 2002
Posts: 175
Send a message via Yahoo to rebeldreams
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
==========================
 
Old 11-02-2011, 01:39 AM   #2
zoharl
A newbie
 
zoharl's Avatar
portfolio
Zohar
Wellington, New Zealand
 
Join Date: Mar 2009
Posts: 1,821
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.
 
Old 11-02-2011, 12:27 PM   #3
rebeldreams
Freelance Escapologist
 
rebeldreams's Avatar
portfolio
Callum MacAlister
Artist, modeller, animator, writer
Cadet, USA
 
Join Date: Feb 2002
Posts: 175
Send a message via Yahoo to rebeldreams
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
==========================
 
Old 11-03-2011, 04:56 AM   #4
zoharl
A newbie
 
zoharl's Avatar
portfolio
Zohar
Wellington, New Zealand
 
Join Date: Mar 2009
Posts: 1,821
(recc'd?)

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-03-2011 at 04:58 AM.
 
Old 11-03-2011, 04:56 AM   #5
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 12:27 AM.


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