Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-22 Thread Tilman Hausherr
Hello Thimal, Don't start prematurely because there are three students who have applied. I haven't done any ranking (all three applications are good, so it will be a tough decision). So please don't work on the coons / tensor shadings yet, and don't optimize anything. Of course I can't preve

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-22 Thread Thimal Kempitiya
Hi Tilman, I think its better if i get to know the code more, Is there any issues related to the shading components I can try. Can you please assign/direct me to some issues on pdfbox ( related to shading ) On Tue, Mar 18, 2014 at 6:15 PM, Tilman Hausherr wrote: > Am 18.03.2014 10:41, schrieb T

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-18 Thread Tilman Hausherr
Am 18.03.2014 10:41, schrieb Thimal Kempitiya: I would be glad if you can give feed back on my proposal. Hello, The URL doesn't work except for you, the text appeared in the mentors list and I can also see it in the dashboard. I will give feedback there. Tilman

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-18 Thread Thimal Kempitiya
Hi Tilman, I'll look in to the PDF spec related to Function Type thanks for the that. Thanks for the tips on the proposal I uploaded my proposal to the melange here is the url https://www.google-melange.com/gsoc/proposal/review/student/google/gsoc2014/thimal/5649050225344512 I have suggested ne

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-12 Thread Tilman Hausherr
Hello, The function is something used mostly by shading types 1, 2 and 3. It uses as input either the coordinates, or the result of a formula based on them. Enter "FunctionType" in the PDF spec. Re: the proposal, no I don't have a sample. I don't even know how the google format looks like. W

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-12 Thread Thimal Kempitiya
Hi Tilman, Thanks for the feedback. What you mean by the function calculations is it function evaluation method can you please give more information on it. About the proposal what advise can you give, is there specific way that pdfbox expect apart form the gsoc format and is there any sample pro

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-09 Thread Tilman Hausherr
Hello, Yes this is an interesting idea. It would save the recalculation of "y1y0 * (y + j - coords[1])" everytime. (Unless the java compiler detects this already) But don't expect too much from it - I believe more time is lost in function calculation (at least for types 1, 2 and 3 where functi

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-09 Thread Thimal Kempitiya
Thanks Tilman for optimization in speed I think we need to facus on methods which use again and again like getRaster for the axial shading part current implementation in the getRaster method we calculate the x' value for the raster inside the for by for loop for (int j = 0; j < h; j++)

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-07 Thread Tilman Hausherr
Am 07.03.2014 15:03, schrieb Thimal Kempitiya: Thanks Tilman for the feedback http://www.particleincell.com/blog/2012/quad-interpolation/ seems like opposite of what we are going need to check whether its work with this by implementing it (but can easily implement if we used library with matrix

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-07 Thread Thimal Kempitiya
Thanks Tilman for the feedback http://www.particleincell.com/blog/2012/quad-interpolation/ seems like opposite of what we are going need to check whether its work with this by implementing it (but can easily implement if we used library with matrix manipulations) can I know more about the optiona

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-04 Thread Tilman Hausherr
Am 04.03.2014 15:19, schrieb Thimal Kempitiya: Hi, I checked the code related to the shading and studied the pdf spec related to the type 6. As I see it is going same as the type 4 From what I feel this is need to be done correct me if I'm wrong first need to get the 12 control points and colors

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-04 Thread Thimal Kempitiya
Hi, I checked the code related to the shading and studied the pdf spec related to the type 6. As I see it is going same as the type 4 >From what I feel this is need to be done correct me if I'm wrong first need to get the 12 control points and colors related to each unit from stream create the 4 cu

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-03-01 Thread Thimal Kempitiya
yeah I'm using trunk code(2.0) and I wanted to render the image got it, thanks. I'm currently studying the 1 to 5 shading implementations and the pdf spec related to 6 and 7 type shading and i'll buzz you if i got issue. Once again thanks for quick reply On Sat, Mar 1, 2014 at 2:38 AM, John Hews

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-02-28 Thread John Hewson
You’ll need to use the latest 2.0.0 snapshot jar, which is the unstable version from trunk and the place where new development occurs. -- John On 28 Feb 2014, at 05:04, Thimal Kempitiya wrote: > Hi, > I'm Thimal Kempitiya, third year computer science and engineering > undergraduate at universi

Re: [GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-02-28 Thread Tilman Hausherr
Hello and welcome, If you want to render an image, the code is like this after getting the pdpage object: BufferedImage bim = RenderUtil.convertToImage(pdPage, BufferedImage.TYPE_INT_RGB, 300); ImageIO.write(bim, "png", new File(fname)); (Assuming you are using the 2.0 code) And then wat

[GSoC 2014]Implement shading with Coons and tensor-product patch meshes

2014-02-28 Thread Thimal Kempitiya
Hi, I'm Thimal Kempitiya, third year computer science and engineering undergraduate at university of moratuwa. I'm interested in the project idea "implement shading with Coons and tensor-product patch meshes". I have the basic knowledge about the cubic Bézier curves", , "bilinear interpolation", "