Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Re: [Re: [Re: [OpenGL client (was Re: Re: Project)] (fwd)]
Home

[Freeciv-Dev] Re: [Re: [Re: [OpenGL client (was Re: Re: Project)] (fwd)]

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [Re: [Re: [OpenGL client (was Re: Re: Project)] (fwd)]]
From: * <spurius@xxxxxxxxxxxx>
Date: 2 Feb 00 14:56:33 America/Fort_Wayne

* <spurius@xxxxxxxxxxxx> wrote:
> Franck Guillaud <f.guillaud@xxxxxxx> wrote:
> > 
> > 
> >     Sorry about the delay Rob. Concerning the project, I think that
> > your motivation is higher than mine, because of your grade :). I just
> > do it in my spare time for the pleasure of teaching unix programming.
> > 
> >     So, don't wait for me and go ahead ! I could always join later,
> > help with patchs ans so on. We'll see...
> > 
> >     Annyway, an IRC meeting could be cool. I've seen many problems to
> > solve when thinking about the OGL client, so maybe this can help you.
> > Some issues are : terrain modelling, terrain & tile  rendering, building
> > tile texture according to neighbors tiles... My time zone is Paris ie GMT
> > time +1. 
> > 
> >         Do you have an exact subject fo your course project ? How much
> > time do you have ? What expects your teacher ?
> > 
> >     Consider that if you choose glut, you'll have to rewrite all the
> > client-side code, including network code. You can take it from the
> > existing code, but you could also go with the existing gtk code, just
> > adding a gl area widget to do opengl drawing. You'll also benefit easily
> > from the autoconf stuff.
> > 
> >        I attached a screenshot of my actual work.
> > 
> >                                  Franck.
> > 
> > 
> > On 1 Feb 2000, * wrote:
> > 
> > ->
> > ->Havent heard from you in response to my last message... lemme know if
> you're
> > ->still out there and want to work with us on the project  :)  We met
last
> > ->sunday and have started working on it.  We'll keep you posted  :)
> > ->
> > -> - Rob
> > ->
> > ->Franck Guillaud <f.guillaud@xxxxxxx> wrote:
> > ->> 
> > ->>                Hello World,
> > ->> 
> > ->> On Tue, 25 Jan 2000, Jules Bean wrote:
> > ->> ->Hi Rob!
> > ->> ->
> > ->> ->Exciting ideas!
> > ->> ->
> > ->> ->> > I, and (potentially) 4 others, plan to be making an opengl
> interface
> > ->for 
> > ->> ->> > freeciv as a final project for a graphics course at Rose-Hulman
> > ->> ->> > Institute of Technology (Terre Haute, Indiana).
> > ->> ->
> > ->> ->Someone else was working on an opengl interface once - they posted
> here a
> > ->> ->couple of months ago. Maybe they'll speak up again, or maybe they
can
> be
> > ->> ->found in the archives.
> > ->> 
> > ->>         It's me. I wanted to post a screenshot on a web site, but my 
> > ISP ftp
> > ->> server don't accept my files !? Sorry about that. I can send a 19K
jpeg
> > ->here
> > ->> or to anyone asking for.
> > ->> 
> > ->>         What you'll see is only the geometry data, with different 
> > colors for
> > ->> each tile type. The map is an array of heightfields. Each "smoothed"
> tile
> > ->> (mountains, hills and their neighbors, rivers, and also beachs) 
> > ->> has heightfield data. Other tiles are 'flat' and drawn as simple
quads.
> > ->> 
> > ->>         Actually, the code is a patch to the 1.9.0 gkt client and uses
> the
> > ->gtk
> > ->> GLArea widget. It works on my P133 and a voodoo2 card, GNU/Linux OS.
> > ->Another
> > ->> option would be to use the SDL libs (because work on BeOS,
> > ->Win32,Unix,Mac...). 
> > ->> The patch doesn't alter the server, but it only works with an
existing
> game
> > ->: 
> > ->> you need to create a game, save it and load it with the client.
> > ->> 
> > ->>         Autoconf stuff is done, also basic terrain generation and 
> > texture
> > ->> loading with Imlib. My plans are first to make this code clean and
> > ->efficient.
> > ->>  I then plan to add script and/or plugins capabilities to allow
themes.
> > ->After 
> > ->> that, I need to handle textures & textures masks rendering, with also

> > ->> plugins and/or script. I think it will be complex, but the existing
code
> 
> > ->> will help.
> > ->> 
> > ->>         To handle units & cities, I think a good 3D object loader (.3DS,
> > ->> .lwo,...) is needed. If it is efficient, it would handle most of the
> work.
> > ->> 
> > ->>         I must say that this work is my first attempt to be involved in 
> > a
> > ->> free software project. So I spend must of my time learning how to
> program
> > ->> and use GNU tools under Linux. But I enjoy a lot. I do it on my spare
> time,
> > ->> and urgency is low.
> > ->> 
> > ->>         What are your plans Rob ? Maybe we could merge our efforts. My
> > ->> code is actually too bad to be shared but I hope it will change,
sooner
> 
> > ->> or later ;-).
> > ->> 
> > ->> 
> > ->> 
> > ->> 
> > ->>                                         Franck.
> > ->
> > ->
> > ->____________________________________________________________________
> > ->Get your own FREE, personal Netscape WebMail account today at
> http://webmail.netscape.com.
> > ->
> > 
> > 
> 
> > --------------------------------------------- 
> >     Attachment: civ3d.jpg 
> >     MIME Type: IMAGE/JPEG 
> > --------------------------------------------- 
> 
> 
> Ok, I've finished getting the 3d object loader working, and as a sample made
a
> company of penguins march (well, ok, slide) across a flat surface (am
thinking
> about, as a diversion, modifying the openGL xmms visualization program to
have
> jumping penguins instead of bars, it would only take a minute  ;)  ).  I've
> also gotten the basics of a fractal terrain generator down.  Instead of
having
> the server generate a terrain and then try to match what it says in 3d,
we're
> going to have a server which works completely normally except that it
> generates a fractal, 3d terrain.  (and of course, saves it, and provies
> conversion functions, aka detects what is a mountain, what is a hill, etc)
> (but apart from that, is the same).  I have been bothered by 1 thing so far
in
> openGL, and that is, so far I have been unable to get normalization to work
> apart from specificly entering the normals for each face myself.  If you
could
> show me a short sample of code that will work with normals (and what I need
to
> link it with) it would be extremely helpful  :)
> 
> Oh, and I understand perfectly how the urgency on the project is low for you

> :)  Just your experience with the project, though, will be extremely
helpful
> even if you don't write any code.
> 
> The group has 3 more weeks, but they seem to be working pretty hard on it 
:) 
> we have 4 group members, and I have some friends who offered to help.  The
> biggest problems right now, at least for me, seem to be the shading and
> performance (more later)
> 
> BTW - nice screenshot  :)
> 
>  - Rob
> 
> ____________________________________________________________________
> Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: [Re: [Re: [OpenGL client (was Re: Re: Project)] (fwd)]], * <=