Texture blend in 1.2x?

A forum where development builds are posted for testing by the community.
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.
Rikk The Gaijin
Licensed Customer
Posts: 1528
Joined: Tue Sep 20, 2011 2:28 pm
Location: Japan

I LOVE YOU ROELAND :o :o :o

Image
User avatar
Seekerfinder
Licensed Customer
Posts: 1600
Joined: Tue Jan 04, 2011 11:34 am

Rikk The Gaijin wrote:I LOVE YOU ROELAND :o :o :o

Image
Yes Roeland, you de man...
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
Licensed Customer
Posts: 1528
Joined: Tue Sep 20, 2011 2:28 pm
Location: Japan

bepeg4d wrote:wow, i'm safe, thanks roeland ;)
ciao beppe
I can still love you too, Beppe... Now I know you can write Lua scripts, so I might need you in the near future... ;) :lol:
User avatar
stratified
OctaneRender Team
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 :D
User avatar
bepeg4d
Octane Guru
Posts: 10328
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

stratified wrote:I think it's allowed for 2 dudes to get married but 3 seems a bit over the top :D
:D :D :D
@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 :D
ciao beppe
Rikk The Gaijin
Licensed Customer
Posts: 1528
Joined: Tue Sep 20, 2011 2:28 pm
Location: Japan

Just for the records, I'm straight and married... :lol:
User avatar
stratified
OctaneRender Team
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 ... :D
Rikk The Gaijin
Licensed Customer
Posts: 1528
Joined: Tue Sep 20, 2011 2:28 pm
Location: Japan

Roeland, I have a question about the script you posted before:

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()
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?
User avatar
roeland
OctaneRender Team
Posts: 1823
Joined: Wed Mar 09, 2011 10:09 pm

The arguments to 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
Post Reply

Return to “Development Build Releases”