www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: aZen on January 27, 2014, 10:23:46 pm

Title: Rendering Quality
Post by: aZen on January 27, 2014, 10:23:46 pm
Is there a way to create a frame buffer that allows for rendering with different sampling modes (quality)? Or do I have to create two instances (seems like it's redundant, memory wise)?

I would like to be able to render with low quality when frame rate is important and with high quality when quality is. Would that be possible to implement it?
Title: Re: Rendering Quality
Post by: EgonOlsen on January 27, 2014, 11:10:57 pm
Using which renderer...?
Title: Re: Rendering Quality
Post by: aZen on January 27, 2014, 11:37:20 pm
software, sorry I forgot to mention that
Title: Re: Rendering Quality
Post by: EgonOlsen on January 27, 2014, 11:43:07 pm
You have to create two instances then. The FrameBuffer contains not only the pixels but some additional data structures for hidden surface removal and such and these depend on the resolution too.
Title: Re: Rendering Quality
Post by: aZen on January 27, 2014, 11:46:02 pm
Ok, thanks for the quick reply!