Text archives Help
- From: James Bigler <bigler@cs.utah.edu>
- To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
- Subject: [MANTA] Stereo fragments
- Date: Wed, 06 Jul 2005 15:26:17 -0600
Is there any reason why I shouldn't interleave stereo fragments:
Fragment frag();
for(random pixel location: p) {
p = nextRandomPixel();
frag.addElement(p.x, p.y, 0);
if (stereo)
frag.addElement(p.x, p.y, 1);
}
Or should I do something like this:
Fragment frag_r();
Fragment frag_l();
frag_r.setFlags(Fragment::ConstantEye);
frag_l.setFlags(Fragment::ConstantEye);
for(random pixel location: p) {
p = nextRandomPixel();
frag_r.addElement(p.x, p.y, 0);
if (stereo)
frag_l.addElement(p.x, p.y, 1);
}
----------------------------------------------------------
I don't believe we should be using stereo for a random sampling of
pixels, anyway. Is there a way to force stereo off?
Thanks,
James
- [MANTA] Stereo fragments, James Bigler, 07/06/2005
Archive powered by MHonArc 2.6.16.