fenfire-dev
[Top][All Lists]
Advanced

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

Re: [Fenfire-dev] Yet another libvob API: LWJGL


From: Benja Fallenstein
Subject: Re: [Fenfire-dev] Yet another libvob API: LWJGL
Date: Fri, 13 Jan 2006 09:55:56 +0200

On 1/13/06, Tuukka Hastrup <address@hidden> wrote:
> So what's this difference between the possibilities of Tuomas's design and
> Java binding libraries?

Tuomas' design does the animation in C++ code. So the Java code passes
the vobscene to the C++ side through JNI, as well as the interpolation
list, but this is only once for every animation *sequence*; then it
only says, 'render this frame,' and the C++ code does all the
interpolation with the appropriate GL calls.

> I would say in blind that we build a string or an
> array of calls to make and send them as a parameter in one JNI call.

That's not what we currently do. I have no idea whether that's what
the bindings libraries do :-)

I also don't know whether string interpretation on the C side would be
fast enough. (Parsing in general is slow, I understand.) Yes, we've
used strings before, but my understanding is that we passed them
through one time when a vob class was initialized, interpreted them
this one time, and then used a more efficient representation for
actual rendering (call list, I s'pose).

Perhaps Matti can chime in with details?

- Benja




reply via email to

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