AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Multimedia Delphi Help with Graphics32
Thema durchsuchen
Ansicht
Themen-Optionen

Help with Graphics32

Ein Thema von WojTec · begonnen am 19. Jan 2010 · letzter Beitrag vom 22. Jan 2010
 
Medium

Registriert seit: 23. Jan 2008
3.688 Beiträge
 
Delphi 2007 Enterprise
 
#6

Re: Help with Graphics32

  Alt 19. Jan 2010, 22:13
10% are by far too few. Twice the size (four times the area) would provide a marginal improvement, 4x is okayish, 8x is good and from 16x on you get "production quality" results, though anything beyond 32x latest should pretty much make no visible difference no more.
If your rendering is such that you can pick any (x,y)-value and get the color at this position back (like raytracing for example), you won't have to actually render to that sizes, but could just sample multiple times for one pixel, each time with a sub-pixel offset, and average those. If it's drawing like with LineTo() and such, then you'd be better off really doing it with the oversized version.

The functions' i- and j-loops start with 1. I belive they should go from 0, but then you have to make sure that whenever (i-1) and/or (j-1) occurs, you need to clamp to 0, because negative indexes won't do very well . This at least would be my first shot, I haven't and currently cannot test it myself.
"When one person suffers from a delusion, it is called insanity. When a million people suffer from a delusion, it is called religion." (Richard Dawkins)
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:27 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz