[Bf-committers] Teach draw patch to bf blender

Nathan Letwory jesterking at letwory.net
Tue Oct 5 18:20:56 CEST 2004


Hi Campbell,

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.

/Nathan


> 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
>
> URL:    http://www.metavr.com
> e-mail: cbarton at metavr.com
> phone: AU (03) 5229 0241
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>



More information about the Bf-committers mailing list