Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need a 3d shape class

Status
Not open for further replies.

d00ape

Programmer
Apr 2, 2003
171
SE
I’m working on a project using VRML to show 3d shapes of all kinds. I now search a class (or tips of how to create one) to represent an arbitary shape. For e.g. se this pic:

BoxWithSubtractionBox.GIF


One shape could for e.g. be a wall (a regular box). Later the wall could have a window.
Perfect would be if I in some way could create one box and later subtract one or many smaller shapes (the windows and doors) whenever I want.

For creating the VRML it then would be good to retrieve the outside areas of the shape (the connection of all corners).

All tips are welcomed.
 
I think for 3d shapes better is to use OpenGL. f you would use 3d chapes in web pages, better is to use MacromediaFlash or ShockWave.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top