Watermarks with Ruby?
-
Is there any way to load a watermark with a ruby script? So far, I have not found any way to do it. None of the methods in the "Style" class look very useful.
-
not very useful? what are you trying to accomplish? maybe we can help.
-
@whaat said:
Is there any way to load a watermark with a ruby script? So far, I have not found any way to do it. None of the methods in the "Style" class look very useful.
Hello Whaat!
Have you try to make post-effects to i~r's(indigo render) extension kit? 8O
it's really interesting thing! -
@krisidious said:
what are you trying to accomplish? maybe we can help.
I am experimenting with different methods of viewing an HDRI background within SU. One method is to render just the HDRI background with no geometry using the current SU camera view. Next, import the rendered image as a watermark. This would allow the user to preview an HDRI image in SU prior to doing a final render. This can be done manually but I am wondering if this process can be automated by a Ruby script. Rendering the HDRI background can be done easily. However, I am not sure if I can automatically load a render to use as a watermark.
-
ok...
John Sayers, posted a nice example of his watermark... here
dead linkand then on page two he goes into detail on how he accomplishes it.
try his method, and if that does not give you what you're looking for let me know, and we'll go into more detail.
-
Kris,
I already said that I know how add a watermark using the SU interface. I am trying to do it using Ruby. -
ahh thus the ruby forum... well I can't help there, perhaps one of our gurus is watching...
-
Methinks there is no way to do it. I'll check.
Todd
-
No can do. The good news is that it's on the slate for V7.
Todd
-
@unknownuser said:
No can do. The good news is that it's on the slate for V7.
Todd
Thanks a lot for looking into this Todd.
-
Whaat look at http://www.hdrlabs.com/sibl/how_it_works.html
iteresting thing makes by ibl-effect. -
@unknownuser said:
No can do. The good news is that it's on the slate for V7.
ToddCan watermarks be manipulated via Ruby in V7? I would like to do so if it's possible. Now that Sketchup V7 is out.
-
@cmbruns said:
Can watermarks be manipulated via Ruby in V7? I would like to do so if it's possible. Now that Sketchup V7 is out.
Now, don't laugh, but I would have to actually download and install SU V7 to be able to answer that question.
-
@unknownuser said:
Now, don't laugh, but I would have to actually download and install SU V7 to be able to answer that question.
OK. Please don't laugh back at me; I am new to Ruby in Sketchup. As I have installed SU V7, what steps should I take to investigate whether there might be watermark manipulation support in V7?
I browsed the API documentation at http://code.google.com/apis/sketchup/docs/developers_guide/index.html, but saw nothing obviously related to watermark images. It is unclear to me what version of Sketchup those docs refer to.
Can I view current API documentation from within Sketchup?
-Chris Bruns
-
If you go to Help -> Ruby Help inside SketchUp, that should take you to the V7 ruby doc. You could perhaps figure out how to code up a google search to scan the online help doc for "watermark". I'm sure there's a way to do it.
-
I don't think the version 7 docs are out yet. And there is no link to Ruby Help fromt he help menu, at least on my machine. As far as I know, we're all still using ther version 6 docs.
Chris
-
@unknownuser said:
If you go to Help -> Ruby Help inside SketchUp, that should take you to the V7 ruby doc. You could perhaps figure out how to code up a google search to scan the online help doc for "watermark". I'm sure there's a way to do it.
Believe me I have summoned arcane google magicks to find information about managing watermarks in sketchup ruby. But I have failed in my quest. Plus, as Chris Fulmer pointed out, there is no "Help->Ruby Help" menu in my sketchup (version 7.0.8657)
Perhaps I could hijack this otherwise stale thread to ask for more general advice about what I would like to do: I am interested in getting access to the images used as backgrounds in the scene tabs that are created when using the "match photo" feature. Are these images even watermarks? I foolishly imagine that I will be able to create additional photo matching features if I can gain access to these images. One thing I would like to do is use Overlay watermarks in addition to Background watermarks for photo matching. Including automatically varying transparency/visibility during the photo matching work flow. Are there already existing "match photo on steroids" tools available?
Advertisement