DirectX-Forum - Beitragsübersicht -
ThemaDX9: pixelmanipulation
Von cgmarco
E-Mail cgmarco@gmx.de
Datum 24. Oktober 2009 um 15:07:02
Frage moin moin
ich möchte die pixel einer textur (ohne pixelshader) manipulieren...
wie geht das???
Antwort:
Von cgmarco
E-Mail cgmarco@gmx.de
Datum 25. Oktober 2009 um 16:00:20
Antwort moin moin...habe mich mal dran versucht...
weiß aber nicht wie ich z.b.den aktuellen farbwert verändern kann???
hier mein code
p.s wenn man die größe des rects nicht angibt...wird dan die gesamte textur gelockt??

Dim rect As Rectangle
Dim ru As Integer
Dim rv As Integer
rect.Width = 100
rect.Height = 100

tex(1).LockRectangle(0, rect, 0)
For ru = 0 To 100
For rv = 0 To 100
'???tex(1).??
Next
Next
[ Antwort schreiben | Zurück zum DirectX-Forum | Forum-Hilfe ]
Antworten
DX9: pixelmanipulation - cgmarco 24. Oktober 2009 um 15:07:02
Re: pixelmanipulation - Michael Kenzel 24. Oktober 2009 um 15:54:31
Re: pixelmanipulation - cgmarco 24. Oktober 2009 um 18:08:51
Re: pixelmanipulation - Michael Kenzel 24. Oktober 2009 um 20:44:54
Re: pixelmanipulation - cgmarco 25. Oktober 2009 um 16:00:20
Re: pixelmanipulation - cgmarco 26. Oktober 2009 um 21:58:42
Re: pixelmanipulation - cgmarco 27. Oktober 2009 um 00:04:54
Re: pixelmanipulation - Nico 27. Oktober 2009 um 16:20:42

Ihre Antwort
(Nick-)Name   Wichtige Informationen zur Namensangabe
E-Mail (opt.)  Wichtige Informationen zur Angabe einer eMail-Adresse
Thema   Wichtige Informationen zur Angabe eines Themas
Betrifft (IDE)  DirectX 9
Ihre Antwort
Smilies
Mehr...
FettKursivUnterstrichen   Übersicht der Tipp-KürzelÜbersicht der Projekt-KürzelÜbersicht der Bücher-Kürzel 
Homepage
Titel
Root-Smilies              
             
             
[ Zurück zum DirectX-Forum | Forum-Archiv | Forum-Hilfe | Chat ]

Zum Seitenanfang

Startseite | VB-/VBA-Tipps | Projekte | Tutorials | API-Referenz | Komponenten | Bücherecke | Gewinnspiele | VB.Net | .Net-Forum | DirectX | DirectX-Forum | Chat | Ausschreibungen | Links | Suchen | Stichwortverzeichnis | Feedback | Impressum

Seite empfehlen Bug-Report
Letzte Aktualisierung: Sonntag, 13. Dezember 2015