I’m looking for a feature similar to the LOD which already exists but with a slight difference.. but I can’t seem to find the desired feature and if it doesn’t exists then I would like to make a little request..

 

The LOD enables you to change the object used to render an object depending on the distance from the observer.

 

I would like a feature that allows one to change the shape depending on what size the canvas/viewing frame is.

The reason is for speed / quality issues. If I render 500 spheres with quality set to 10 in the constructor.. it moves well / smoothly / responsive / high frame rate, when using an orbitbehavior unlike spheres with a quality of 30.

 

However if the user enlarges the Frame containing the canvas to full size, say 800x600 the quality of rendering is noticeable at 10 but not at 30 for sphere.  But a settingo of 30 is wasteful / slow  for a canvas/viewing JFrame of say 100x100 pixels

 

Is there such a function like the LOD but for canvas size?

 

Regards

Spencer Goh

 

~~~~~~~~~~~~~~~~~~~~~~~~
Postgraduate
Computer Science
University of Birmingham
07747 600 436
www.spencergoh.com

[EMAIL PROTECTED]

 

 

 

Reply via email to