Click here to Skip to main content
15,867,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiline textout Pin
led mike9-Oct-07 5:02
led mike9-Oct-07 5:02 
QuestionBuffer Overrun Pin
LCI9-Oct-07 2:33
LCI9-Oct-07 2:33 
AnswerRe: Buffer Overrun Pin
David Crow9-Oct-07 2:51
David Crow9-Oct-07 2:51 
AnswerRe: Buffer Overrun Pin
Stephen Hewitt9-Oct-07 12:29
Stephen Hewitt9-Oct-07 12:29 
QuestionDirectX - Generall Question Pin
GermanGeorge9-Oct-07 2:05
GermanGeorge9-Oct-07 2:05 
AnswerRe: DirectX - Generall Question Pin
El Corazon9-Oct-07 15:17
El Corazon9-Oct-07 15:17 
GeneralRe: DirectX - Generall Question Pin
GermanGeorge9-Oct-07 20:37
GermanGeorge9-Oct-07 20:37 
GeneralRe: DirectX - Generall Question Pin
El Corazon10-Oct-07 4:04
El Corazon10-Oct-07 4:04 
GermanGeorge wrote:
can you give me some code for your ideas? i would be glad to pay you for it.


Roll eyes | :rolleyes: At least until you saw my rates.... I will try to point you in the right directions for free, but I rarely write code for people anymore, just too much time for too little. Plus I am strictly OpenGL most of the time.


GermanGeorge wrote:
as the thickness and colour can change with every spectacle: how do i create a texture map in my programm, i cannon hold a file for each possibility.


a texture is simply a map of memory with Red Green and Blue in following bytes, sometimes red, green, blue and alpha. Alpha is a number the same as the other colors representing the transmittance of color to a blending function. Since the blendng function is chosen by the programmer, it isn't a cut-and-dry "this is what alpha is, and this is how it works" but you can find many tutorials on alpha blending in OpenGL or DirectX, your choice. Also with the new shading capability of graphics cards, you can write your own blending function to do what ever level of blending you need.

http://www.codeproject.com/cs/media/3DAlphaTransparency.asp[^]
http://www.falloutsoftware.com/tutorials/dd/dd7.htm[^]
http://www.codeproject.com/gdi/pxalphablend.asp[^]

_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

GeneralRe: DirectX - Generall Question Pin
GermanGeorge10-Oct-07 22:11
GermanGeorge10-Oct-07 22:11 
QuestionNot Getting picture in Picture in Picture Control Pin
GauranG Shah9-Oct-07 1:45
GauranG Shah9-Oct-07 1:45 
AnswerRe: Not Getting picture in Picture in Picture Control Pin
chandu0049-Oct-07 3:33
chandu0049-Oct-07 3:33 
AnswerRe: Not Getting picture in Picture in Picture Control Pin
Roger Broomfield9-Oct-07 6:03
Roger Broomfield9-Oct-07 6:03 
QuestionStop USB Devices Pin
VC_RYK9-Oct-07 1:39
VC_RYK9-Oct-07 1:39 
QuestionRe: Stop USB Devices Pin
David Crow9-Oct-07 2:52
David Crow9-Oct-07 2:52 
AnswerRe: Stop USB Devices Pin
VC_RYK9-Oct-07 18:56
VC_RYK9-Oct-07 18:56 
GeneralRe: Stop USB Devices Pin
aks.9-Oct-07 19:33
aks.9-Oct-07 19:33 
AnswerRe: Stop USB Devices Pin
ram.Jaddu9-Oct-07 23:11
ram.Jaddu9-Oct-07 23:11 
Questionmsdn files are affected Pin
prithaa9-Oct-07 1:22
prithaa9-Oct-07 1:22 
AnswerRe: msdn files are affected Pin
chandu0049-Oct-07 3:18
chandu0049-Oct-07 3:18 
QuestionHow to identify click event on Tabcontrol? Pin
Atul239-Oct-07 0:50
Atul239-Oct-07 0:50 
AnswerRe: How to identify click event on Tabcontrol? Pin
Waldermort9-Oct-07 0:57
Waldermort9-Oct-07 0:57 
Questiondisplaying GIFF in view Pin
Anu_Bala9-Oct-07 0:48
Anu_Bala9-Oct-07 0:48 
AnswerRe: displaying GIFF in view Pin
Waldermort9-Oct-07 0:55
Waldermort9-Oct-07 0:55 
QuestionRe: displaying GIFF in view Pin
chandu0049-Oct-07 3:37
chandu0049-Oct-07 3:37 
AnswerRe: displaying GIFF in view Pin
Hamid_RT9-Oct-07 9:51
Hamid_RT9-Oct-07 9:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.