PSD_to_3DS

6 votes

PSD_to_3DS allows you to texture objects and create textured planes directly from Adobe Photoshop.

 

Additional Info: 

Usage :

In Adobe Photoshop make selection using one of the methods, use the hotkey F4 to activate PSD_to_3DS.

To create a textured plane: Switch to the Autodesk 3DSMAX, place the cursor at the desired viewport and place for your 3D model, call QuadMenu (right mouse button), select PSD_to_3DS.

For texturing: switch to Autodesk 3DSMAX, select a 3D object or its polygons ( in Edit Mesh ), call QuadMenu (right mouse button), select PSD_to_3DS.Apply_to_Seletion.

Notes for Adobe Photoshop :

Textures are saved in TIFF files with layers.

By default PSD_to_3DS adds small space when exporting.

For texturing use “Rectangular Marquee Tool“. Also, you can use PSD_to_3DS without selection, then PSD_to_3DS uses the entire image.

Notes for Autodesk 3DSMAX :

3D object is created at the point of Quad Menu call.

Transparency is being used.

For texturing faces, you should create a modifier Edit Mesh, and select polygons. Then use the PSD_to_3DS.Apply_to_selection. Texture is projected onto selected polygons.

Version Requirement: 
3dsmax 2009+ and up
Other Software Required: 
Photoshop cs4 and up
Video URL: 
AttachmentSize
psd_to_3ds.rar5.24 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
asymptote's picture

@ dabana, You just need to

@ dabana, You just need to save the scene so the script knows which scene you are working on and where to put the files, maybe you have figured this out already ;)

dabana's picture

Kindly Reply pls

Kindly Reply pls i would like to test the power of this script on my project. It keeps asking me to "'SAVE FILE TO THE SCENE FOLDER FIRST'" I dont understand wat it means.

thanks Xylonite

3d mania luv

dabana's picture

Xylonite help.... Excellent script

i watched the tuts u did on pds to 3ds, am loving it so much. It will reduce the time spent on unwrapping for mapping in 3ds max. But i tried to install it and its not working for my 2013 version. Can you pls make a video for the installations also. i followed the instruction you wrote but there are still files you didnt say wat they are for.

3d mania luv

asymptote's picture

It wasn't saving alpha so I

It wasn't saving alpha so I browsed JS reference and diddled with the code a bit...

SaveTempFile= new File("C:\\Program Files\\VK3D.PRO\\Automation\\System\\Support\\Temporary\\PSD_to_3DS.tga")
saveOptions = new TargaSaveOptions();
saveOptions.transparency = true;
saveOptions.alphaChannels = true;
saveOptions.rleCompression = true;
saveOptions.resolution = TargaBitsPerPixels.THIRTYTWO

Now works perfectly, although I'm not sure what I did ;)

Many thanks.

Xylonite's picture

Asymptote, As it is said in

Asymptote,

As it is said in Adobe Photoshop Javascript Reference you should change .jsx code to

SaveTempFile= new File("C:\\Program Files\\VK3D.PRO\\Automation\\System\\Support\\Temporary\\PSD_to_3DS.tga")
saveOptions = new TargaSaveOptions();
saveOptions.alphaChannels = true;

And you also should change "PSD_to_3DS.tif" to "PSD_to_3DS.tga" in maxscript file.

Didn`t tried by myself but all should work fine.

asymptote's picture

It's for a game I mod, targa

It's for a game I mod, targa is converted to .tex format which the game reads.
tif to targa to tex is a bit pointless considering the time save using this script.

Material is the same, image in diffuse and alpha in opacity slot.

What commands are these in the jsx? or is this whole thing geared to tiff?

SaveTempFile= new File("C:\\Program Files\\VK3D.PRO\\Automation\\System\\Support\\Temporary\\PSD_to_3DS.tga")
saveOptions = new TiffSaveOptions();
saveOptions.transparency = true;
saveOptions.alphaChannels = true;
saveOptions.imageCompression = TIFFEncoding.TIFFLZW;
saveOptions.layers = true;
saveOptions.byteOrder = ByteOrder.IBM;
saveOptions.embedColorProfile = false;
saveOptions.saveImagePyramid = false;

thanks for your answers.

Xylonite's picture

You can correct script by your own

=)

For the faster workflow there is only one format and no option to change it and it is TIFF as it can handle layers and transparency.

What for you need files to be in TARGA format?

asymptote's picture

This is very useful, but is

This is very useful, but is there a way to save to .tga ?

I tried a few things but managed to break the script :)

thanks

Very clever scripting btw.

Xylonite's picture

Direct link

Here`s the direct link for download for you http://vk3d.pro/downloads/PSD_to_3DS.rar

rezoloot's picture

Unsupported Browser

I'm using internet explorer version 10, your website thinks I am using version 7, ?????? is it possible to email me the script my [email protected]

also let me know when your website is up and running so I can look Please

Regards

Rez

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.