Re: advice needed - Graphics
This is a discussion on Re: advice needed - Graphics ; On May 23, 3:51 am, Bruno Babic <a...@b.c> wrote:
> I need to render chess board (with figures on it).
> What I need is advice how to do it as fast as possible?
>
> Worst case scenario is ...
-
Re: advice needed
On May 23, 3:51 am, Bruno Babic <a...@b.c> wrote:
> I need to render chess board (with figures on it).
> What I need is advice how to do it as fast as possible?
>
> Worst case scenario is that I render 64 quads, one after another.
> Each quad would have texture, depending on what is on that specific
> field (empty or with figure on it).
>
> Would lists be any faster than this?
Why not render one quad with a checkerboard texture overlaid on it?
The texture would only have to be a 2x2 grid (with some minimum number
of pixels, I imagine) that you could repeat across the quad.
- Chris
-
Re: advice needed
crjjrc wrote:
> Why not render one quad with a checkerboard texture overlaid on it?
> The texture would only have to be a 2x2 grid (with some minimum number
> of pixels, I imagine) that you could repeat across the quad.
That's also an idea, but I still have to render figures as well, but in
that case I render max 33 quads instead of 64 (32 quads for figures and
1 for the entire board), so it should already be faster.
Thanks for this idea.
--
bbabic(a)globalnet.hr
2b||!2b?
Similar Threads
-
By Application Development in forum Graphics
Replies: 0
Last Post: 05-23-2007, 08:16 AM
-
By Application Development in forum Graphics
Replies: 0
Last Post: 05-23-2007, 08:14 AM
-
By Application Development in forum Graphics
Replies: 0
Last Post: 05-23-2007, 07:51 AM
-
By Application Development in forum Graphics
Replies: 0
Last Post: 05-23-2007, 07:22 AM
-
By Application Development in forum Graphics
Replies: 0
Last Post: 05-23-2007, 07:18 AM