I want to make some effects using cdd (like dynamic lighting, blurs, distortions, Motion Portrait mimicry, etc ) which seemingly require direct access to the pixel matrix. is there a standard methods for it? like renpy.displayeable class properties or some functions maybe? I failed to find any and all i can think for now is to make an array of one-pixel im.Crop-s, but that would be unimaginably ugly ^^''''
upd: updated question instead of replying to avoid bump. A clear negative answer is also a good one? so thanks PyTom n_n
Can i directly read/modify pixels of image on CDD?(answered)
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Can i directly read/modify pixels of image on CDD?(answered)
Last edited by SONTSE on Thu Oct 09, 2014 3:54 pm, edited 1 time in total.
Look! It's moving. It's alive. It's alive... IT'S ALIVE! Oh, in the name of God! Now I know what it feels like to be God!(@Henry_Frankenstein. Sums up my coding style)
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Can i directly read/modify pixels of image on CDD?
No.
Everything is loaded into the GPU, so you can't easily read it with the CPU. My eventual plan is to add pixel shader support to allow for some of that, but that's still a bit off. (iOS will come out first.)
Everything is loaded into the GPU, so you can't easily read it with the CPU. My eventual plan is to add pixel shader support to allow for some of that, but that's still a bit off. (iOS will come out first.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Google [Bot]