|
|
There might be need for optimizing the number of objects created since they
take quite a lot of memory (just think about the gigantic heightfields used
in most scenes...).
Could it be possible to use, for example, a higher order polynomial to
make a patch that covers 9 points (instead of 4)? The number of objects
would then reduce to 1/4, I think.
You could go even further and make each patch to cover 16 points. In this
case a polynomial object is not enough (I think it would need an order higher
than 7, which is the max for polys), but you could do it with isosurfaces
(and isosurfaces render a bit faster than polys anyways).
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|