Page 1 of 1

HOW TO: Substance painter to octane c4d 1 click solution!!!!

PostPosted: Fri Mar 18, 2016 4:18 am
by FelipeCortes
work on other paint softwares , you only need to create a Presset for octane and with 1 click become an entire folder of textures on different materials with its canals,is amazing.

the only thing I could not solve is how to add the image texture with the texture inside, someone can find the solution to that ( maybe aoktar XD )

Image

tutorial here -----------------> https://youtu.be/60Zft6Syovs

Re: Substance painter to octane c4d 1 click solution!!!!

PostPosted: Thu May 12, 2016 9:10 am
by pxlntwrk
Hi,
very nice plugin !!

perhaps a "syntax" trick, between [c4d.OCT_MATERIAL_DIFFUSE_LINK] and [c4d.IMAGETEXTURE_FILE].

but it out of my knowledge ;)

Re: HOW TO: Substance painter to octane c4d 1 click solution!!!!

PostPosted: Sun Jul 10, 2016 10:46 am
by grain
Hey nitroman, big fan.

This plugin looks great - if you could make an octane specific version that could set up an octane material using this node structure: viewtopic.php?f=30&t=54066&p=274158&hilit=substance+setup#p274158 that would be amazing. But probably a lot of work.

Re: HOW TO: Substance painter to octane c4d 1 click solution!!!!

PostPosted: Sun Jul 10, 2016 11:42 am
by aoktar
FelipeCortes wrote:the only thing I could not solve is how to add the image texture with the texture inside, someone can find the solution to that ( maybe aoktar XD )


Please take a look this code. Let me know the results

Code: Select all
#define ID_OCTANE_IMAGE_TEXTURE            1029508
IMAGETEXTURE_FILE =1100

///------------------------------------------------------------------------
BaseShader* addImageTextureToNode(GeListNode *node, long slotID, String name)
{
    if(!node) return NULL;

    BaseContainer *data = ((BaseShader*)node)->GetDataInstance();
    if(!data) return NULL;
    BaseList2D *oldBL = data->GetLink(slotID, node->GetDocument());
    removeLinkedShadersFromNode(oldBL);

    BaseShader *newShd = BaseShader::Alloc(ID_OCTANE_IMAGE_TEXTURE);
    if (!newShd) return NULL;

    BaseContainer *shdBC = newShd->GetDataInstance();
    if(!shdBC) return NULL;

    Filename fn(name);
    shdBC->SetString(IMAGETEXTURE_FILE, name);

    data->SetLink(slotID, newShd);
    insertOurNode((BaseList2D*)node, newShd);
    EventAdd();
    return newShd;
}

Re: HOW TO: Substance painter to octane c4d 1 click solution!!!!

PostPosted: Fri Sep 23, 2016 4:30 am
by Studiolocal
This would be legendary Felipe. Your plugs are excellent always

Re: HOW TO: Substance painter to octane c4d 1 click solution!!!!

PostPosted: Sat Oct 01, 2016 8:02 am
by pxlntwrk
hi,
a frenchcinema4d.fr forum user " Graph0s" made à script to transformer c4dBitmap to OctaneBitmap there>>>

http://frenchcinema4d.fr/showthread.php ... ane-Bitmap

it maybe hepful for that !

Re: HOW TO: Substance painter to octane c4d 1 click solution!!!!

PostPosted: Tue Oct 25, 2016 4:19 am
by joeycamacho
Any luck at all getting this working? This would be legendary!

Re: HOW TO: Substance painter to octane c4d 1 click solution!!!!

PostPosted: Thu Jan 30, 2020 12:59 am
by thodosplay998
Actually, I don’t know if a can post it here, but I made a plugin that analyzes folder for naming mask(diff, albedo, etc.) and creates an Octane Material
You an check it here: https://youtu.be/CiIYECjhQAw

Re: HOW TO: Substance painter to octane c4d 1 click solution!!!!

PostPosted: Mon Apr 06, 2020 1:42 am
by cjadams
well many don’t know this but there is a plugin called Substance Live link.
It creates a link between substance and your dcc. Save out a mesh. open in painter.
Have the server plugin running in dcc *maya/c4d etc. * This listens for the plugin in painter.

Inside painter you do all your initial bakes. then use the Live link plugin to send over all the maps from painter.. long as you don’t rename anything on either side they link up and as you go just hit the update button.. a bit of a pain to install (getting easier now)

https://gumroad.com/xolotlstudio