PSD_to_3DS allows you to texture objects and create textured planes directly from Adobe Photoshop.
Script
By Xylonite · 2013-05-31
PSD_to_3DS allows you to texture objects and create textured planes directly from Adobe Photoshop.
Tags: easy texturing; texturing; photoshop; 3dsmax; photoshop export; single click; fast texturing;
USER FRIENDLY EDIT!
brainsgonedead · 2018-06-29
Hi, hope you don't mind but I edited the script a lot. It was buggy on my end, it installed poorly. I also thought there were some options missing so I have made some extra ones, I also use batch files to create a working folder to the C Drive, along to the C Programs File folder. Your script just kept failing on me, I stripped it right back to the bare essentials just to make it work. Anyway, when you use Photoshop the script and action file are installed to the Program File under VK3DPRO and the working folder is called PSD_2_MAX under C:
Anyway I hope its to your liking now its been changed. I am not a coder, I merely googled scripts, used them scripts and made it work the way I hoped for. Note that upon 1st time installation it will ask you to allow installation. I assure you nothing is hidden, I just used .bat to .exe converter. Sorry for all the EYES!
PLEASE BE AWARE THE ORIGINAL BUGS ARE PRESENT AS I ONLY WANTED TO MAKE IT EASIER TO INSTALL AND WORK WITH. NO OTHER CODE HAS BEEN TOUCHED BUT IT HAS BEEN MADE MORE USEFUL *I FEEL IT HAS AT LEAST.
HAVE FUN...
ADMIN RIGHTS
brainsgonedead · 2018-06-26
I got your script working in Photoshop, at 1st it gave me unable to save error but I took owners rights to the program folder where it's temporarily scored. I would look into using a temp folder inside the temp users folder where all the other temp files are stored. You might have more luck, but once it worked it does well.
Cheers.
PSD to 3Ds Max 2018 & PS CC 2018
LAOMUSIC ARTS · 2018-06-23
NOT WORKING here !
Installation:
01 - rename "RUN_ME_FROM_3DSMAX" to something more friendly like "PSD23Dmax"
02 - put this file into your Max/scripts folder
03 - from the "Scripts" folder, copy "PSD_TO_3DS.jsx" to your PS/presets/Scripts folder
04 - from the "Scripts" folder, copy "VK3D.atn" to your PS/presets/Actions folder
05 - Run 3dsmax as Admin
06 - Run Adobe Photoshop
07 - Open 3dsmax -> Menu "MaxScript" -> "Run Script" -> Run "RUN_ME_FROM_3DSMAX.ms"
I/O error because of script paths. NOT WORKING, even with absolute paths!
Problem areas in the script:
try ( --install Xylonite Tools-CURVES_to_3DS.mcr
fileIn (sysInfo.currentdir + "\\Scripts\\Xylonite Tools-PSD_to_3DS.mcr")
try ( --install Xylonite Tools-CURVES_to_3DS_Lathe.mcr
fileIn (sysInfo.currentdir + "\\Scripts\\Xylonite Tools-PSD_to_3DS_Apply_to_Selection.mcr")
really cool script
robobear510 · 2014-01-30
really impressed me, the readme file says use f3 in PS and some other stuff but you made clear instructions here
- the first thing is that the installation works flawlessly you did everything user friendly - just wow.. now to see if I am going to actually use it in projects.. but I can see you can make really fast billboards or say leaves and stuff like that - logos obviously..
.. I thought I was gonna have to assign all of the shortcuts and copy files in their directories but you did it all for us lazy users :) (and nobody got time to do that)
- works on max 2014 and Photoshop CS5
photoshop error 8800
dedenizozkan · 2013-10-09
Hello Vladislav,
I installed this script but when i press f4 on photoshop, it say this error :
General Photoshop Error 8800...
please help
thanks
regards
Hello
Xylonite · 2013-10-09
What Photoshop version you use?
trick · 2013-09-25
Love your Script, thanks!! Saves quite some time :)
Would it be possible to make the textured plane in Max the same size as in PhotoShop units ?
Would it also be possible to set the Pivot to the base of the plane ?
Thanks again :)
Thanks!
Xylonite · 2013-10-09
Surely all things are possible! =)
I`ll add option with units measurement later.
And about the pivot, i think it is more usable in the center of object.
What for you need it on the base?
asymptote · 2013-09-03
@ 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 ;)
thanks i will try to do that.
dabana · 2013-09-04
thanks i will try to do that right now.
Superb
dabana · 2013-09-04
it worked like a charm..... i will upload some works i will use it to do for you to view. thanks once again.
dabana · 2013-09-02
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
Xylonite help.... Excellent script
dabana · 2013-09-02
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.
asymptote · 2013-07-28
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.
asymptote · 2013-07-27
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 · 2013-07-28
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 · 2013-07-27
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.
You can correct script by your own
Xylonite · 2013-07-27
=)
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?
Unsupported Browser
rezoloot · 2013-07-12
I'm using internet explorer version 10, your website thinks I am using version 7, ?????? is it possible to email me the script my rezoloot@yahoo.com
also let me know when your website is up and running so I can look Please
Regards
Rez
Direct link
Xylonite · 2013-07-13
Here`s the direct link for download for you http://vk3d.pro/downloads/PSD_to_3DS.rar