[Bf-committers] improved UV test grid
This patch is about improved UV test grid. ideasman42 told me to implement the same functionality like the script http://www.pastebin.org/113570 written by Hubert Niećko with C. So,I have written it. The link of the patch is - https://projects.blender.org/tracker/index.php?func=detail&aid=21654&group_id=9&atid=127 I think this will be helpful and expecting your comments and reviews. Stay fine. Shuvro ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] improved UV test grid
Hi Shuvro, great to see the patch, would you be able to make this an option alongside the existing grid option? This means adding a new grid type in rna_image.c, "generated_type" property. Its not that complicated, once its done I'll have a look at adding the text, it can use the same functions as render stamping. On Wed, Mar 17, 2010 at 6:13 PM, shuvro sarker wrote: > This patch is about improved UV test grid. > ideasman42 told me to implement the same functionality like the script > http://www.pastebin.org/113570 written by Hubert Niećko with C. > So,I have written it. > > The link of the patch is - > > https://projects.blender.org/tracker/index.php?func=detail&aid=21654&group_id=9&atid=127 > > I think this will be helpful and expecting your comments and reviews. > Stay fine. > > Shuvro > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > -- - Campbell ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] improved UV test grid
nice horizontal stripes looks well too :) is there posibility to add grid with letters and numbers ? For me it is key feature is there a easy way to add text to image in C or should I write function doing it pixel by pixel in python ? hubert (szczuro) niecko ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] improved UV test grid
BLF_draw_buffer() can be used for drawing text directly into an image, this is what I was referring to in my last mail, its used for render stamping. On Wed, Mar 17, 2010 at 11:45 PM, Hubert Niećko wrote: > nice > horizontal stripes looks well too :) > is there posibility to add grid with letters and numbers ? For me it > is key feature > is there a easy way to add text to image in C or should I write > function doing it pixel by pixel in python ? > > hubert (szczuro) niecko > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > -- - Campbell ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] improved UV test grid
Thanks Campbell for your comment and suggestion. You helped me the most in getting started. My semester final exam is going on. I have an exam after 3 days. So I fear I can not get back to work al least before that time. Stay fine. Shuvro -- To me life is nothing but a thrill. ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] improved UV test grid
hubert (szczuro) niecko, Thanks for your comment. As far as I know adding grid with letters and numbers requires manipulation of pixels one by one. That should not be pretty easy. Shuvro ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] improved UV test grid
shuvro: did you try this BLF_draw_buffer() function ? I think I can write addtext python function doing it pixel one by one, but it will have one small 3x5px or 4x7 font ;) and support chars 0-9 A-F I put array of 00 01 ... FF into image it in the middle of 32px square, it will not be looking like on the prototype picture but should be enough hubert (szczuro) niecko ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
[Bf-committers] improved UV test grid (improved UV Grid added as an option with the default one)
This patch added the improved UV test grid as an option with the default one. That means now you can select any of the two grids from the menu. The screenshots provided with the patch link will clarify this. The link of the patch is - https://projects.blender.org/tracker/index.php?func=detail&aid=21660&group_id=9&atid=127 Thanks to Campbell Barton for guiding me. Shuvro ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] improved UV test grid (improved UV Grid added as an option with the default one)
look like something is wrong, improved grid has only 4 colors instead of 8 ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers