sida1015 Posted June 5, 2015 Report Share Posted June 5, 2015 Hi everyone, The question I have today pertains to the snapshot and Bookmarks features available on the RTIViewer. From what I can figure out, the Bookmarks feature allows the user to save the following settings: Set the Light Coordinates - [x_light, y_light] Zoom into the image - [zoom%] Pan into a location - [x_Pan, y_Pan] Set render mode - [Let's choose Specular Enhancement] Set the parameters - [Diffuse Color, Specularity, Highlight Size] I have grown to love this feature, and the snapshot feature to generate graphical outputs of what's being viewed. My question is, is there a command line option available where I could set up a command line script which I can run in, say MATLAB/Python, to go in a FOR loop through a collection of .rti or .ptm files and generate the same image with identical bookmark settings? Another way of asking is: is there a command line script I can use to trigger a snapshot from a collection of .ptm or .rti files, given a set of bookmark settings (such as that from the numbered list above)? I'm thinking something like (I'm thinking in MATLAB, which is something I am using to generate rti/ptm files in a loop.) system(['RTIViewer.exe' <fullpath for the .rti or .ptm file> <Light Coordinates> <Zoom Value> <Pan Coordinates> <Render Mode> <Render Mode specific settings> <fullpath of the output image file ('.png')>]) Thank you very much, and look forward for your thoughts. Cheers, -Sid Link to comment Share on other sites More sharing options...
cdschroer Posted June 7, 2015 Report Share Posted June 7, 2015 Sid - Thanks for the inquiry, and glad you like this feature! There is no command line interface for the RTiViewer at this time. I really like your idea and think it would be a great addition. The source code is available as open source, so you (or a friend) or anyone on the forums could request the code and add this capability. If anyone wants the code - write to info@c-h-i.org to request it. It is available under the Gnu General Public License, Version 3. Carla Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.