PDA

View Full Version : number of textures to load


lucalatini
05-11-2005, 05:03 AM
Hi,

I use Vizard version 2.5 on a PC with NVidia Ge Force Quadro (64 Mb Video RAM). When I import a single wrl file of a little virtual city of 30 buildings (the wrl file is associated with 30 different textures 512 x 512) the motion of the viewpoint initially is not smooth (there are a lot of jumps). It is necessary to make a complete rotation to eliminate this problem. I think that here there is a problem in loading many textures at the same time during rotation. Must I reduce the number of textures to load or there is a way to load all textures from start ?

L

farshizzo
05-11-2005, 11:59 AM
Hi,

Vizard doesn't load textures to the video card until they become visible for the first time. This is the reason you need to do a complete rotation to load all the textures. Currently there is no method of forcing the texture to load at start time.

mspusch
05-12-2005, 05:50 PM
a trick to make sure all the textures are loaded is to initially place the viewpoint really far away from the scene for at least 1 frame, and then move it back to the original viewpoint.

when the viewpoint is far away and all the textures are 'in the field of view', they are all loaded.