Learning Java 3D: some conceptual help
843799Sep 11 2002 — edited Sep 12 2002Just so we're on the same wavelength, here's what I'm trying to do:
I'm building an application that allows for the designing of certain 3D maps. Characters will move over the map as if on a grid. I would like them to be able to specify the type and height of each each grid space, and have the map update accordingly.
After having read through much of the Java 3D tutorial, I'm currently thinking that I should create a bunch of box objects with textures wrapped around them, and assemble them side by side into my grid. Then, it should be easy enough to change the height of a box when the player clicks on the grid/hits a key.
However, I'm concerned about performance. These maps should be 10x10 standard, which is 100 of these boxes, and some may range up to 20x20 and larger (400+)! Being completely inexperienced with Java 3D, I would like to know: is this plan feasible, and will performance be an issue? Is there any more efficient way to go about doing this?
I'm not looking for code, just help with the concept. Thanks.