Search found 12 matches

by abzivid
Wed Nov 10, 2021 10:09 am
Forum: Lua Scripting
Topic: saveRenderPasseMultiExr2 help needed
Replies: 1
Views: 12037

saveRenderPasseMultiExr2 help needed

Please, anyone who can post a working example of multi-layer exr save.
I'have been strugling with saveRenderPassesMultiExr2.
I'm on latest stable Octane 2021.1.

Many thanks
Aleksandar
by abzivid
Fri Oct 22, 2021 7:27 am
Forum: Lua Scripting
Topic: How to work with localDB in lua
Replies: 4
Views: 5223

Re: How to work with localDB in lua

Many thanks. Will try it today.

Pity that getting localDB using API is not more direct and intuitive :(

Aleksandar
by abzivid
Thu Oct 21, 2021 12:41 pm
Forum: Lua Scripting
Topic: How to work with localDB in lua
Replies: 4
Views: 5223

Re: How to work with localDB in lua

Hi beppe,

I appreciate the answer and I'll use liveDB at some point.

However, I want to use localDB programmatically.
Could not find API support for the local one.

Aleksandar
by abzivid
Wed Oct 20, 2021 2:48 pm
Forum: Lua Scripting
Topic: How to work with localDB in lua
Replies: 4
Views: 5223

How to work with localDB in lua

Hi,

How can one get and work with liveDB from lua scripts?
Seems that octane.importLocalDB is not available.

Aleksandar
by abzivid
Sat Oct 16, 2021 5:50 am
Forum: Lua Scripting
Topic: Are non-modal windows possible
Replies: 1
Views: 3289

Re: Are non-modal windows possible

Think I have found a way to solve my issue.
See the code below that randomizes geometry's translational and rotational placement.


There, octane.changemanager.update() call can be used to keep the window live while updating the scene.


local function Randomize()
local rndRotate = {math.random ...
by abzivid
Fri Oct 15, 2021 5:03 pm
Forum: Lua Scripting
Topic: Are non-modal windows possible
Replies: 1
Views: 3289

Are non-modal windows possible

Hi,
I would like to create a non modal window to drive object location randomization to generate variations in the scene.

Is this possible at all?
Any other approaches?

Many thanks
Aleksandar
by abzivid
Thu Oct 14, 2021 8:30 am
Forum: Lua Scripting
Topic: Camera to be parent for a light source
Replies: 2
Views: 3478

Re: Camera to be parent for a light source

Hi,

Many thanks. Having light at fixed position in camera space is indeed what I needed.
Will test the script.
by abzivid
Thu Oct 14, 2021 8:24 am
Forum: Lua Scripting
Topic: set Kernel type using Lua
Replies: 2
Views: 3250

Re: set Kernel type using Lua

Many thanks.
Will dive into it.
by abzivid
Wed Oct 13, 2021 2:37 pm
Forum: Blender
Topic: Blender to *.orbx geometry export question
Replies: 1
Views: 1411

Blender to *.orbx geometry export question

Hi,

I'm wondering if it is possible to avoid Blender geometry to be exported as GT_GEOMETRYARCHIVE.
For example, in Blender I can parent light source (QuadLight) to camera (so when camera moves light follows).
However, this is not preserved after the export - camera is a separate node and light is ...
by abzivid
Wed Oct 13, 2021 8:52 am
Forum: Lua Scripting
Topic: Camera to be parent for a light source
Replies: 2
Views: 3478

Camera to be parent for a light source

Hi,

Is it possible to bind a light source to a camera; the light then moves in same way as the camera?

I'm interested to know how this may be achieved by manually changing the graph and via scripting.

Many thanks
Aleksandar

Go to advanced search