ACES working space
Brecht Van Lommel
Hi all, In trying to make functions like blackbody() work correctly with ACES working spaces, I found no way in the API to do it. There is ShadingSystem.attribute("colorspace", ".."), which seems to only support a fixed list of color spaces defined in opcolor.cpp. That list does not include ACES. There's a few solutions I can think of: * Add ACES2065-1 and ACEScg to the list. Easiest solution but not the most future proof. * Add a method to provide custom chroma values. (Or a 3x3 XYZ -> RGB matrix which is what I happen to have available already and seems simplest to extract from OpenColorIO.) * Lookup the specified "colorspace" name in the OpenColorIO configuration and use the "aces_interchange" role to figure out how that color space relates to CIE XYZ. Possibly it could default to the "rendering" role in the config, but this would be breaking API compatibility. I'm willing to contribute a patch for this, but would like to know which solution would be preferred, or if I'm missing an existing solution.. Regards, Brecht.
|
|
Event: OSL TSC meeting ( every other week ) - 03/31/2022
#cal-reminder
osl-dev@lists.aswf.io Calendar <noreply@...>
Reminder: OSL TSC meeting ( every other week ) When: Where: 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: How can I store global variables one by one in an array?
Larry Gritz
Hi, sorry for letting this sit for a long time without a reply, but I'm still not sure I understand what you're trying to do.
If you are tracing rays in some order, when tracing one particular ray, you don't yet know where all the other rays (that you haven't trace yet) are going to hit. So you don't know when you're shading what all the other P's will necessarily be, if that's what you're trying to find out. Are you asking for the vertices of the mesh of the geometry that you hit? Are you just trying to find out which side of the surface a light is? The variable Ng should be the oriented surface normal, and you can compare that to the direction of the light to determine whether the light (or any other point) is in front of or behind the surface. Also dPdu and dPdv are the tangents of the surface at the shading point, and those can also be used to figure out the orientations.
|
|
Upcoming Events
#cal-summary
osl-dev@lists.aswf.io Calendar <osl-dev@...>
Open Shading Language discussion list Upcoming EventsOSL TSC meeting ( every other week )When: Where: 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 OSL TSC meeting ( every other week )When: Where: 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
|
|
Event: OSL TSC meeting ( every other week ) - 03/31/2022
#cal-reminder
osl-dev@lists.aswf.io Calendar <noreply@...>
Reminder: OSL TSC meeting ( every other week ) When: Where: 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
|
|
Upcoming Events
#cal-summary
osl-dev@lists.aswf.io Calendar <osl-dev@...>
Open Shading Language discussion list Upcoming EventsOSL TSC meeting ( every other week )When: Where: 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 OSL TSC meeting ( every other week )When: Where: 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
|
|
Now: OSL TSC meeting ( every other week ) - 03/17/2022
#cal-notice
osl-dev@lists.aswf.io Calendar <noreply@...>
OSL TSC meeting ( every other week ) When: Where: 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
|
|
Event: OSL TSC meeting ( every other week ) - 03/17/2022
#cal-reminder
osl-dev@lists.aswf.io Calendar <noreply@...>
Reminder: OSL TSC meeting ( every other week ) When: Where: 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
|
|
Event: OSL TSC meeting ( every other week ) - 03/17/2022
#cal-reminder
osl-dev@lists.aswf.io Calendar <noreply@...>
Reminder: OSL TSC meeting ( every other week ) When: Where: 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
|
|
Event: OSL TSC meeting ( every other week ) - 03/17/2022
#cal-reminder
osl-dev@lists.aswf.io Calendar <noreply@...>
Reminder: OSL TSC meeting ( every other week ) When: Where: 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
|
|
Upcoming Events
#cal-summary
osl-dev@lists.aswf.io Calendar <osl-dev@...>
Open Shading Language discussion list Upcoming EventsOSL TSC meeting ( every other week )When: Where: 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 OSL TSC meeting ( every other week )When: Where: 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
|
|
Event: OSL TSC meeting ( every other week ) - 03/17/2022
#cal-reminder
osl-dev@lists.aswf.io Calendar <noreply@...>
Reminder: OSL TSC meeting ( every other week ) When: Where: 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
|
|
[TAC private discussion] Google Summer of Code!
Larry Gritz
Good news -- ASWF has been accepted into the Google Summer of Code (GSoC) as a mentoring organization.
We require student applicants to have an accepted PR to any project they wish to apply to, as a prerequisite to considering their application to be sponsored to work on that project. It can be (and should be) very small, something that a new person can do in one day, just to show that they are able to check out the code, make it build, make a change, and interact with the community and code review process. This is a good time for any of you reading this to (a) look over our Issues list on GitHub and if you see anything that fits that description, make sure it has the "good first issue" tag, and/or (b) ADD issues for things you know should be done and fit these criteria -- it's a good chance to enumerate any small tasks that we wish somebody would do, but are perhaps not high enough priority for any of the primary developers to have allocated time to tackle.
|
|
Upcoming Events
#cal-summary
osl-dev@lists.aswf.io Calendar <osl-dev@...>
Open Shading Language discussion list Upcoming EventsOSL TSC meeting ( every other week )When: Where: 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 OSL TSC meeting ( every other week )When: Where: 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
|
|
Now: OSL TSC meeting ( every other week ) - 03/03/2022
#cal-notice
osl-dev@lists.aswf.io Calendar <noreply@...>
OSL TSC meeting ( every other week ) When: Where: 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
|
|
Event: OSL TSC meeting ( every other week ) - 03/03/2022
#cal-reminder
osl-dev@lists.aswf.io Calendar <noreply@...>
Reminder: OSL TSC meeting ( every other week ) When: Where: 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
|
|
Event: OSL TSC meeting ( every other week ) - 03/03/2022
#cal-reminder
osl-dev@lists.aswf.io Calendar <noreply@...>
Reminder: OSL TSC meeting ( every other week ) When: Where: 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: How can I store global variables one by one in an array?
トマトフライ
I know this is a silly thing to talk to a developer about.
I would appreciate it if you could share your wisdom.
I am trying to recreate a Raytraced Hard Shadow in Cycles in Blender.
https://github.com/unity3d-jp/RaytracedHardShadow
In the original OSL, this can be easily implemented using trace().
However, Cycles does not accept "shade" parameter input.
Therefore, the result of trace() is very dirty.
So I was looking for a way to calculate shadows without relying on the "Shade" parameter.
By letting the trace rays penetrate self geometry, I was able to determine the shadows falling from other objects.
Used inner product to determine P not facing the light.
However, I was unable to achieve a way to determine the shadow cast by the self geometry on self, which is why I asked the question.
If we have an array containing P, we can determine if light is being blocked by the difference in the inner product of the vector toward the light source.
With this in mind, I asked you the question, but I regret that I could not realize it.
Would what I have in mind be realized by other means?
I hope that will be the case.
Thank you.
|
|
Re: How can I store global variables one by one in an array?
Larry Gritz
Can you tell us more about what you were TRYING to do? Not just the "what", but I really mean the "why." What task were you trying to accomplish, for which you hypothesized that the solution was needing to know all the P values of all shaded points at once?
Maybe there's another way to solve your real problem.
|
|
Re: How can I store global variables one by one in an array?
トマトフライ
Thank you very much for your detailed answer.
I now understand what I misunderstood about shading points.
I apologize for taking time out of your busy schedule.
|
|