Search found 1341 matches

by dafhi
Oct 20, 2011 1:01
Forum: Tips and Tricks
Topic: gfx pointer arithmetic
Replies: 2
Views: 641

small code size is quite impressive. looking forward to seeing more of your opengl stuff
by dafhi
Oct 18, 2011 16:51
Forum: Tips and Tricks
Topic: gfx pointer arithmetic
Replies: 2
Views: 641

gfx pointer arithmetic

in all her quirky glory. [Updated] for readability Dim As Integer SCR_W = 480, SCR_H = 360, bpp = 32 Dim As Integer wid,hgt,bypp,pitch ScreenRes SCR_W,SCR_H,bpp ScreenInfo wid,hgt,bpp,bypp,pitch Dim As Integer widm = wid - 1 Dim As Integer hgtm = hgt - 1 Dim As Integer pitchm = pitch - bypp Dim As U...
by dafhi
Oct 07, 2011 12:57
Forum: General
Topic: Squares
Replies: 8041
Views: 531536

definitely some scene material :)
by dafhi
Sep 15, 2011 3:52
Forum: General
Topic: Squares
Replies: 8041
Views: 531536

reminds me of pig guard with food in a basket :)
by dafhi
Sep 15, 2011 2:26
Forum: General
Topic: Squares
Replies: 8041
Views: 531536

pretty cool dodi. I had a crazy idea. There I am using that word again. Anyway, if Unlimited Detail tech is for real, there is the potential for crazy built upon crazy. Faster rendering through masks, for instance.
by dafhi
Sep 15, 2011 1:14
Forum: Tips and Tricks
Topic: Fast polygone and triangle BPP 8,15,16,24,32
Replies: 15
Views: 5244

@badidea

check out Richard's post at the bottom
http://www.freebasic.net/forum/viewtopic.php?t=17111
by dafhi
Sep 14, 2011 2:09
Forum: Tips and Tricks
Topic: Fast polygone and triangle BPP 8,15,16,24,32
Replies: 15
Views: 5244

really nice
by dafhi
Sep 06, 2011 7:57
Forum: General
Topic: [solved] udt sub, access 'Me' ?
Replies: 1
Views: 353

[solved] udt sub, access 'Me' ?

Is there a way I can access 'myself' in a udt sub call?

Sub Toon.Init()
ClassStats Toon.Fire
ClassStats Toon.Water
End Sub

[ thanks fxm ]
by dafhi
Sep 02, 2011 12:27
Forum: Tips and Tricks
Topic: Replace any recursion by unlimited iteration with own stack
Replies: 7
Views: 2165

I love your work. Not that I understand any of it
by dafhi
Aug 16, 2011 19:57
Forum: General
Topic: alpha blending
Replies: 20
Views: 2474

I was able to improve the performance. Might take a breather before I begin researching the other stuff. "put_test.bas" #Include "fbgfx.bi" #If __FB_LANG__ = "fb" Using fb #EndIf Dim e As EVENT Dim Shared As Integer SCR_W = 480 Dim Shared As Integer SCR_H = 360 Dim Shared As Inte...
by dafhi
Aug 15, 2011 15:34
Forum: General
Topic: alpha blending
Replies: 20
Views: 2474

Just a little update for you guys. I discovered that the main culprit in the performance hit is this guy

Int(sng)

That said, I plan on diving into the realms of GL, Cairo and ASM.

Thanks for yall's input. (no I am not from the south)
by dafhi
Aug 14, 2011 22:16
Forum: General
Topic: alpha blending
Replies: 20
Views: 2474

I made the main loops stop after 100 executions and print out the execution time. On my system both versions are equal in speed (less than 2 % difference, cairo_test.bas was a bit faster in 2 of 3 tests). Interesting. On my machine it shows that Cairo is using around 34% of the cpu while the fbgfx ...
by dafhi
Aug 14, 2011 19:50
Forum: General
Topic: alpha blending
Replies: 20
Views: 2474

the cairo version runs slower. I was wondering if you are familiar enough with Cairo to suggest speed improvements. Thanks for the compiler warnings list. They don't appear here, but I get 'suspicious pointer assignment' messages. Yeah I'd like to learn opengl. Relsoft's EasyGL thread suggests "rend...
by dafhi
Aug 14, 2011 18:54
Forum: General
Topic: Advice wanted re sort routines & histogram analysis
Replies: 12
Views: 1288

Between my own projects I've been trying to work out a sub which does what you describe.

The tricky part is flattening out the vertical lines representing repeat color values
by dafhi
Aug 14, 2011 18:42
Forum: Projects
Topic: Dot Clusters
Replies: 4
Views: 1274

worthy of closer inspection

Go to advanced search