Click here to Skip to main content
15,885,309 members
Home / Discussions / Graphics
   

Graphics

 
QuestionDirectX9 - Problems to arrange bitmap Pin
Korowai25-Dec-16 8:54
Korowai25-Dec-16 8:54 
QuestionGetting a sense of Depth and 3D space from images Pin
Member 1233692920-Dec-16 5:19
Member 1233692920-Dec-16 5:19 
AnswerRe: Getting a sense of Depth and 3D space from images Pin
Gerry Schmitz21-Dec-16 8:41
mveGerry Schmitz21-Dec-16 8:41 
QuestionHow to extract geometry from Google Earth? Pin
Member 123369294-Oct-16 1:08
Member 123369294-Oct-16 1:08 
SuggestionRe: How to extract geometry from Google Earth? Pin
Richard MacCutchan4-Oct-16 3:48
mveRichard MacCutchan4-Oct-16 3:48 
AnswerRe: How to extract geometry from Google Earth? Pin
leon de boer18-Oct-16 9:48
leon de boer18-Oct-16 9:48 
QuestionD2D + WPF + SwapChain = ??? Pin
Max Dhom17-May-16 0:56
Max Dhom17-May-16 0:56 
QuestionHow to create complex 3d Objects with direct3d? Pin
Member 1226818310-Apr-16 6:17
Member 1226818310-Apr-16 6:17 
C#
I would like to model the 3d object, consisted of two parts (A1 and A2). The angle between A1 and A2 is 150°. A1 and A2 are cylinders. The 3D object (A1 and A2) is lying on the XY plane.
I would like to rotate the 3d object around the A1 axis. The render plane has to be XZ. I don’t know how to rotate the 3d object around A1 axis. I use different combinations of the following functions:

D3DXMatrixRotationY(&R11, D3DX_PI * D3DXToRadian(0));
D3DXMatrixRotationAxis(&A1,  &D3DXVECTOR3 (0.0f, 1.0f, 0.0f), D3DXToRadian(30));
D3DXMatrixRotationZ(&R12, D3DXToRadian(20));
D3DXMatrixTranslation(&T11, 20.0f, 5.0f, 0.0f);
D3DXMatrixRotationX(&R13, D3DXToRadian(40));
HR(gd3dDevice->SetTransform(D3DTS_WORLD, &(R11 * A1 * R13/* * T11 * R13*/)));

Unfortunately I don’t understand how to create a child object (A2). When I rotate the object A1, the child object A2 has to be rotated automatically around the A1 axis.

Could you help to resolve the problem?

Regards

QuestionHow to render multiple 3D objects separately? Pin Pin
Member 1226818327-Mar-16 4:24
Member 1226818327-Mar-16 4:24 
AnswerRe: How to render multiple 3D objects separately? Pin Pin
Graham Breach27-Mar-16 23:29
Graham Breach27-Mar-16 23:29 
GeneralRe: How to render multiple 3D objects separately? Pin Pin
Member 122681833-Apr-16 6:41
Member 122681833-Apr-16 6:41 
AnswerRe: How to render multiple 3D objects separately? Pin Pin
Forrest9012-Jul-16 1:36
Forrest9012-Jul-16 1:36 
GeneralRe: How to render multiple 3D objects separately? Pin Pin
Romain3413-Jul-16 22:33
Romain3413-Jul-16 22:33 
QuestionD2D/GDI+ Interop Problem Pin
Member 1171275327-Feb-16 19:21
Member 1171275327-Feb-16 19:21 
AnswerRe: D2D/GDI+ Interop Problem Pin
Richard MacCutchan27-Feb-16 21:11
mveRichard MacCutchan27-Feb-16 21:11 
QuestionDirect3d Game programming error Pin
Member 1226818323-Feb-16 22:12
Member 1226818323-Feb-16 22:12 
SuggestionRe: Direct3d Game programming error Pin
Richard Deeming24-Feb-16 1:05
mveRichard Deeming24-Feb-16 1:05 
GeneralRe: Direct3d Game programming error Pin
Member 1226818324-Feb-16 20:15
Member 1226818324-Feb-16 20:15 
GeneralRe: Direct3d Game programming error Pin
Pete O'Hanlon24-Feb-16 22:03
mvePete O'Hanlon24-Feb-16 22:03 
GeneralRe: Direct3d Game programming error Pin
Archard25215-Jul-16 0:06
Archard25215-Jul-16 0:06 
GeneralRe: Direct3d Game programming error Pin
Richard MacCutchan24-Feb-16 1:19
mveRichard MacCutchan24-Feb-16 1:19 
AnswerRe: Direct3d Game programming error Pin
Pete O'Hanlon24-Feb-16 2:16
mvePete O'Hanlon24-Feb-16 2:16 
GeneralRe: Direct3d Game programming error Pin
Member 1226818324-Feb-16 20:17
Member 1226818324-Feb-16 20:17 
GeneralRe: Direct3d Game programming error Pin
Richard MacCutchan24-Feb-16 21:40
mveRichard MacCutchan24-Feb-16 21:40 
GeneralRe: Direct3d Game programming error Pin
Member 1226818325-Feb-16 0:40
Member 1226818325-Feb-16 0:40 

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.