Public Group

# 3D Rectangles

This topic is 3508 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Good Day, I am a novice programmer in 3D graphics and i am using C++ and DirectX 9. I would like to know how to draw Rectangles in 3d space when i now the coordinates of each point in 3d space. For example i need to draw a shape whose bases are random rectangles. (Coordinates given in x,y,z) The top base(y=0) could be for example: point1=(-1,0,1) point2=(0,0,3) point3=(1,0,2) point4=(1,0,1) point5(0,0,0) And the bottom base (y=-1) not symmetrical to the top base point1y=(0,-1,1) point2y=(0,-1,3) point3y=(1,-1,2) point4y=(1,-1,1) point5y(0,-1,-2) Is there a given function where i can give those coordinates and the shape is drawn automatically? If not, what other option do i have for accomplishing this task? Thanx in advance, Stakon.

1. 1
2. 2
3. 3
Rutin
15
4. 4
khawk
14
5. 5
frob
12

• 9
• 11
• 11
• 23
• 12
• ### Forum Statistics

• Total Topics
633661
• Total Posts
3013221
×