Tokens question

Forums: Tokens question
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Re: Tokens question

Postby proundkontra » Thu Oct 18, 2018 9:54 am

proundkontra Thu Oct 18, 2018 9:54 am
Thanks a lot aoktar.

If i can add a little thing. It would be super cool to have that little triangle drop down with all the tokens listet as well in the octane save tab.
Is this possible?
nikoeriksson.ch| i7 6x3.5 Ghz | 64GB | 2 x GTX 1080Ti Hybrid , 1x GTX 980Ti Hybrid | Win 10 | C4D R19.068 | Octane Render Plugin C4D v3.08.4
proundkontra
Licensed Customer
Licensed Customer
 
Posts: 17
Joined: Sun Sep 06, 2015 6:10 pm
Location: Zurich

Re: Tokens question

Postby rutv » Thu Oct 25, 2018 1:14 am

rutv Thu Oct 25, 2018 1:14 am
What test build works with tokens? Can you post a link?

Thanks!
rutv
Licensed Customer
Licensed Customer
 
Posts: 13
Joined: Thu Jan 29, 2015 12:23 am

Re: Tokens question

Postby kkoonnsss » Tue Feb 16, 2021 9:49 pm

kkoonnsss Tue Feb 16, 2021 9:49 pm
Is there a way to use CV tokens with octane so that a render sequence goes into one folder when using the time tokens like $ss $mm $hh.

the standard behavior is so that a sequence goes into one folder but with octane output it makes one folder for each image in the sequence.
kkoonnsss
Licensed Customer
Licensed Customer
 
Posts: 2
Joined: Wed Feb 10, 2016 6:45 am

Re: Tokens question

Postby aoktar » Tue Feb 16, 2021 10:18 pm

aoktar Tue Feb 16, 2021 10:18 pm
kkoonnsss wrote:Is there a way to use CV tokens with octane so that a render sequence goes into one folder when using the time tokens like $ss $mm $hh.

the standard behavior is so that a sequence goes into one folder but with octane output it makes one folder for each image in the sequence.

Nope, if you're talking about this! Octane uses the C4D's token system.
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: 15939
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Tokens question

Postby bahgoogen » Thu Feb 17, 2022 12:32 am

bahgoogen Thu Feb 17, 2022 12:32 am
Continuing on from this,

If I use CV Tokens, specifically the Increment 2-digit $cv01
Whether in the file name or folder structure... the 1st few frames will render out correctly, usually 2 frames, then the rest of the render will increment 1 digit and continue on from there.

E.g..
\Filename_v01_0000.png this usually works for the first 2 files. Then it will increment to
\Filename_v01_0001.png
\Filename_v02_0002.png for the rest of the render. E.g. most of the files will be V02, not V01.
\Filename_v02_0003.png

Any reason why this might be behaving like this?
bahgoogen
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Tue Nov 29, 2016 7:45 pm

Re: Tokens question

Postby aoktar » Thu Feb 17, 2022 12:34 am

aoktar Thu Feb 17, 2022 12:34 am
bahgoogen wrote:Continuing on from this,

If I use CV Tokens, specifically the Increment 2-digit $cv01
Whether in the file name or folder structure... the 1st few frames will render out correctly, usually 2 frames, then the rest of the render will increment 1 digit and continue on from there.

E.g..
\Filename_v01_0000.png this usually works for the first 2 files. Then it will increment to
\Filename_v01_0001.png
\Filename_v02_0002.png for the rest of the render. E.g. most of the files will be V02, not V01.
\Filename_v02_0003.png

Any reason why this might be behaving like this?

No idea, conversion is handled by internal functions of C4D. Please share a simple scene to check!
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: 15939
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Tokens question

Postby bahgoogen » Thu Feb 17, 2022 1:10 am

bahgoogen Thu Feb 17, 2022 1:10 am
Thanks aoktar.

Here's a simple scene to demonstrate.
You will see the first 2 files will render into their own folder, and the rest creates a new v02 folder with the files named as v02.
Attachments
Tokens_Issue_01.zip
Tokens Issue Demo File
(81.4 KiB) Downloaded 91 times
bahgoogen
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Tue Nov 29, 2016 7:45 pm

Re: Tokens question

Postby aoktar » Thu Feb 17, 2022 8:31 pm

aoktar Thu Feb 17, 2022 8:31 pm
bahgoogen wrote:Thanks aoktar.

Here's a simple scene to demonstrate.
You will see the first 2 files will render into their own folder, and the rest creates a new v02 folder with the files named as v02.

This is what I get as output. I cannot see any v.. named subdirs. What do you think?
Attachments
a1.jpg
a1.jpg (102.69 KiB) Viewed 1627 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: 15939
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Tokens question

Postby bahgoogen » Thu Feb 17, 2022 9:51 pm

bahgoogen Thu Feb 17, 2022 9:51 pm
It looks like you dont have "CV Tokens" installed?
It's a series of additional tokens you can get from cineversity with a subscription and CV-Toolbox.
https://www.cineversity.com/vidplaylist ... ns_install
tokens.jpg
token list with CV-Tokens


The $cv01 should turn into an incrementing 2 digit number.
So the first render sequence should be 01, then the second 02 etc.

Your is just printing the token name.
bahgoogen
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Tue Nov 29, 2016 7:45 pm

Re: Tokens question

Postby aoktar » Thu Feb 17, 2022 11:31 pm

aoktar Thu Feb 17, 2022 11:31 pm
As I said, plugin is using native C4D function to convert token syntax to file names. This 3rd party should not be supported.
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: 15939
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
PreviousNext

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 26 guests

Thu Mar 28, 2024 4:30 pm [ UTC ]