473,231 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

[directx] Mesh on mesh

Hello everybody,

i want to create some kind of robot arm, it's need to be very simple,
so i decided to create this from cubes - few of them i want to
transform separetaly from another. I know how to create this cube, how
to transform rotate in different ways - buffers, vertices, meshes. I'd
like to use mesh, it's the simplest way but i don't know how to create
one mesh on the exact position on another. And somehow stick them
I had an idea like this:

dev.Transform.World = Matrix.Translation(5.0f, 18.0f,
dev.Transform.World = Matrix.Translation(5.0f, 10.0f,
dev.Transform.World = Matrix.Translation(5.0f, 6.0f, 4.0f);

(translation is a size of prevoius box)
But it's not working any way i'd like to.
Any ideas? Any sample code, could help me?

Jan 21 '06 #1
0 1469

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: kastillo | last post by:
Im trying to install directx 9.0 c , but i simply cant . When i run the installer it just says " The installed components are ready to use". This is the report on directx.log : 09/10/05...
by: ammd | last post by:
Hi, I installed Microsoft DirectX 9.0 SDK (Summer 2004) but when I create a project and try to add the necessary references I can't find them. Does anybody know where to look for them? BTW, I have VS...
by: Mike P | last post by:
Problems, problems... Im trying to create DirectX Projects within C# and to also look at the latest DirectX C# Samples. I have just installed MS Visual C# .net Standard Edition on my Windows...
by: DF | last post by:
I just want to change the color of the vertex (the face if possible) of a vertex in a mesh sphere. I can see lots of examples in C# but not in Visual Basic. The problem I run into occurs when...
by: Harvey Cohen | last post by:
Hello all, I have some C# code that implements calls to DirectX.DirectSound. It compiles under both VS .NET 2003 and VS 2005 and runs under VS .NET 2003 and VS 2005 on a Compaq laptop (Windows...
by: Piotrek Alchemik | last post by:
I'm looking for any sample of code how to change drawing my mesh. I have one box and i'd like to change point 0,0,0 starting not from one of the corners, but i'd like to start at bottom of my cube...
by: Jessica Weiner | last post by:
I am writing an application in C# which need to plot graphs and simple shapes (polygons, circles, squares etc). Which library is better for this purpose and why? Thanks.
by: A. Gaubatz | last post by:
I am using some code that I somewhat cannibalized from a tutorial, and whenever I try to put in an image not of specific seemingly random sizes, it stretches them out alot. The module that runs...
by: Kasya | last post by:
Hello, How can i make Skinned Animated Mesh using DirectX *.x file. (Please write in comments why need that line) Thanks in Advance!
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.