Page 1 of 1

OSL setup for backplate image

Posted: Wed Jul 06, 2022 6:15 pm
by MantasKava
Hello,

I am struggling to find any source of info that would show/explain the process of setting up OSL nodes to get backplate image projected from camera in detail. Can anyone help/enlighten me, please?

Re: OSL setup for backplate image

Posted: Thu Jul 07, 2022 9:28 am
by bepeg4d
Hi,
not properly in detail, but did you see this discussion here?
viewtopic.php?f=21&t=65575&p=357327&hil ... on#p357327

ciao,
Beppe

Re: OSL setup for backplate image

Posted: Thu Jul 07, 2022 9:42 am
by MantasKava
Yes, I think I searched all over the forum.
Problem is, no one even mentions what to do with all these scripts/how to use them, where to assign/connect what etc etc.

So let's try and start slowly, here I have this texture and I want it to be my backplate:
Image
What's next?

Re: OSL setup for backplate image

Posted: Thu Jul 07, 2022 10:00 am
by bepeg4d
Ah, ok, you need to use an Octane Environment node, then set the mode to Visible Environment, then load your texture in the Image texture node, add the Projection node, change it to OSL projection, and copy paste the code you want in the node:
6884CC35-B131-4D03-AB5F-78001B95AA08.jpeg
Here is an example scene:
OSLbackgroung.zip
(438 KiB) Downloaded 86 times
ciao,
Beppe

Re: OSL setup for backplate image

Posted: Thu Jul 07, 2022 10:27 am
by MantasKava
Okay, it seems I got it working, much appreciated!

Now I wonder if this workflow/setup is only applicable for bitmaps, or is there a way to use Octane's/C4D's procedural maps/shaders as well? Like gradients, noises, etc? That would be super useful