[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fenfire-dev] The Fenfire demo

From: Matti Katila
Subject: Re: [Fenfire-dev] The Fenfire demo
Date: Fri, 18 Feb 2005 12:34:42 +0200 (EET)

On Wed, 16 Feb 2005, Benja Fallenstein wrote:

> On Mon, 14 Feb 2005 23:46:35 +0200 (EET), Matti Katila
> <address@hidden> wrote:
> I have only one right now: Get rid of all the w/h stuff in the vob
> system...

I was to propose it but then canceled the mail since layout objects have a 
heavy use of it. 

See VobScene documentation:

 For example,
        // create a new coordinate system, at (100,100), scaled
        // by 100 in x-direction and 50 in y-direction. 
        // In this coordinate system, the point (0,0) is mapped to (100,100) on 
        // and the point (1,1) is mapped to (200,50) because screen is the 0 
coordinate system. 
        int cs = vs.coords.ortho(0, 0, 100, 100, 100, 50);

Should the root/screen be 1,1 or 1024x860 as it's now?

I don't see the point in translating 100,100 in the example or does 
the scale 1,1  tell about one pixel in screen?

It would be best if the system works fine with every resolution and not 
with one it has been trimmed to.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]