Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
开发者_开发技巧 Improve this questionA friend of mine asked for a simple program.
Input: Coordinates of some points, spheres, planes etc. ( from an excel document (strictly) )
Output: A 3D view of the input which the user can move the camera.
The questions is, how can I do that easiest way. I have experience in C++, C#, Flash (AS), Java
Input: Coordinates of some points, spheres, planes etc. ( from an excel document (strictly) )
This is going to be your major problem, reading an excel document from Flash is not an easy task. You will either have to process it on a server side script with XML/JSON/AMF output to the client, or simply give up on the format.
Output: A 3D view of the input which the user can move the camera.
Displaying 3D objects in flash is easy using one of Papervision3D or Away3D.
There's a good book called XNA 3.0 Game Programming Recipes by Riemer Grootjans. You can find sample applications at his site: http://www.riemers.net/.
精彩评论