What is the easy way to cut part of image?
-
Hi,
have polygon from Sketchup model, and want cut the corresponding parts of images which saved on my harddisk. Have tried RMagick, it works ok with ruby, but doesn't work in the Sketchup: require 'RMagick' ->false
My question is: what is the easy way to do that?
vinc.
-
@vincenz said:
Hi,
have polygon from Sketchup model, and want cut the corresponding parts of images which saved on my harddisk. Have tried RMagick, it works ok with ruby, but doesn't work in the Sketchup: require 'RMagick' ->false
My question is: what is the eary way to do that?
vinc.
There are ways to place images and textures onto 3d objects within SU. So you don't need to use RMagick. Secondly and more important: even though RMagick is written in Ruby, you can't assume, just because Ruby is used in Sketchup, therefore RMagick can talk to or work within SU.
That's because the SU ruby API is different from the RMagick API.
have a look at the following lecture for more explanation.
http://video.google.com/videoplay?docid=7495955179002248300&vt=lf&hl=en -
hm, let me try to figure out :
- it is impossible to use RMagick in SU, right?
- there are ways to cut off images within SU, any concret points?
- thanks for the link to that theoritical lecture about API.
vinc.
-
@vincenz said:
hm, let me try to figure out :
- it is impossible to use RMagick in SU, right?
- there are ways to cut off images within SU, any concret points?
- thanks for the link to that theoritical lecture about API.
vinc.
- right
- I use Photoshop normally
but maybe the following video will help you?
http://uk.youtube.com/watch?v=HHsRRLCAOm8&feature=related
-
Thanks for the answer!
If I have to make the texturing procedure automatically, may be in one way: using Magick++ to produce DLLs, then using Ruby script in SU to call them. At least am trying to do so...
Advertisement