==== Octane useful scripts ====
Moderators: aoktar, ChrisHekman
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
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
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.
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 3643 times
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Creating octane material with an imagetexture in diffuse channel
- Attachments
-
- create-octmat.zip
- (441 Bytes) Downloaded 2766 times
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Copies the parameters of camera imager section from Octane camera tag to Octane Settings window.
- Attachments
-
- camtag-to-settings.zip
- (638 Bytes) Downloaded 2581 times
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
You can export from Live Viewer and commandline. Did you tried this? https://docs.otoy.com/Cinema_4D_Plugin_ ... %7C_____27ptunstall 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.
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
aoktar wrote:You can export from Live Viewer and commandline. Did you tried this? https://docs.otoy.com/Cinema_4D_Plugin_ ... %7C_____27ptunstall 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.
That should work for me, thanks!
Xpresso setup for Degree to hdri offset value in octane sky environment.
- Attachments
-
- hdri-degree-xpresso.rar
- (95.38 KiB) Downloaded 2098 times
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
- mikeadamwood
- Posts: 164
- Joined: Sat Sep 17, 2016 11:51 am
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.
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 11 Pro | ASUS Pro WSX80E | AMD Threadripper Pro 5975WX 32-Core | 256GB Micron 8x32GB 3200MHz ECC | 2x PNY RTX6000 ADA