Date   

Re: LLVM -> SPIR-V

boberfly@...
 

Hey Larry,

I directed Sean Baxter to the mailing list awhile back about his project Circle-lang as another way to approach this, emitting SPIR-V directly from C++ code here:
https://lists.aswf.io/g/osl-dev/message/4399?p=,,,20,0,0,0::relevance,,sean,20,2,0,77939956

But I guess if Intel are donating an official SPIR-V backend that supports Vulkan-style and not just OpenCL, then that's great too!


Re: LLVM -> SPIR-V

Roman Zulak
 

Count me in...gonna dust off that OSL clang front-end.

There's a clang-based c++ interpreter at CERN that's pretty neat, someone focused on CUDA support is giving an update tomorrow.
Maybe I can nerd out on OSL fragments running at the LHC drawing ray-traced or Vulkan tachyons (well lit of course) soon.

>> Our next meeting will be on 04 March 2021 at 17:00 Geneva (CH) Time/8:00PST.
>> We are happy to have Simeon Ehrig presenting his work on C++ and CUDA -- "Cling’s CUDA Backend: Interactive GPU development with CUDA C++".



On Tue, Mar 2, 2021 at 7:31 PM Larry Gritz <lg@...> wrote:
Thought this thread was promising. If this ends up happening, it could pave a much easier path for us to eventually make OSL work on non-Cuda GPU platforms.

https://lists.llvm.org/pipermail/llvm-dev/2021-March/148905.html



--
Larry Gritz
lg@...










OSL getmessage/setmessage

elizabeth.bonnefoy@...
 

 

Hi everyone!

I'm a R&D engineer at Illumination MacGuff, and i'm currently trying to use the setmessage() / getmessage() feature from OSL.

To provide a bit of context: we are creating an OSL shader to read our volume files using an override of the RendererServices::texture3d() function for the lookup in the file.

From this OSL shader, we would like to provide some additional arguments to the texture3d() call, and get back some informations from this call which are not in the available values returned by texture3d().

Maybe it is a bad idea - feel free to give me your advice - but we are trying to use setmessage() and getmessage() to do it, and the second part actually works very well: thanks to an override of the RendererServices::getmessage(), we can use the "trace" source to communicate between functions in RendererServices and the OSL shader.
So we succeed to retrieve additional outputs from texture3d() with something like that:

result = texture3d(...);

getmessage("trace", "texture3d_out0", out0);

getmessage("trace", "texture3d_out1", out1);

 

But the first part is problematic, because the setmessage() feature seems to be private. There is no available definition of setmessage() in RendererServices, so we can't override it to use the "trace" source.
Ideally we would like to use it like that:

 

setmessage("trace", "texture3d_arg0", arg0);
setmessage("trace", "texture3d_arg1", arg1);
result = texture3d(...);


Maybe there is an other way to communicate from an OSL shader to a RendererServices functions?

Thank you for your help.
Kind regards,
Zab

 


LLVM -> SPIR-V

Larry Gritz
 

Thought this thread was promising. If this ends up happening, it could pave a much easier path for us to eventually make OSL work on non-Cuda GPU platforms.

https://lists.llvm.org/pipermail/llvm-dev/2021-March/148905.html



--
Larry Gritz
lg@...


OSL v1.11.12.0 release

Larry Gritz
 

We have tagged v1.11.12.0 (a.k.a. Release-1.11.12.0) as the latest supported production release, fully back compatible with earlier 1.11.x releases.

This is a minor change that only changes some things related to build and CI. If you are not experiencing any problems that are addressed by these changes, there is certainly no rush to upgrade.


Release 1.11.12 -- 1 Mar 2021 (compared to 1.11.11)
----------------------------------------------------
* Build: Changes for smooth compile against upcoming Imath 3.0. #1332 #1341
* Build: We weren't properly hiding non-public symbols. #1337
* CI: Cleanup and get rid of the last Travis vestiges. #1334
* CI: Speed up CI runs by using GHA cache + ccache. #1335
* CI: Separate CI process into several individual "steps." #1338


--
Larry Gritz
lg@...


