Hello,

Can anyone please tell me how to divide a 3D Cylinder in equal parts. A Cylinder has three fields as defined in the API, TOP, BODY, BOTTOM. I have divided my cylinder in these parts. Now, i only want the Cylinder.BODY (i mean the surface of the cylinder) to be divided into equal parts. Each divided part will have a node with text, background color and different attributes associated to it. I am using Java 3D API.

Thanks.

Recommended Answers

I don't know something about that but this link maybe ....

http://www.java2s.com/Code/Java/3D/Catalog3D.htm

Jump to Post

All 2 Replies

Is there any way of accessing each division in Cylinder.getXdivisions(); in java 3D.

Thanks,
Ali Raza

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.