Path: chuka.playstation.co.uk!news From: Robert_Swan@scee.net (Robert) Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: LOD - Suggestions Please Date: Wed, 16 Feb 2000 14:23:40 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 46 Message-ID: <38aab250.17141309@www.netyaroze-europe.com> References: <8841td$fhf2@chuka.playstation.co.uk> Reply-To: Robert_Swan@scee.net NNTP-Posting-Host: mailgate.scee.sony.co.uk X-Newsreader: Forte Free Agent 1.11/32.235 On Sat, 12 Feb 2000 16:30:44 -0000, "Matthew Hardingham" wrote: >Hola, > Right here we go, at the moment I have a LOD terrain program. >This works by calculating where the camera is and what is within the cameras >FOV or frustum. >Whatever is in this FOV is processed onto a display list (just a l-list of >polygons). >This list is then used to generate an on the fly TMD model, which is then >linked into the system etc.. >The problems is, is that this occurs each frame (ie the model is getting >linked into the system each frame), this seems to be really slooooowww. > >The suggestions are needed for the linking section, can anyone think of a >quicker/better way then linking the model at each frame. >I thought of some sort of morphing but I don't think I'll have time to >implement it. > >Help and regards >Matt > > You could make some limitations on the system to speed up the tmd manipulation. As Mario states - don't recreate the entire TMD. You know the structure of the TMD and supposing you make all your primitives of the same type then you can speedily step through using pointer arithmatic to modify uvs etc etc. other things you could do to speed it up would be - make each primitive have the same texture (no need to update the texture coords) or use different textures that are located in, say, the top left of of various tpages and are the same size. This way you only need to update the tpage of the texture on the primitive which is one write, as opposed to updating all the uvs. etc, etc :) Cheers Rob Disclaimer: Anything I say has no direct relation to where I work (Sony), is not an official voice of where I work (Sony) and Sony doesn't even exist as far as I'm concerned.