Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
HI All,

I have a requirement on urgent basis. I need to cut a 3D cube along x and y directions.
Suppose that i have a cube of certain dimension and have 3 text boxes representing X,Y and Z direction. Now When i put any values in X and Y according to that the main 3D cube gets bisect.

For example - cube is of 30 X 30 X 30
and in X text box i have put 10
and in Y text box i have put 10

Then the current cube should be bisected as 10 X 10, out of 30 X 30 X 30.

It is just like http://blogs.technet.com/blogfiles/andrew/WindowsLiveWriter/OLAPCubesandMultidimensionalAnalysis_10C03/cube.jpg[^]

All help will be appreciated.

Thanks.
Posted
Updated 3-Jun-13 1:45am
v5

1 solution

If only draw cube,it's easy,you can use OpenGl.If draw cube and flat text. you can use OpenGl and freetype to do it.
If you don't know about the OpenGl or DirectX 3D ,then you can use the 3D controls, such as: EWDraw 3D ActiveX
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900