palito-dev
[Top][All Lists]
Advanced

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

Re: [palito-dev] Re: New renderer


From: zed
Subject: Re: [palito-dev] Re: New renderer
Date: Mon, 07 Jul 2003 01:50:16 -0200

> Hello again,
> 
> On Fri, Jul 04, 2003 at 07:44:45AM +0100, I wrote:
> >   You're just in time to take a look at the first version of the
> > (very very simple) renderer I'm knocking togeher for use with Palito.
> 
> (in case it wasn't clear what I meant, it is meant for rendering
> images of heightmaps for maps)
>  ...

..interesting. a first step for procedural maps.

> 
> >   There's quite a few issues with it, some of these are explained in
> > the README, and there's various things I've not done yet. I'm making
> > this release to see what people think so far (plus, if people think I'm
> > doing an OK job of it, other people don't have to waste time trying to
> > make a renderer as well).
> 
>  Even though I've not heard any comments on it yet, I've done some
> more work and have now uploaded a new version, now with user-definable
> procedural textures (which work :)
> 

good, you are going through an interesting path..
.. even if this code cant be used in realtime, 
it can generate the images on the begining of the game.

>  (other details of the renderer are in my previous email)
> 
>  I'm not going to do any more on it for the moment, as I also have
> other things to do, and if nobody's seen it, then I don't know if
> it is a waste of time or not. I'm *not* trying to hurry people into
> taking a look at it if they're busy, but if anybody does have a look,
> could they give me any comments?
> 
>  Not just about the quality of the renderer, but also whether one should
> even be worked on.
> 

i think that it would be nice to have some simple shadows worked on.. 

you know, it can be very simple.. you use an accumulator for the actual height
of the shadow.. while it is higher than the field height there is shadow,
and the accumulator is reduced by a factor that should represent the slope 
of the light source; when the field is higher, the is no shadow, and the
acumulator is set to the height of the field.

it can be blended with the normal shading, making the field even darker
on the most accentuated slope behind a hill.

maybe it all can be set through parameters (ambient light, diffuse shading, 
weight of the shadow blending, etc...)

--------

btw, i think that the Lua dependence is not a good thing, maybe you can use
palito's flush-code to implement your parameters..

i tried lua-5.0 and it didnt worked, then lua-4.0.1 and also failed to compile.
even making symlinks to liblua40 and liblualib40





reply via email to

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