[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] Asko 2003-03-03/04
From: |
Tuomas Lukka |
Subject: |
Re: [Gzz] Asko 2003-03-03/04 |
Date: |
Wed, 5 Mar 2003 20:08:45 +0200 |
User-agent: |
Mutt/1.4i |
On Tue, Mar 04, 2003 at 06:47:04PM +0200, Asko Soukka wrote:
> 8h workdays
> - fixing some old gl demos
> - test and some work for culling
> - started ColoreSquareSectorVob,
> a square version of ball in ballstick
>
> Benja:
>
> Is there way to use java.awt.Graphics.clipRect in the render
> method of single vob? Currently (at least with Loom client) all the vobs
> seem to be rendered at once and only the last clipRect call is effective.
>
> I'm trying to draw rectangle, clip it and draw sectors with
> java.awt.Graphics.drawArc within it.
You have to push&pop it, using getClip &c.
> Tuomas:
>
> On GL side I'm trying to draw rectangle, clip it and draw sectors as
> polygons within it. How should I use a drawn rectangle as stencil?
Draw rectangle and clip it?? Sorry, I'm not following you.
Tuomas