nate066 Posted January 7, 2014 Share Posted January 7, 2014 How would i draw text on the screen Quote Link to comment Share on other sites More sharing options...
cassius Posted January 7, 2014 Share Posted January 7, 2014 Thers an example in the command reference. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
gamecreator Posted January 7, 2014 Share Posted January 7, 2014 Go to Documentation at the top, Command Reference, then Context, then DrawText Quote Link to comment Share on other sites More sharing options...
nate066 Posted January 7, 2014 Author Share Posted January 7, 2014 Thanks Quote Link to comment Share on other sites More sharing options...
nate066 Posted January 7, 2014 Author Share Posted January 7, 2014 When I draw my text i get these weird blocky characters. Quote Link to comment Share on other sites More sharing options...
tjheldna Posted January 7, 2014 Share Posted January 7, 2014 There is no alpha being drawn use the set blend mode Alpha before the draw and blend mode solid after you finished drawing your text etc. think that's it. self.context:SetBlendMode(Blend.Alpha) self.context:SetColor(1,1,1) self.context:DrawText(text,x,y) self.context:SetBlendMode(Blend.Solid) Quote Link to comment Share on other sites More sharing options...
nate066 Posted January 7, 2014 Author Share Posted January 7, 2014 T There is no alpha being drawn use the set blend mode Alpha before the draw and blend mode solid after you finished drawing your text etc. think that's it. self.context:SetBlendMode(Blend.Alpha) self.context:SetColor(1,1,1) self.context:DrawText(text,x,y) self.context:SetBlendMode(Blend.Solid) Thanks that worked Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.