Search found 1615 matches

by dafhi
Sep 01, 2013 20:03
Forum: General
Topic: Squares
Replies: 8041
Views: 773031

Re: Squares

by dafhi
Aug 30, 2013 19:39
Forum: Projects
Topic: wxFBE, editor for both Windows and Linux
Replies: 265
Views: 91372

Re: wxFBE, editor for both Windows and Linux

also, i have to click the scrollbar to see console messages.
by dafhi
Aug 30, 2013 19:03
Forum: Projects
Topic: wxFBE, editor for both Windows and Linux
Replies: 265
Views: 91372

Re: wxFBE, editor for both Windows and Linux

my IDE of choice for several months now. when I change font size, upon loading a new file, font sizes look mixed
by dafhi
Aug 30, 2013 0:40
Forum: General
Topic: asm noob - registers
Replies: 23
Views: 837

asm noob - registers

I'm attempting to optimize (or at least get a better appreciation of compilers) some stuff, and what I have so far does work, but I'm out of registers, and I think I remember now that Mul overwrites EDX. Up to now, I was storing pixel address in EDX Which of - ESI, EDI, ESP, EBP - are safe to use? [...
by dafhi
Aug 29, 2013 14:36
Forum: Game Dev
Topic: Tutorial: Software 3d and matrix manipulations.
Replies: 30
Views: 10843

Re: Tutorial: Software 3d and matrix manipulations.

thank you for these - I am using Win7 - I get "shader file is empty", unless I do:

Code: Select all

function create_gl_shader(_filename as string, shader_type as GLenum) as GLuint
   dim as string filename = exepath & "\" & _filename
by dafhi
Aug 29, 2013 13:44
Forum: Sources, Examples, Tips and Tricks
Topic: Some Fonts by Draw String
Replies: 5
Views: 1436

Re: Some Fonts by Draw String

nice work. I have my own font project, but for now: /' changes 1. CreateFont parameters A. string (before tweak) lets u define char range B. tweak2 parameter 2. Filter - stuffed ar,ag,ab,xy min/max inside average(), changed to single '/ '======================================================== '====...
by dafhi
Aug 29, 2013 13:37
Forum: General
Topic: Squares
Replies: 8041
Views: 773031

Re: Squares

You may recall http://www.freebasic.net/forum/viewtopic.php?f=3&t=16207&p=185368&#p185368 FB's blend, via Put(), is faster than mine, but mine is more accurate. http://www.freebasic.net/forum/viewtopic.php?f=7&t=19348& for my recent demo, the only thing I can think is that you're...
by dafhi
Aug 29, 2013 3:22
Forum: General
Topic: Squares
Replies: 8041
Views: 773031

Re: Squares

one thing i've been working on, an update to my "sine fractals"
http://www.freebasic.net/forum/viewtopi ... =7&t=19431
by dafhi
Aug 27, 2013 20:27
Forum: General
Topic: fpu rounding mode in v0.9
Replies: 3
Views: 902

fpu rounding mode in v0.9

feature report - fb 0.9 no likey i change fpu mode function get_fpu_control_word()as integer asm fstcw [function] end function sub set_fpu_control_word(byval cw as integer) asm fldcw [cw] end sub sub set_fpu_rounding_mode(byval mode as integer) mode=(get_fpu_control_word() and &hf3ff)or((mode an...
by dafhi
Aug 17, 2013 19:27
Forum: Beginners
Topic: Moving an object toward a point
Replies: 5
Views: 942

Re: Moving an object toward a point

there is an elegance to anonymous1337's code. it's like painted lines for games
by dafhi
Aug 06, 2013 1:14
Forum: General
Topic: Squares
Replies: 8041
Views: 773031

Re: Squares

i've always enjoyed simple logic but i took a differential. eq. course and had my eyes open to greater things. still, i remain on the slow side. one of my goals is to understand why the derivative formula p' = n*p^(n-1) is correct. when i have an understanding then i move on. but i have so many proj...
by dafhi
Aug 06, 2013 0:09
Forum: General
Topic: Squares
Replies: 8041
Views: 773031

Re: Squares

thanks. i've made some pretty pictures with it, and am happy. i don't plan on releasing any more projects here involving suspicious ptr assignments.

nice cpu marks with your demo. font looks great ^^
by dafhi
Aug 05, 2013 2:54
Forum: General
Topic: Squares
Replies: 8041
Views: 773031

Re: Squares

looks busy at the fb shrine. interesting comment about plasma vs fluid. [update] Aug 28 - ui refinements (save auto-flattens if something changed, alpha mode detection) const PalOverSampling_ForSmoothness = 36 const ESCAPE_RAD = 400 const FIELD_VIEW = 6 const Iters_Init = 170 '' four macros to (hope...
by dafhi
Aug 03, 2013 3:50
Forum: General
Topic: Squares
Replies: 8041
Views: 773031

Re: Squares

sad to see you mention stuff about environment woes. humans are an odd bunch. i all but quit money around 2005. i live a pretty simple life except for my spiritual stuff. not sure what the deal is but exercise continues to help
by dafhi
Jul 25, 2013 19:18
Forum: Game Dev
Topic: JASC Soccer
Replies: 78
Views: 43741

Re: JASC Soccer

I would like to see it slighly higher FPS and more cpu friendly