Click here to Skip to main content
15,893,722 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Stored procedures using Entity Framework Pin
Not Active28-Jan-11 15:44
mentorNot Active28-Jan-11 15:44 
QuestionInstaller: CustomActionData Pin
Archdeacon27-Jan-11 17:03
Archdeacon27-Jan-11 17:03 
QuestionBasic tier object design questions Pin
Jon_Boy27-Jan-11 1:53
Jon_Boy27-Jan-11 1:53 
AnswerRe: Basic tier object design questions Pin
dan!sh 27-Jan-11 6:30
professional dan!sh 27-Jan-11 6:30 
AnswerRe: Basic tier object design questions Pin
Ian Shlasko27-Jan-11 7:29
Ian Shlasko27-Jan-11 7:29 
GeneralRe: Basic tier object design questions Pin
Jon_Boy27-Jan-11 7:48
Jon_Boy27-Jan-11 7:48 
AnswerRe: Basic tier object design questions Pin
TheGreatAndPowerfulOz27-Jan-11 11:54
TheGreatAndPowerfulOz27-Jan-11 11:54 
QuestionGDI+ scene graph, retrieve absolute transform from local transform Pin
norrisMiou26-Jan-11 16:49
norrisMiou26-Jan-11 16:49 
Hi ! Firest, sorry for my bad english.
I try to create a simple 2D graph scene for learning purpose. A very great article from Bob Powel
(http://www.bobpowell.net/graphicsstack.aspx) who gave me a bese to start.

So, I understand that to draw an "objects chain" (like bones chain), I must start with an identity matrix and rotate/translate it with the local transform of the bone to draw. At the end of a chain, I reset my "drawing matrix" and I can draw others bones chains.
So, the Bone class only store a local matrix and the drawing method of my Renderer control only use this local transform to draw an object relatively from its parent.

All is good. I can modify and read the local translation or rotation for each bone easilly.

Now, my problem is, I want to be able to read/modify the absolute position or rotation of a nested object. The reason is simple.
Imagine I have a root bone with one child. The root bone have an absolute position (10, 10) and an absolute rotation of 45°. The child bone has a local translation of (30, 0) and a rotation of 45°. We can easilly say that this child bone has an absolute rotation of 90°. I can easilly compute the absolute transform from the local one.

So now I can get/set local transform and get absolute transform, but I can't find a way to set the absolute transform.
I understand I must translate an absolute matrix to a local matrix, but what could be the pseudo code or steps to achieve this ?
AnswerRe: GDI+ scene graph, retrieve absolute transform from local transform Pin
Luc Pattyn26-Jan-11 17:04
sitebuilderLuc Pattyn26-Jan-11 17:04 
GeneralRe: GDI+ scene graph, retrieve absolute transform from local transform Pin
norrisMiou27-Jan-11 9:20
norrisMiou27-Jan-11 9:20 
GeneralRe: GDI+ scene graph, retrieve absolute transform from local transform Pin
Luc Pattyn27-Jan-11 9:30
sitebuilderLuc Pattyn27-Jan-11 9:30 
QuestionTo bind or not to bind? Pin
Sander Rossel26-Jan-11 4:05
professionalSander Rossel26-Jan-11 4:05 
AnswerRe: To bind or not to bind? Pin
Dave Kreskowiak26-Jan-11 4:23
mveDave Kreskowiak26-Jan-11 4:23 
GeneralRe: To bind or not to bind? Pin
Sander Rossel26-Jan-11 6:56
professionalSander Rossel26-Jan-11 6:56 
GeneralRe: To bind or not to bind? Pin
Dan Mos26-Jan-11 9:23
Dan Mos26-Jan-11 9:23 
GeneralRe: To bind or not to bind? Pin
Dave Kreskowiak26-Jan-11 11:07
mveDave Kreskowiak26-Jan-11 11:07 
AnswerRe: To bind or not to bind? Pin
Dan Mos26-Jan-11 5:36
Dan Mos26-Jan-11 5:36 
GeneralRe: To bind or not to bind? Pin
Sander Rossel26-Jan-11 7:05
professionalSander Rossel26-Jan-11 7:05 
AnswerRe: To bind or not to bind? Pin
Luc Pattyn26-Jan-11 7:27
sitebuilderLuc Pattyn26-Jan-11 7:27 
GeneralRe: To bind or not to bind? Pin
DaveyM6926-Jan-11 8:29
professionalDaveyM6926-Jan-11 8:29 
GeneralRe: To bind or not to bind? Pin
Dan Mos26-Jan-11 8:56
Dan Mos26-Jan-11 8:56 
JokeRe: To bind or not to bind? Pin
Sander Rossel26-Jan-11 9:43
professionalSander Rossel26-Jan-11 9:43 
GeneralRe: To bind or not to bind? Pin
Pete O'Hanlon26-Jan-11 10:01
mvePete O'Hanlon26-Jan-11 10:01 
AnswerRe: To bind or not to bind? Pin
Luc Pattyn26-Jan-11 10:09
sitebuilderLuc Pattyn26-Jan-11 10:09 
GeneralRe: To bind or not to bind? Pin
Sander Rossel26-Jan-11 10:24
professionalSander Rossel26-Jan-11 10:24 

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.