User talk:Codehead/Journal

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

I can not stand how awesome all your screenshots look compared to my own sorry attempts. --Marijn 12:46, 28 Sep 2005 (EDT)

Agreed! It's looking amazingly slick, Codehead. Ryan Clark 14:05, 28 Sep 2005 (EDT)
Thanks guys! Codehead 02:53, 29 Sep 2005 (EDT)

The GUI is looking great, but I think you may want to double check the date of that last entry.
--sdw 06:57, 28 Sep 2005 (EDT)


Ooooh, nice screenshot Codehead! So reflecty :) Lucky wants more!

Ryan Clark 11:13, 5 Jan 2005 (EST)

Patience Lucky, these things take time :o) The next area for dev is pathfinding so there won't be much eye candy there. However, the 'visible results NOW' side of my brain is telling me to work on billboard objects so we'll see what happens.
Codehead 12:52, 5 Jan 2005 (EST)



Hint: If you use int main() instead of winmain, you can compile the same thing on unix systems. Well, actually I only know that that works with gcc/mingw/cygwin compilers, haven't tried with msvc, but I suspect it works there too if you set the right project settings.

Oh, I just saw you were using MessageBox, so actually it would not compile on Unix...

--Marijn

My cross platformness is in it's infancy, I've done no development on *nix, but the simplicity of GLFW is encouraging.
I did wonder about using a win32 console project as the starting point for GLFW and if it would cope with spawning a window from a none GUI type app. I'll try it tonight.
Codehead 05:49, 30 Nov 2004 (EST)

Not sure how to get rid of the dos box, but that should be possible. --Marijn




Just so you know, all I had to do to get it (the one from 30/11/04) running on Linux was fix some headers:

3c3,4
< #include <gl\glfw.h>
---
> #include <GL/glfw.h>
> #include <GL/gl.h>

And then compile with

g++ -g glfw.cpp -o g -L/usr/X11R6/lib -lXxf86vm -lGL -lglfw

For some reason the program crashes (cleanly) unless I run it through gdb. Not sure if it's glfw's fault or X's fault, as the error makes the sense to me:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  42 (X_SetInputFocus)
  Serial number of failed request:  32
  Current serial number in output stream:  35

  - sik0fewl 14:03, 30 Nov 2004 (EST)

 
Thanks for that Sik0fewl, I was going to install Mandrake on my spare box tonight so that I could start messing with GL on linux, but I left the disks at work. I'm currently downloading DamnSmallLinux to see if I can make do with that till tomorrow. Codehead 15:36, 30 Nov 2004 (EST)

dos box

I think it's a compiler setting to switch the dos box on/off. Which compiler are you using?
--Sdw 15:26, 30 Nov 2004 (EST)

 
I run VC++ 6.0(sp5) and .NET at home. The DOS box isn't a major issue, using Winmain() on Windows builds gets rid of it. Codehead 15:36, 30 Nov 2004 (EST)

Codehead, that is looking frikkin awsome man! Wow! - IGTHORN

What's Awesome? AMBER? The missle system? or just ME in general :) Codehead 14:21, 20 May 2005 (EDT)


It's great that you solved the MD2 problems you were having! Sounds like it took a bit of digging around... you can be sure there are a couple of other people out there beating their heads against the same problem! Ryan Clark 10:53, 17 Jun 2005 (EDT)


I like the stuff you're doing. And I've had quite some problems with the MD2/ms3d code too. I got some milkshape loading code on my site if you're interested (using vertex shaders for some decent speed). I think that MD3 is interesting, but also a lot tougher to model (depending on your artist or yourself, ofcourse). Right now I'm only supporting MS3D. The thing that I value more right now is a good LOD system, which I can't figure out. The Mech doesn't look like having that much poly's, but it increases rapidly.. so distant Mechs need to get less triangles to speed up the game :).

And someday, I will figure reflective water out too! :P --Almar Joling 05:35, 2 Jul 2005 (EDT)


Still looks like a neat project!

--Almar Joling 11:17, 29 April 2006 (EDT)