OSL TSC meeting ( every other week ) - Thu, 03/04/2021 2:00pm-3:00pm #cal-reminder

osl-dev@lists.aswf.io Calendar <osl-dev@...>
 

Reminder: OSL TSC meeting ( every other week )

When: Thursday, 4 March 2021, 2:00pm to 3:00pm, (GMT-08:00) America/Los Angeles

Where:https://zoom.us/j/100511909

View Event

Organizer: Chris Kulla ckulla@...

Description:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR


Re: OSL - branding

Larry Gritz
 

Very nice! How did we go this long before realizing that of course any proper logo ought to have source code?


On Feb 26, 2021, at 1:03 PM, zap.andersson@... wrote:

Of course, in the spirit of "eat your own dogfood" (or was it "you are what you eat"?), of course the OSL LOGO should be in OSL



--
Larry Gritz





OSL - branding

Alvaro Castaneda
 

damn Zap
Zap Wins!!
:D


Re: OSL - branding

Zap Andersson
 

Of course, in the spirit of "eat your own dogfood" (or was it "you are what you eat"?), of course the OSL LOGO should be in OSL

 



Fully tweakable logo shader - enjoy :)



Enjoy :P

/Z


Upcoming Events #cal-summary

osl-dev@lists.aswf.io Calendar <osl-dev@...>
 

Open Shading Language discussion list Upcoming Events

OSL TSC meeting ( every other week )

When:
Thursday, 4 March 2021, 2:00pm to 3:00pm
(GMT-08:00) America/Los Angeles

Where:
https://zoom.us/j/100511909

Organizer: Chris Kulla ckulla@...

Details:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR

View Event


OSL TSC meeting ( every other week )

When:
Thursday, 18 March 2021, 2:00pm to 3:00pm
(GMT-07:00) America/Los Angeles

Where:
https://zoom.us/j/100511909

Organizer: Chris Kulla ckulla@...

Details:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR

View Event


OSL TSC meeting ( every other week ) - Thu, 03/04/2021 2:00pm-3:00pm #cal-reminder

osl-dev@lists.aswf.io Calendar <osl-dev@...>
 

Reminder: OSL TSC meeting ( every other week )

When: Thursday, 4 March 2021, 2:00pm to 3:00pm, (GMT-08:00) America/Los Angeles

Where:https://zoom.us/j/100511909

View Event

Organizer: Chris Kulla ckulla@...

Description:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR


Re: OSL - branding

Zap Andersson
 

Continuing on the established trend of "shitty hand drawn sketches", here are a couple of thoughts:

1) If we still want to think in the direction of "Connections" here's a couple of options. Tho I think the 1st one is taken by some compositing package....



This one tries to convey that shading graph connection tends to be a tree, rather than a straight chain. Stupid, I know.... but.....


2) For the "just an icon" thinking, I was trying to previously convey something like this.... but ideally slightly better..... a wire-frame sphere "fading" over onto a halftone dotted sphere:

Which should work reasonably well even very small:

/Z


Re: OSL - branding

Adrian Cruceru
 

If I'm not too late, here's my attempt at this

oslLogos.jpg


On Thu, Feb 18, 2021 at 10:00 PM Larry Gritz <lg@...> wrote:


Begin forwarded message:

From: Mario <mariovario@...>
Subject: OSL - branding


--
Larry Gritz






--
Adrian Cruceru
df(x)


Upcoming Events #cal-summary

osl-dev@lists.aswf.io Calendar <osl-dev@...>
 

Open Shading Language discussion list Upcoming Events

OSL TSC meeting ( every other week )

When:
Thursday, 4 March 2021, 2:00pm to 3:00pm
(GMT-08:00) America/Los Angeles

Where:
https://zoom.us/j/100511909

Organizer: Chris Kulla ckulla@...

Details:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR

View Event


OSL TSC meeting ( every other week )

When:
Thursday, 18 March 2021, 2:00pm to 3:00pm
(GMT-07:00) America/Los Angeles

Where:
https://zoom.us/j/100511909

Organizer: Chris Kulla ckulla@...

Details:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR

View Event


OSL - branding

Larry Gritz
 



Begin forwarded message:

