Click here to Skip to main content
16,010,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondestop icon and system tray icon when install new software Pin
ningthemcha1-Aug-06 1:50
ningthemcha1-Aug-06 1:50 
AnswerRe: destop icon and system tray icon when install new software Pin
Parthi_Appu1-Aug-06 2:53
Parthi_Appu1-Aug-06 2:53 
Questiona 3d modeller class Pin
tecdroid1-Aug-06 1:39
tecdroid1-Aug-06 1:39 
AnswerRe: a 3d modeller class Pin
Rilhas4-Aug-06 10:52
Rilhas4-Aug-06 10:52 
GeneralRe: a 3d modeller class Pin
tecdroid4-Aug-06 19:52
tecdroid4-Aug-06 19:52 
GeneralRe: a 3d modeller class Pin
Rilhas6-Aug-06 3:15
Rilhas6-Aug-06 3:15 
GeneralRe: a 3d modeller class Pin
tecdroid6-Aug-06 22:33
tecdroid6-Aug-06 22:33 
GeneralRe: a 3d modeller class Pin
Rilhas10-Aug-06 7:46
Rilhas10-Aug-06 7:46 
Sorry for the delay in my answer, my home computer died on me so I'm using the computer at work.

Q1) Seems fine.

Q2) Ok. There is a performance penalty in using HDC's external to OpenGL, but not very significant. The alternative would be for the lib to own the window, which I don't think you would find interesting.

Q3) Yes, could be one way or the other. The lib could draw only one of the windows to the HDC you specify. This means that you could use the same window or use a diferent one. The important point to note is that the lib would need 4 calls to draw the 4 views, instead of one call to draw them all (which would be less efficient, generally speaking).

Q4) Well, in the spirit of my participation at this forum I would not impose any constraints on usage and distribution. The cost issue is pertinent only to any amount of work I would have to do (and this still has to be estimated for me to see if I could do it for free or not). If there was a cost and you decided to pay then the usage and distribution would be free.

Q5) Yes, that was what I meant, but I assume a local architecture (not using TCP/IP or any similar form of distribution).


I1) Ok.

I2) Ok.

I3) Ok.

I4) Ok, that's great!

I5) Ok. This became clear to my with your struct example. Moving selected points results in changing whatever objects are associated with them (either partially or fully).

I6) Ok. Also clear now.

I7) Ok.

Well, I think your sugestions actually ended up simplifying the whole thing. I also assume that all load/save functionality is provided by you, including textures. This means that some requirements may be imposed on them, like:

I8) Do you wish to provide any RGB/RGBA texture map and the lib automatically transform it to match OpenGL's requirements? This typically requires rescaling.

I9) You do not provide a struct example for textures... I assume you don't want to use a single global texture, in which case we should define the concept of object so that each object can have an associated texture. Can I assume that each object can only have one texture? I think this could be simple, like:

struct object {
struct point* point_table;
long point_table_count;
struct line* line_table;
long line_table_count;
struct surface* surface_table;
long surface_table_count;
struct rgba* texture_rgba;
}

I10) I have not tested the usage of untextured points in the middle of textured surfaces. I don't think it works as one might think. So I propose that the object contains information of if it's points are textured or not, and not the points individually. Anyway, each point would still have its s and t. The same applies to the visibility of points (what is a triangle if one of its points is not visible?). Or would a surface drawing consist of its fill, its edge lines, and its individual points?


So, to sumarize, only the newly added I8), I9), and I10) are open issues, all the rest I think are well understood.

Rilhas
GeneralRe: a 3d modeller class Pin
tecdroid11-Aug-06 1:49
tecdroid11-Aug-06 1:49 
QuestionMoving Ellipse Problem Pin
uday kiran janaswamy1-Aug-06 1:28
uday kiran janaswamy1-Aug-06 1:28 
AnswerRe: Moving Ellipse Problem Pin
tecdroid1-Aug-06 1:43
tecdroid1-Aug-06 1:43 
AnswerRe: Moving Ellipse Problem Pin
toxcct1-Aug-06 2:24
toxcct1-Aug-06 2:24 
AnswerRe: Moving Ellipse Problem Pin
Zac Howland1-Aug-06 4:28
Zac Howland1-Aug-06 4:28 
QuestionAccess Web Services from MS eMbedded C++ 4.0 Pin
iks1-Aug-06 1:09
iks1-Aug-06 1:09 
QuestionXMLRPC and VStudio6.0(VC++) Pin
_AnsHUMAN_ 1-Aug-06 0:49
_AnsHUMAN_ 1-Aug-06 0:49 
QuestionTooltip to static text?? Pin
Manjunath S1-Aug-06 0:48
Manjunath S1-Aug-06 0:48 
AnswerRe: Tooltip to static text?? Pin
uday kiran janaswamy1-Aug-06 1:02
uday kiran janaswamy1-Aug-06 1:02 
QuestionMoving Ellipse Problem Pin
uday kiran janaswamy1-Aug-06 0:34
uday kiran janaswamy1-Aug-06 0:34 
AnswerRe: Moving Ellipse Problem Pin
Hamid_RT1-Aug-06 0:50
Hamid_RT1-Aug-06 0:50 
GeneralRe: Moving Ellipse Problem [modified] Pin
uday kiran janaswamy1-Aug-06 0:53
uday kiran janaswamy1-Aug-06 0:53 
GeneralRe: Moving Ellipse Problem Pin
Hamid_RT1-Aug-06 1:27
Hamid_RT1-Aug-06 1:27 
GeneralRe: Moving Ellipse Problem Pin
uday kiran janaswamy1-Aug-06 1:30
uday kiran janaswamy1-Aug-06 1:30 
QuestionRTTI Pin
vikramlinux31-Jul-06 23:59
vikramlinux31-Jul-06 23:59 
AnswerRe: RTTI Pin
toxcct1-Aug-06 0:36
toxcct1-Aug-06 0:36 
GeneralRe: RTTI Pin
ThatsAlok1-Aug-06 23:52
ThatsAlok1-Aug-06 23:52 

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.