Notifications
Clear all

[Closed] 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

3 Replies

Are you looking for the default folder, or per pass/output?

-Eric

I was looking for the default folder.

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

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

Thanks Eric.

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