add key chromakey deletion

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.
Post Reply
User avatar
Elvissuperstar007
Licensed Customer
Posts: 2516
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine
Contact:

add key chromakey deletion
Attachments
28угол.png
3386f-clip-184kb.jpg
Win11/msi x79a-gd45 (8d)/ Intel Xeon e5 2690v0/ 64gb DDR3 1866/ Nvidia 4090 Asus TUF/ be quiet! Straight Power 11 1000W 80 Plus Platinum
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

We could build an OSL script for this, and maybe later bake it into the core if enough want this built in.
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

Elvissuperstar007 wrote:add key chromakey deletion
Done - will ship as a built in node.
OSL_colorkey.png
Attachments
colorkey.orbx
(5.03 KiB) Downloaded 169 times
User avatar
Elvissuperstar007
Licensed Customer
Posts: 2516
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine
Contact:

thanks, it is necessary to integrate into the octane
Win11/msi x79a-gd45 (8d)/ Intel Xeon e5 2690v0/ 64gb DDR3 1866/ Nvidia 4090 Asus TUF/ be quiet! Straight Power 11 1000W 80 Plus Platinum
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Elvissuperstar007
Licensed Customer
Posts: 2516
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine
Contact:

And how to make transparency ?
opasity not work
https://youtu.be/yPDRxIfaHfM?t=85
Attachments
f878f-clip-299kb.png
618432_edit__V1-0004.jpg
07f0b-clip-515kb.jpg
5e1b1-clip-1056kb.jpg
Win11/msi x79a-gd45 (8d)/ Intel Xeon e5 2690v0/ 64gb DDR3 1866/ Nvidia 4090 Asus TUF/ be quiet! Straight Power 11 1000W 80 Plus Platinum
Page octane render " В Контакте " http://vkontakte.ru/club17913093
ramone163
Licensed Customer
Posts: 253
Joined: Tue Aug 28, 2012 5:12 pm

Goldorak wrote:
Elvissuperstar007 wrote:add key chromakey deletion
Done - will ship as a built in node.
OSL_colorkey.png
How to make opacity with this OSL?
GPU: 980+1080+1080Ti; 3ds max;
Behance portfolio; Handmadefont.com;
User avatar
funk
Licensed Customer
Posts: 1206
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

I had a quick look at this. The original script was for 3ds max and has 2 outputs (1 color and the other float)
https://github.com/ADN-DevTech/3dsMax-O ... lorKey.osl

In Octane, we can only have 1 output per OSL node, and it only supports a "color" output.

You would need to use 2 OSL nodes. eg make 2 copies of the script and modify 1 to use the "Col" color output, and the other to use the "Key" float (converted to color).


EDIT: Here is a sample orbx with 2 OSL scripts. I don't know how this is meant to work, but here is a screenshot of 2 planes. You can see through the top one which uses the key as opacity
colorkey_002_example.png
Attachments
colorkey_002.orbx
(298.58 KiB) Downloaded 166 times
Win10 Pro / Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
funk
Licensed Customer
Posts: 1206
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

It would be nice if Octane OSL could be updated in the future to allow multiple outputs (as well as different output types like float/int etc)

It would make nodes like this much easier to create (no need for multiple edited copies)
Win10 Pro / Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

Yup
Post Reply

Return to “Development Build Releases”