From: Mario <mariovario@...>
Subject: OSL - branding


--
Larry Gritz





OSL TSC meeting ( every other week ) - Thu, 02/18/2021 #cal-notice

osl-dev@lists.aswf.io Calendar <noreply@...>
 

OSL TSC meeting ( every other week )

When:
Thursday, 18 February 2021
2:00pm to 3:00pm
(GMT-08:00) America/Los Angeles

Where:
https://zoom.us/j/100511909

Organizer:
ckulla@...

Description:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR


OSL TSC meeting ( every other week ) - Thu, 02/18/2021 2:00pm-3:00pm #cal-reminder

osl-dev@lists.aswf.io Calendar <osl-dev@...>
 

Reminder: OSL TSC meeting ( every other week )

When: Thursday, 18 February 2021, 2:00pm to 3:00pm, (GMT-08:00) America/Los Angeles

Where:https://zoom.us/j/100511909

View Event

Organizer: Chris Kulla ckulla@...

Description:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR


OSL TSC meeting ( every other week ) - Thu, 02/18/2021 2:00pm-3:00pm #cal-reminder

osl-dev@lists.aswf.io Calendar <osl-dev@...>
 

Reminder: OSL TSC meeting ( every other week )

When: Thursday, 18 February 2021, 2:00pm to 3:00pm, (GMT-08:00) America/Los Angeles

Where:https://zoom.us/j/100511909

View Event

Organizer: Chris Kulla ckulla@...

Description:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR


Documentation of "public methods" is odd

Zap Andersson
 
Edited

So I had fun. 

I was gonna convert an existing GLSL shader to OSL, which was quite complicated, using multiple nested functions. And since it's GLSL, every function had access to the shader parameters, since they are declared in a kinda 'global' scope in GLSL.

But in OSL, a function doesn't have access to the shader parameters. So I as painfully adding to each function so that parameters were passed down... it was a big shader, lots of things. Of course I screwed it up and it didn't work.

Then I noticed, by some happenstance... that OSL actually does support local functions inside the shader body, and these do have implicit access to the shader paranmeters!!!!

So I could basically delete all my changes and use almost the original GLSL as-is (with appropriate touch-up to types and stuff)!!! (And now the shader works!)

However, as far as I can tell, this is completely undocumented. Local functions are only mentioned but as "public methods" in the documentation, and as being "callable by the renderer", and nowhere is it mentioned these have implicit access to parameters.

Could we tweak this documentation perchance?

Would have saved me several days of work and three aborted tries to convert this danged shader :)

/Z


OSL TSC meeting ( every other week ) - Thu, 02/18/2021 2:00pm-3:00pm #cal-reminder

osl-dev@lists.aswf.io Calendar <osl-dev@...>
 

Reminder: OSL TSC meeting ( every other week )

When: Thursday, 18 February 2021, 2:00pm to 3:00pm, (GMT-08:00) America/Los Angeles

Where:https://zoom.us/j/100511909

View Event

Organizer: Chris Kulla ckulla@...

Description:

Every other week meeting of the OSL TSC.

Meeting Agenda / Notes: https://docs.google.com/document/d/1yf0bG6eoE2EvKZBNZX3nskdTvu99ADTDTNOknCDJd1I/

Confirm this meeting invite is still valid by finding the meeting at https://lists.aswf.io/calendar.

Join Zoom Meeting https://zoom.us/j/100511909

Meeting ID: 100 511 909

One tap mobile +16465588656,,100511909# US (New York) +13126266799,,100511909# US (Chicago)

Dial by your location +1 646 558 8656 US (New York) +1 312 626 6799 US (Chicago) +1 669 900 6833 US (San Jose) +1 253 215 8782 US +1 301 715 8592 US +1 346 248 7799 US (Houston) 877 369 0926 US Toll-free 855 880 1246 US Toll-free +1 587 328 1099 Canada +1 647 374 4685 Canada +1 647 558 0588 Canada +1 778 907 2071 Canada +1 438 809 7799 Canada 855 703 8985 Canada Toll-free Meeting ID: 100 511 909 Find your local number: https://zoom.us/u/acBVrM6HWR

501 - 520 of 5062