
Texture blend in 1.2x?
Forum rules
NOTE: The software in this forum is not %100 reliable, they are development builds and are meant for testing by experienced octane users. If you are a new octane user, we recommend to use the current stable release from the 'Commercial Product News & Releases' forum.
NOTE: The software in this forum is not %100 reliable, they are development builds and are meant for testing by experienced octane users. If you are a new octane user, we recommend to use the current stable release from the 'Commercial Product News & Releases' forum.
wow, i'm safe, thanks roeland 
ciao beppe
ciao beppe
- Seekerfinder

- Posts: 1600
- Joined: Tue Jan 04, 2011 11:34 am
Yes Roeland, you de man...Rikk The Gaijin wrote:I LOVE YOU ROELAND![]()
![]()
![]()
Win 8(64) | P9X79-E WS | i7-3930K | 32GB | GTX Titan & GTX 780Ti | SketchUP | Revit | Beta tester for Revit & Sketchup plugins for Octane
- Rikk The Gaijin

- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
I can still love you too, Beppe... Now I know you can write Lua scripts, so I might need you in the near future...bepeg4d wrote:wow, i'm safe, thanks roeland
ciao beppe
- stratified

- Posts: 945
- Joined: Wed Aug 15, 2012 6:32 am
- Location: Auckland, New Zealand
I think it's allowed for 2 dudes to get married but 3 seems a bit over the top 
stratified wrote:I think it's allowed for 2 dudes to get married but 3 seems a bit over the top
@rikk: sorry but i'll never be able to write lua scripts, i'm only quite able to modify them to my needs... sometimes
and i'm not free
ciao beppe
- Rikk The Gaijin

- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
Just for the records, I'm straight and married... 
- stratified

- Posts: 945
- Joined: Wed Aug 15, 2012 6:32 am
- Location: Auckland, New Zealand
But you're willing to leave your wife for the first guy that offers you a lua script, jeez ... 
- Rikk The Gaijin

- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
Roeland, I have a question about the script you posted before:
It works great, but it also forces the timeline to start from 0.
I'm exporting brief chunks of a long sequence, and my alembic animation starts from different timings, for example:
start 15.235 end 17.5
When I execute your script, the timeline becomes:
start 0 end 17.5 (after I type "totaltime = 17.5" line in the script)
How can I specify the correct starting time?
Code: Select all
-- Time span to animate:
totaltime = 2
-- Get the selected float texture node
local tex = octane.project.getSelection()[1]
assert(tex:getProperties().type == octane.NT_TEX_FLOAT, "float texture node expected")
-- hook up the animator for going from 0 to 1
tex:setAnimator(octane.A_VALUE, { 0 }, { 0, 1 }, totaltime)
octane.changemanager.update()
I'm exporting brief chunks of a long sequence, and my alembic animation starts from different timings, for example:
start 15.235 end 17.5
When I execute your script, the timeline becomes:
start 0 end 17.5 (after I type "totaltime = 17.5" line in the script)
How can I specify the correct starting time?
The arguments to
--
Roeland
setAnimator are, in order: time stamp list, value list, and the period to repeat the pattern. We can put the start and end time in the list of time stamps, and set the period to some larger number.Code: Select all
-- Get the selected float texture node
local tex = octane.project.getSelection()[1]
assert(tex:getProperties().type == octane.NT_TEX_FLOAT, "float texture node expected")
-- hook up an animator
tex:setAnimator(octane.A_VALUE, { 1, 2 }, { 0, 1 }, 10)
octane.changemanager.update()Roeland
