   Windows Media Player and 3D Model formats
  How would I load a 3D model into one of my own programs?  The rendering part isn't a problem (just test for intersections against each primitive that makes up the model I would assume), but when it comes to loading/decoding files I am at a loss.  Also, how would you save data from one of your programs to a file format that, say, Windows Media Player could play back? My current project involves taking an object (a conglomeration of 3D primitives I define as one organized body), and giving it a velocity as well as a time to execute that velocity.  Then, based on however many FPS the user sets, the raytracer I am programming will render a "snapshot" of the scene and save the pixel values to a text file.  After the rendering is done the program will be able to load the frames into RAM and throw a frame onto the screen at a rate based on however many FPS the renderer was set to.  Hopefully this will happen fast enough for me to use a 3rd party program to capture the movie (or better yet, save directly to a Windows Media Player playable format).  Thank You,Brian   
Quote:Original post by SL33pY_Kr3WHow would I load a 3D model into one of my own programs? Well, I guess you need to read a bit about 3D file formats anddecide on a 3D format that you would like to implement into your application ?If you use static models I would recommend .OBJ or .3DS , othwerwise maybe .MS3D milkshape format !Quote:Original post by SL33pY_Kr3WAlso, how would you save data from one of your programs to a file format that, say, Windows Media Player could play back?You can for example create a bitmap snapshot for each frame and stream that to an .AVI file that can then be played by Media Player.   