==== Octane useful scripts ====

Forums: ==== Octane useful scripts ====
Sub forum for help and tutorials.

Moderator: aoktar

==== Octane useful scripts ====

Postby aoktar » Tue Aug 30, 2016 3:12 pm

aoktar Tue Aug 30, 2016 3:12 pm
This is a new topic for user or developer scripts. Please don't hesitate to contribute.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 11342
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: ==== Octane useful scripts ====

Postby aoktar » Tue Aug 30, 2016 5:43 pm

aoktar Tue Aug 30, 2016 5:43 pm
This is a special script. It includes an example scene and description. See attached image.
Also this is very good example to show how you can create, connect and modify Octane materials and images.
Attachments
clone_mix_network_modify_amount_imagepaths.zip
(211.52 KiB) Downloaded 1277 times
a2.jpg
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 11342
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: ==== Octane useful scripts ====

Postby aoktar » Sat Sep 24, 2016 10:35 pm

aoktar Sat Sep 24, 2016 10:35 pm
Creating octane material with an imagetexture in diffuse channel
Attachments
create-octmat.zip
(441 Bytes) Downloaded 679 times
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 11342
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: ==== Octane useful scripts ====

Postby aoktar » Mon Sep 26, 2016 10:21 pm

aoktar Mon Sep 26, 2016 10:21 pm
brasco Octane Menu (script)
LINK: viewtopic.php?f=30&t=56525

Image
Image
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 11342
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: ==== Octane useful scripts ====

Postby aoktar » Fri Oct 21, 2016 10:02 am

aoktar Fri Oct 21, 2016 10:02 am
Copies the parameters of camera imager section from Octane camera tag to Octane Settings window.
Attachments
camtag-to-settings.zip
(638 Bytes) Downloaded 625 times
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 11342
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: ==== Octane useful scripts ====

Postby ptunstall » Wed May 31, 2017 10:24 pm

ptunstall Wed May 31, 2017 10:24 pm
I don't suppose you have a script that will export .orbx (single frame) files? I am trying to export from cinema4d via command line in windows, and then render the orbx file in stand alone on our linux farm.
ptunstall
Licensed Customer
Licensed Customer
 
Posts: 93
Joined: Thu Jun 04, 2015 1:36 am

Re: ==== Octane useful scripts ====

Postby aoktar » Wed May 31, 2017 10:41 pm

aoktar Wed May 31, 2017 10:41 pm
ptunstall wrote:I don't suppose you have a script that will export .orbx (single frame) files? I am trying to export from cinema4d via command line in windows, and then render the orbx file in stand alone on our linux farm.

You can export from Live Viewer and commandline. Did you tried this? https://docs.otoy.com/Cinema_4D_Plugin_ ... %7C_____27
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 11342
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: ==== Octane useful scripts ====

Postby ptunstall » Wed May 31, 2017 10:56 pm

ptunstall Wed May 31, 2017 10:56 pm
aoktar wrote:
ptunstall wrote:I don't suppose you have a script that will export .orbx (single frame) files? I am trying to export from cinema4d via command line in windows, and then render the orbx file in stand alone on our linux farm.

You can export from Live Viewer and commandline. Did you tried this? https://docs.otoy.com/Cinema_4D_Plugin_ ... %7C_____27



That should work for me, thanks!
ptunstall
Licensed Customer
Licensed Customer
 
Posts: 93
Joined: Thu Jun 04, 2015 1:36 am

Re: ==== Octane useful scripts ====

Postby aoktar » Mon Jun 19, 2017 2:01 pm

aoktar Mon Jun 19, 2017 2:01 pm
Xpresso setup for Degree to hdri offset value in octane sky environment.
Attachments
hdri-degree-xpresso.rar
(95.38 KiB) Downloaded 261 times
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 11342
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: ==== Octane useful scripts ====

Postby mikeadamwood » Fri Oct 06, 2017 2:51 pm

mikeadamwood Fri Oct 06, 2017 2:51 pm
Aoktar would there be a way of creating a script which automatically loads in PBR image textures to the PBR template material, based on a specified prefix within a folder?

This is a task I have to repeat again and again and for large scenes with many objects it's a huge task.

Example would be that I have a folder consisting of textures from Substance painter/Quixel or whatever package:

Folder:
chair_COLOR.jpeg
chair_NORMAL.jpeg
chair_SPECULAR.jpeg
chair_ROUGHNESS.jpeg

It creates a material based on the pbr template and grabs every map based on prefix and puts it in the corresponding slot within the pbr material shader from the LiveDB.

I think I could create something like this with the Cinema4D python SDK, but I'm not sure how to generate Octane materials via Python? I've little to no experience with Python, but knowledge and experience with other coding languages so I understand how this could potentially work by passing over variables from a user input.
Windows 10 | Intel Core i7-6850k | 32GB Corsair Vengence | 2x Evga GTX 1080 Hybrids
mikeadamwood
Licensed Customer
Licensed Customer
 
Posts: 126
Joined: Sat Sep 17, 2016 11:51 am
Next

Return to Help / Tutorials


Who is online

Users browsing this forum: No registered users and 1 guest

Sat Nov 17, 2018 1:28 pm [ UTC ]