CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 10-10-2012, 10:04 PM   #1
Dubbie
Frequenter
Rhys
VFX Artist / TD
Assembly
Auckland, New Zealand
 
Join Date: Jul 2003
Posts: 113
RTT Output path

Does anyone know how I can set the output path in the render to texture?
I see there is a a RTT_data struct with FileOutput_FilePath which is the path I am looking to set. Assigning a new path to that location doesn't seem to do anything.

Any hints?

R
 
Old 10-10-2012, 10:07 PM   #2
PiXeL_MoNKeY
Expert
 
PiXeL_MoNKeY's Avatar
Eric Craft
Dallas, USA
 
Join Date: Mar 2002
Posts: 5,637
Are you looking for the default folder, or per pass/output?

-Eric
__________________
"The Evil Monkey hiding in your closet."
 
Old 10-10-2012, 10:27 PM   #3
Dubbie
Frequenter
Rhys
VFX Artist / TD
Assembly
Auckland, New Zealand
 
Join Date: Jul 2003
Posts: 113
I was looking for the default folder.

I think I have found a way - this seems to do the trick:

Code:
myPath = "c:\\test" RTT_SceneData_AppData_Index = 0x41dd73d5 RTT_data.FileOutput_FilePath = myPath setAppData rootNode (RTT_SceneData_AppData_Index+4) RTT_data.FileOutput_FilePath


Thanks Eric.
 
Old 10-11-2012, 04:52 PM   #4
PiXeL_MoNKeY
Expert
 
PiXeL_MoNKeY's Avatar
Eric Craft
Dallas, USA
 
Join Date: Mar 2002
Posts: 5,637
Looks like various things they are doing with AppData in the Macro_BakedTextures.mcr in case anyone else is looking for where this came from.

-Eric
__________________
"The Evil Monkey hiding in your closet."
 
Old 10-11-2012, 04:52 PM   #5
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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 09:53 PM.


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