mmm ... the camera is at 300 fixed now ( i removed all the elevationreader.getLevel() code ) ... the strange is that this happens only at 0,0 ! i uploaded another view here :
http://www.e3beta.it/creativita/car_race_test2/ here i move the camera at a certain position , and all its solved ... On Mar 28, 4:02 pm, Fabrice3D <[email protected]> wrote: > > And i dont think the problem is the time of load > > no, I mean, your camera goes back all the time! > so if you code runs before all is loaded or user waits too long, the distance > to go to track grows. > > what happends if you set the cam y higher than 0? > > Fabrice > > On Mar 28, 2011, at 3:50 PM, mastrobardo wrote: > > > yes , i had a maxpoly filter passed to the renderer , thought it was > > the problem. > > And i dont think the problem is the time of load , cause all assets > > are embed.The fact that the skybox is rendered (i create it after the > > track) , make me think to some other problem. > > > On Mar 28, 3:39 pm, Fabrice3D <[email protected]> wrote: > >> what do you mean by "disabled maxpoly" ? > >> you mean you have set a maxPoly filter and passed it to renderer? > > >> also the fact that you need to move forward for a while might be linked to > >> your camera animation code > >> if you just press forward key, just after reload let go once you see the > >> track, you can see camera goes back. > >> So the longest it takes to load your swf while the code is active, the > >> longer it takes to get on the track... > > >> Fabrice > > >> On Mar 28, 2011, at 3:23 PM, mastrobardo wrote: > > >>> hi all , still experimenting for my car race game(tnx fabrice for the > >>> tips on the use of colormaps end Elevationreaders)... Im experiencing > >>> a strange behavior , hope somebody can give an hands : > > >>> My track is formed by 6 big square (1024 * 100 base width) , when the > >>> camera is at 0,0 , i can see the skybox , but not the 'ground'. Moving > >>> a little , the view start to render triangles correctly (in > >>> progression : i see nearest first , and continuing to move at a > >>> certain point i see all). > > >>> here you will find a little preview(its just a test!) : > >>>http://www.e3beta.it/creativita/car_race_test/ > > >>> it move only upward , lef and rright with arrows ... just go straight > >>> for a while , and see the appearing track. > > >>> i set forceupdate to true , disabled maxpoly , dont know what's the > >>> problem at this point. > > >>> And , last question , is there a way to exclude the skybox from the > >>> maxpoly filter ? 2 view? > > >>> Tnx in advance > >
