Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Partial drawing of model  (Read 347 times)
0 Members and 1 Guest are viewing this topic.
Offline stiva

JGO n00b
*

Posts: 9


Java games rock!


« on: 2005-06-08 07:17:41 »

I am developing a 2d editor. In some cases, is necessary render specific regions of the model, instead of render it all.  This is possible?
Offline pepijnve

Sr. Member
**

Posts: 379
Medals: 1


Java games rock!


« Reply #1 on: 2005-06-08 08:00:19 »

I guess what you want is view frustum culling. You can find a nice explanation of this technique at flipcode. The view frustum culling can of course be generalized to cull objects that lie within any region, not just the view frustum.
Alternatively you can specify the region you wish to render using additional clipping planes. Check the red book section on "Additional Clipping Planes" for this.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.058 seconds with 21 queries.