I noticed that Away3D skybox6 maps differently areas of composed panoramas than other 3d packages.For instance when you generate skybox images with TerraSky it gives them different position labels than away3D. That means that you need to reassigned the images anew to the relevant sides of skybox.Also sometimes you need to rotate them when you compose the final bitmap texture.
On Sun, Jun 27, 2010 at 2:27 PM, Rujia Liu <[email protected]> wrote: > 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 > -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com http://blog.alladvanced.net http://www.meetup.com/GO3D-Games-Opensource-3D/ Tel:054-4962254 [email protected] [email protected]
