Creating selections and then texturing [SOLVED]
-
On 06/10/2014 at 04:34, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 15
Platform: Mac ;
Language(s) : C.O.F.F.E.E ; C++ ; XPRESSO ; PYTHON ;---------
Hi,I'm wondering if someone can point me in the right direction, or tell me if what I'm asking is possible.
I want a script/plugin which can take an object, divide it up into selections based on the number of polygons, and then apply individual textures to each selection, pulling the channels of the textures in from an external folder that contains image files.
If someone could at least tell me which tool (COFFEE, Xpresso, C++, Python) is best suited to the task, that would be great.
Thanks,
S
-
On 06/10/2014 at 04:49, xxxxxxxx wrote:
Well, the C++ SDK is of course most suitable because it allows deepest and fastest access. And of course that's possible. I see no reason why it shouldn't be (well you would probably assign individual materials with according textures to the polygon selections and not the textures themselves but other than that..)
-
On 07/10/2014 at 03:31, xxxxxxxx wrote:
Katachi is definitively right.
I just want to add a few starter links here:The class for making polygon selections is BaseSelect. It's quite straight forward as you simply use polygon indeces to do the selection:
R16 SDK Docs: class BaseSelectI'd also like to suggest an appropriate plugin type. But as I'm not completely sure about what you are trying to achieve in detail, I fear I might add to the confusion instead of lessening it. So perhaps you can get a bit more into details.
-
On 10/10/2014 at 09:04, xxxxxxxx wrote:
Thanks for the replies.
C++ is a bit beyond me at the moment, so I've been delving into Python a little, and it seems like it's possible to achieve what I want through there for now... phew. C++ is definitely on the horizon though.Thanks again