Hi everyone! I want to build a skybox6 material on-the-fly. i.e. render the same scene 6 times, then combine the 6 rendered images into a bitmapdata. My code is attached, but the result is obviously wrong. Could anyone please look into my code (it should be easy to understand) and tell me what was wrong? The underlying idea should be correct, since I used it in my 3dsmax plugin and it successfully produces a lot of panoramas.
The scene is a room, surronded by 4 yellow cubes of equal side, with no floor or ceiling. BTW: I have difficulty understanding the camera. is the "fov" property the vertical angle or horizontal angle (though they should both be 90 degrees, in the case of building the skybox6 material)? And what about "zoom" (and why the default "zoom" value is 10)? In 3dsmax, I only need 1) the camera position, 2) target position (actually only the direction matters), 3) FOV (or lens. they're the same thing), but here in away3d, I need an extra "zoom" property (or focus, but I think setting zoom might be easier). I know what "zoom" intuitively means, but I'm sure what should it be, in this case. Maybe this is my biggest mistake in the code. Thanks in advance! - Rujia
BuildSkybox6OnTheFly.as
Description: Binary data
