[Bf-committers] Teach draw patch to bf blender
cbarton at metavr.com
Wed Oct 6 01:03:43 CEST 2004
Hi, I realy dont know whats going on with the text- Your right
BIF_DrawString was faster then BMF_drawString, so whats going on???
Which is AA, and if BIF is , then why is it faster???? - I used BIF to
Ahhh BMF has a translate int thats also passed, does this mean its the
AA/internationa; text drawing func???
Anyhow- text rendering aside, Im not sure how Id do an alpha blender
text render that respected the zbuffer.
Could this be added later? I dont think its vital to teac draw
Nathan Letwory wrote:
>When adding a suzanne, with all three the options enabled there was
>suddenly a major performance hit. Upon inspecting both the numbers from
>closer by, I noticed that AA was being used. Looking at the code I see
>it's BMF_DrawString after all, that is the non-aa version (and thinking
>back at what Ton mentioned, BMF stands for BitMapFont).
>BIF_DrawString does also an extra pass through gettext so that was really
>slow. When I converted the BIF_DrawStrings into BMF_DrawStrings the speed
>was much more acceptable.
>One thing that I'd like to see, is that the numbers have a similar
>transparancy when they are occluded by the front part of the mesh, just
>like mesh drawing in solid mode without zbuffer-clipped selection enabled.
>>Big Whoops- well not that big- fixed the adjacent face area drawing
>>logic. But done now. dont use the first patch. use this one.
>>Campbell J Barton
>>133 Hope Street
>>Geelong West, Victoria 3218 Australia
>>e-mail: cbarton at metavr.com
>>phone: AU (03) 5229 0241
>>Bf-committers mailing list
>>Bf-committers at projects.blender.org
>Bf-committers mailing list
>Bf-committers at projects.blender.org
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-committers