Click here to Skip to main content
15,926,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRefreshing View From Tree Selection Pin
3-Apr-02 0:42
suss3-Apr-02 0:42 
GeneralRe: Refreshing View From Tree Selection Pin
3-Apr-02 2:15
suss3-Apr-02 2:15 
GeneralRe: Refreshing View From Tree Selection Pin
undeadhamster3-Apr-02 2:38
undeadhamster3-Apr-02 2:38 
GeneralDBGrid Pin
Drawil3-Apr-02 0:13
Drawil3-Apr-02 0:13 
GeneralExact Caret Position in the Rich Edit Control Pin
internal2-Apr-02 23:51
internal2-Apr-02 23:51 
GeneralRe: Exact Caret Position in the Rich Edit Control Pin
alex.barylski3-Apr-02 0:17
alex.barylski3-Apr-02 0:17 
General3D graphics question Pin
alex.barylski2-Apr-02 23:49
alex.barylski2-Apr-02 23:49 
GeneralRe: 3D graphics question Pin
Paul M Watt3-Apr-02 5:54
mentorPaul M Watt3-Apr-02 5:54 
There is so much to learn about 3D graphics, I will try to help you as much as I can.


HockeyDude wrote:
I'd really like it to be fast, but doesn't require super speed...the scenes are small only about 64x64 pixels (my 286 could render that in the blink of an eye). And I would really like cross platform compatibility...

Do you mean UNIX, MAC and PC, or Windows95 - WindowsXP?
DirectX / Direct 3D is a good tool for the PC, but OpenGL is platform independant.

HockeyDude wrote:
I'm also gaining interest in ATL and am considering approaching this with ATL (so it can be used in webpages AND applications).

If you place it in a webpage, it will eihter need to be an ActiveX control, or a JAVA Applet. The activeX contol will lock you down to Win32, and the JAVA Applet will slow you down.

HockeyDude wrote:
Knowing I won't need anything other than fancy shading, gradients, alpha factoring and anti-alising would it (maybe not make sense) but do any harm to open my books and copy paste...?

This would not hurt, but then you do not gain the advantage of your 3D card doing the work for you. Recently I wrote a 3d viewer from scratch (for fun), that handles Flat, Gouraud and Phong shading. Gouraud and Phong really start to bog down my machine because of all of the CPU power that it uses. When possible, you should use a library that takes advantage of your card like OpenGL or DirectX.

HockeyDude wrote:
Is ATL supported in .NET...? Is it any easier...?

The only reason to use directX for this task is to place your renderer in an ActiveX control. For the most part you should be able to create your renderer without ATL. That way you can focus on one task at a time. Then when you want your viewer in a control, it should not be too much work to replace the painting portion of your control with the viewer.

HockeyDude wrote:
uses MMX or 3DNow technology...depending on the PC architecture.

Just for your information, these tools are not too much to get excited about, MMX is basically an extension to allow you to do native 3D operations with integers. Most 3D applications use floats for accuracy. The libraries use their own hardware on the video card to accomplish these tasks, and most tools ignore MMX.

I think I have answered most of your questions. If you have any others feel free to ask. k.
GeneralNetwork Card packet Programm! Pin
Reza Azizi2-Apr-02 23:28
Reza Azizi2-Apr-02 23:28 
GeneralWorking with DDS images Pin
benjymous2-Apr-02 23:20
benjymous2-Apr-02 23:20 
GeneralCFSTR_* Pin
2-Apr-02 23:20
suss2-Apr-02 23:20 
GeneralGet HWND from HINSTANCE Pin
Tran Hoang Chuong2-Apr-02 23:15
Tran Hoang Chuong2-Apr-02 23:15 
GeneralRe: Get HWND from HINSTANCE Pin
alex.barylski2-Apr-02 23:25
alex.barylski2-Apr-02 23:25 
GeneralRe: Get HWND from HINSTANCE Pin
Tran Hoang Chuong2-Apr-02 23:59
Tran Hoang Chuong2-Apr-02 23:59 
GeneralRe: Get HWND from HINSTANCE Pin
alex.barylski3-Apr-02 0:09
alex.barylski3-Apr-02 0:09 
GeneralRe: Get HWND from HINSTANCE Pin
Tran Hoang Chuong3-Apr-02 14:01
Tran Hoang Chuong3-Apr-02 14:01 
GeneralRe: Get HWND from HINSTANCE Pin
alex.barylski6-Apr-02 1:20
alex.barylski6-Apr-02 1:20 
QuestionOwnerdraw with underlined text? Pin
2-Apr-02 22:58
suss2-Apr-02 22:58 
AnswerRe: Ownerdraw with underlined text? Pin
alex.barylski2-Apr-02 23:33
alex.barylski2-Apr-02 23:33 
GeneralRe: Ownerdraw with underlined text? Pin
3-Apr-02 0:19
suss3-Apr-02 0:19 
GeneralRe: Ownerdraw with underlined text? Pin
alex.barylski3-Apr-02 0:24
alex.barylski3-Apr-02 0:24 
GeneralF... Enhanced Metafile, here I go again.... Pin
Braulio Dez2-Apr-02 22:47
Braulio Dez2-Apr-02 22:47 
QuestionHow to send ARP packet... Pin
2-Apr-02 22:32
suss2-Apr-02 22:32 
AnswerRe: How to send ARP packet... Pin
Mike Nordell2-Apr-02 22:36
Mike Nordell2-Apr-02 22:36 
GeneralRe: How to send ARP packet... Pin
8-Apr-02 2:05
suss8-Apr-02 2:05 

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.