|
From: James W. W. <os...@jw...> - 2004-11-14 18:44:35
|
On Nov 14, 2004, at 6:53 AM, Dair Grant wrote: > James W. Walker wrote: > >> I don't see anything in the QD3D manual saying that you can't attach >> one renderer to multiple views, although I don't think I've ever seen >> sample code that did that. Also, the Quesa implementation of the >> interactive renderer seems to assume that it is being used for one >> view >> (and hence one draw context), since its instance data contains some >> OpenGL state. Is it safe to assume that a renderer will be used by at >> most one view? > > Yep - the QD3D model is really that rendering happens "to a view", > where > that view has a single camera (where to draw from), draw context (where > to draw to), and renderer (what to draw with). > > Is there a situation you're thinking of where you would like to have > multiple renderers attached at once? (executing in series I could see, > in parallel I'm not sure how it would work) I wasn't asking about multiple renderers on one view, but rather multiple views on one renderer. I don't actually want to do that. I've been thinking about possible solutions to bug 902975, "Use shared texture namespace". If I could assume that there is a one to one correspondence between views and renderer, it would make the problem a little simpler. -- <http://www.jwwalker.com/> |