Click here to Skip to main content
15,792,771 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: function returning CRecordset Pin
David Crow9-May-05 3:17
David Crow9-May-05 3:17 
GeneralRe: function returning CRecordset Pin
scoroop9-May-05 6:49
scoroop9-May-05 6:49 
Generalpassing a callback function pointer to a DLL within an MFC application Pin
DKaiser6-May-05 7:47
DKaiser6-May-05 7:47 
GeneralRe: passing a callback function pointer to a DLL within an MFC application Pin
Chris Losinger6-May-05 8:45
professionalChris Losinger6-May-05 8:45 
GeneralSecurity Template Pin
arthivjii6-May-05 7:45
arthivjii6-May-05 7:45 
GeneralMoving Items in a virtual List-View Pin
Luy6-May-05 6:38
Luy6-May-05 6:38 
Questionhow to embed a dialog into the frame? Pin
steven_wong6-May-05 5:19
steven_wong6-May-05 5:19 
GeneralTexture mapping and color replacing with GDI Pin
DaViL836-May-05 4:40
DaViL836-May-05 4:40 
Hi to all,

My name is Bruno and I am an Italian programmer.
I've a problem.

I need to write a program that make a map for apply texture on a various images that contains object (ex. Sofa', chairs, dressed, ...) to change his color/textures.
I've founded software. Look at this:
http://www.nedgraphics-porini.com/Default.aspx?SiteID=7&PageID=166

I've marked 3 extremely hard phases.

1: create a map for curves and angles:
- Algorithm to draw a 3d curve with GDI (2D)
- Algorithm to transform create curve
- Save the curve for future visualization

2: Map texture to curve (texture mapping)

3: Overlay original image with textured map

For the third phase I've supposed to use the base pixel brightness and draw the texture pixel with the same brightness.
The result is ok but work fine just with flat colors because if I use a texture this is so flat.
Therefore I need texture mapping.

Have you a line guide for me?

I've considered using Ray Casting technique or quite DirectX/OpenGL

Tanks for your time.

Bruno

Sorry for my terrible English
Generalown class Pin
_tasleem6-May-05 3:36
_tasleem6-May-05 3:36 
GeneralRe: own class Pin
benjymous6-May-05 3:42
benjymous6-May-05 3:42 
GeneralRe: own class Pin
_tasleem6-May-05 4:29
_tasleem6-May-05 4:29 
GeneralRe: own class Pin
benjymous6-May-05 4:32
benjymous6-May-05 4:32 
GeneralRe: own class Pin
_tasleem6-May-05 5:15
_tasleem6-May-05 5:15 
GeneralRe: own class Pin
_tasleem6-May-05 22:21
_tasleem6-May-05 22:21 
GeneralRe: own class Pin
ThatsAlok6-May-05 3:43
ThatsAlok6-May-05 3:43 
GeneralRe: own class Pin
David Crow6-May-05 4:48
David Crow6-May-05 4:48 
GeneralRe: own class Pin
ThatsAlok6-May-05 21:59
ThatsAlok6-May-05 21:59 
GeneralRe: own class Pin
_tasleem6-May-05 22:17
_tasleem6-May-05 22:17 
GeneralRe: own class Pin
ThatsAlok6-May-05 23:58
ThatsAlok6-May-05 23:58 
Generalhide dialog Pin
_tasleem6-May-05 3:29
_tasleem6-May-05 3:29 
GeneralRe: hide dialog Pin
benjymous6-May-05 3:38
benjymous6-May-05 3:38 
GeneralRe: hide dialog Pin
_tasleem6-May-05 22:13
_tasleem6-May-05 22:13 
GeneralRe: hide dialog Pin
ThatsAlok6-May-05 3:42
ThatsAlok6-May-05 3:42 
Generalmp3 info Pin
locoone6-May-05 3:15
locoone6-May-05 3:15 
GeneralRe: mp3 info Pin
Alexander M.,6-May-05 4:34
Alexander M.,6-May-05 4:34 

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.