SDK - Render Output to Photoshop layers?

Become a member of the CGSociety

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

Thread Tools Display Modes
  04 April 2009
SDK - Render Output to Photoshop layers?


I am working on a tool that will going to output multiple render layers to photoshop PSD file format from max itself. but I dont know how it can be done, Pls guide me how it can be achieved by using 3DS Max SDK or Maxscript.

Thanks in Advance

3ds max scripts

  04 April 2009
you're not going to have much luck with maxscript OR the SDK; you'll want to work with an API that can write Photoshop files properly.
( maxscript can load layers, but not save them; see: BitmapLayerManager )

by-the-by, are you aware of cebas' product that renders out to PSD with render elements?

it may have maxscript access control as well - not sure
  04 April 2009
I would suggest Adobe's built-in Adobe ExtendScript language that was added to Photoshop 7 and later. This is an extension to the javascript language that currently allows you to automate Adobe After Effects, Audition, Bridge, Encore, Illustrator, Photoshop and Premiere. Unlike Actions in Photoshop, the javascript/ExtendScript combination allows you to make a truly professional user interface for your import tool, with dialogs, warnings, prompts, drop down lists, text entry, etc.

You can pretty easily export your 3D passes/elements to separate image files via Maxscript or the 3ds Max UI, then have your ExtendScript-based tool import/arrange/name them as layers/groups in a PSD (or in an After Effects composition).

Be warned that the ExtendScript docs assume that you either know or can figure out basic javascript on your own, as they focus on the Adobe extensions of javascript. Learning the basics will involve a lot more google searches than Maxscript, which has comprehensive docs in one place.

However, doing this through ExtendScript will be worth it if automating the PSD structure is the real challenge you want to overcome....

Last edited by JohnSwafford : 04 April 2009 at 01:38 AM.
  04 April 2009
Thanks ZeeBox2 , Yes I am aware of this plugin from cebas but I am thinking of creating my own solution.

well you have mentioned API can you explain me in short whats the diffrence between API and SDK is? I only know that it is an Application programing Interface but don't know more than that and I really like to know more.

JohnSwafford - Thanks you so much for your valuable solution of javascript I am definetly going to try it out.

I don't know javascript much but I know how to program with C and C++ so i think this knowledge will help me to quickly grab it.

Thanks for your time

3ds max scripts

  04 April 2009
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 06:41 AM.

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