add key chromakey deletion

Forums: 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.

add key chromakey deletion

Postby Elvissuperstar007 » Thu Mar 19, 2020 12:28 pm

Elvissuperstar007 Thu Mar 19, 2020 12:28 pm
add key chromakey deletion
Attachments
28угол.png
3386f-clip-184kb.jpg
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Elvissuperstar007
Licensed Customer
Licensed Customer
 
Posts: 2422
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia

Re: add key chromakey deletion

Postby Goldorak » Sat Apr 04, 2020 11:38 pm

Goldorak Sat Apr 04, 2020 11:38 pm
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
OctaneRender Team
 
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm

Re: add key chromakey deletion

Postby Goldorak » Sun Apr 05, 2020 8:16 am

Goldorak Sun Apr 05, 2020 8:16 am
Elvissuperstar007 wrote:add key chromakey deletion


Done - will ship as a built in node.

OSL_colorkey.png
Attachments
colorkey.orbx
(5.03 KiB) Downloaded 146 times
User avatar
Goldorak
OctaneRender Team
OctaneRender Team
 
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm

Re: add key chromakey deletion

Postby Elvissuperstar007 » Sun Apr 05, 2020 9:10 pm

Elvissuperstar007 Sun Apr 05, 2020 9:10 pm
thanks, it is necessary to integrate into the octane
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Elvissuperstar007
Licensed Customer
Licensed Customer
 
Posts: 2422
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia

Re: add key chromakey deletion

Postby Elvissuperstar007 » Sun Apr 05, 2020 10:01 pm

Elvissuperstar007 Sun Apr 05, 2020 10:01 pm
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
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
Elvissuperstar007
Licensed Customer
Licensed Customer
 
Posts: 2422
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia

Re: add key chromakey deletion

Postby ramone163 » Wed Apr 08, 2020 2:28 pm

ramone163 Wed Apr 08, 2020 2:28 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;
ramone163
Licensed Customer
Licensed Customer
 
Posts: 245
Joined: Tue Aug 28, 2012 5:12 pm

Re: add key chromakey deletion

Postby funk » Thu Apr 09, 2020 2:45 am

funk Thu Apr 09, 2020 2:45 am
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-OSL-Shaders/blob/master/3ds%20Max%20Shipping%20Shaders/ColorKey.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 142 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
Licensed Customer
 
Posts: 1204
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

Re: add key chromakey deletion

Postby funk » Thu Apr 09, 2020 3:10 am

funk Thu Apr 09, 2020 3:10 am
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
funk
Licensed Customer
Licensed Customer
 
Posts: 1204
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

Re: add key chromakey deletion

Postby Goldorak » Thu Apr 09, 2020 4:55 am

Goldorak Thu Apr 09, 2020 4:55 am
Yup
User avatar
Goldorak
OctaneRender Team
OctaneRender Team
 
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm

Return to Development Build Releases


Who is online

Users browsing this forum: No registered users and 5 guests

Thu Mar 28, 2024 3:14 pm [ UTC ]