Forum Replies Created
-
AuthorPosts
-
franzParticipant
thanks master vade.
(still banging my head tho’)
franzParticipantCurrently i don’t release any source with my plugins, provided they’re home made, public and free.
I just don’t feel myself being at the level to do so.(==clean code, useful comments, like you guys do)I’m doing some researches with shaders, and if i use techniques developed by v002 (or just inspired by), i’ll release source as well, this is mandatory.
Having said that, at the moment I don’t have any plugin using shaders, at all.
Do you think i should publish some sources ? What plugin in particular ?
(Honestly, when I’ve a look at your code, I feel myself as a crappy hobby-ist coder… )On the geometry shader side, can’t i just add a “getGeometryShaderSourceFromResource” method ?
franzParticipantthank you soooo much
franzParticipantmmmm, I must have been tired then.
Sorry to have wasted your time….
Will triple check in the future before asking stupid questions, and humiliate myself
(jK)EDIT: got it now. I stupidly place the server at a lower rendering level than what I actually wanted to send.
Server has to be placed at the very last rendering layer of the scene to send everything….
Thanks for answeringfranzParticipanti just released the plugin I’m talking about, so you can see by yourself…
I’ll double check however, to see if it doesn’t come from my side.
(but I’ve no clue where i could have been wrong)franzParticipantI’m on a MBP core2 + 9600.
I’m using a bufferRep to grab your OFlow image, QCPlugInPixelFormatRGBAf , kCGColorSpaceGenericRGBLinear.
I grab pixels that way:
R = baseAddress[4*x+y*floatsPerRow];
G = baseAddress[4*x+1+y*floatsPerRow];
B = baseAddress[4*x+2+y*floatsPerRow];
A = baseAddress[4*x+3+y*floatsPerRow];R,G and A works, but not B ….
EDIT:
i’ve logged the values, and B is always negative… (?)
R and G can range beyond 1 , but A always tops at 1.franzParticipantthen something must be wrong in my plugin, as i can’t get B working (while A produces expected result)
-
AuthorPosts