Jump to content
Eternal Lands Official Forums

JoshuaMckee

Members
  • Content count

    28
  • Joined

  • Last visited

Everything posted by JoshuaMckee

  1. problems with glsl

    Has anyone used glsl before? I have looked at tutorials and I'm to a point where I have the bump mapping code almost working, but there is one problem. I have this line at the beginning of the fragment shader, ... uniform sampler2D rock,rockNormal; I know that I am enabling both the rock and the rock normal textures correctly, but when I do the lookup into the rockNormal texture, (which is the texture rockNormal.rgb), its the same as the rock texture and it isn't the normal map texture. Is there something extra that I have to do to specify that I want the rock texture to be the first texture map and the rockNormal be the second texture map, and not have them both be the same one? In cg it would have looked something more like this uniform sampler2D rock : TEXUNIT0, // The whole rock texture map uniform sampler2D rockNormal : TEXUNIT1, // The whole normal map Does my question make sense? Josh
  2. problems with glsl

    ok that fixed that problem. Now I'm having some other terrible problem. I'm not sure whats wrong, it was like it was working one minute and then the next it wasn't and I didn't save a backup copy. I don't know if I'm going to be able to finish it. I'll keep trying though I guess.
  3. new map format

    Now that you say that, I hadn't really thought of the reflections. I would have to research how to do the lookup in the texture. Maybe on second thought I had better leave that to someone else. For the ocean it was just going to be a sin wave that gets bigger as you get further from shore to a fixed maximum wave height and then gets very small as it gets near the coast. For when they step in the water I was going to pass in an array that tells where, and when they stepped in the water, and then it would basically be a dampened sin wave from their feet outward. But I don't want to make it look like crap, so maybe I'd better not do it.
  4. new map format

    oh well I guess that stuff doesn't really matter. I'll make the bump mapping code and let you guys figure out what you want to do with it I guess. I have another question, ... do you guys want to have an ocean, because I think it would be pretty easy to make a vertex shader that would make waves, ... as long as players won't be able to swim in the ocean. Will players be able to swim in the ocean? Josh
  5. new map format

    Since I'm going to take over on bump mapping, I have a few questions. First of all I'm a little confused about what the height map is used for. Is it just to make the terrain look more bumpy and if so then how is this going to affect the collision detection? Is the plan (for terrain) to make the normal map based on the height map? Also is the height map a per tile thing, or is it per a per area thing? Has anyone made height or normal maps, and can I get a copy of them? JOsh
  6. Client Programming needed

    I have one other question. Where are you guys storing your fragment and vertex programs? I don't see any fragment or vertex programs in the directory/subdirectories of where I installed elc. I found one place in the code where it looks like they were using the fragment shader but it doesn't seem to be a valid directory. /home/daniel/Develop/el-cvs/elc/shader/normal_mapping_vs.gls I found this code in shader.c I guess what I mean to ask is will I have to blend my shader code with already existing shader code, or do we not as of yet use vertex/fragment shaders. Josh
  7. Client Programming needed

    We are using glsl right? Josh
  8. Client Programming needed

    I could do bump/normal mapping if no one has done that yet. Has anyone done normal mapping? Josh
  9. need something to do

    I've been sitting here trying to come up with an idea of something to do, but I just can't think of anything good. I'm just starting on the project so I need to do some stuff to help me learn the code. What did you guys do when you were first starting and do you have any ideas of tasks that I can do? Is it ok to post stuff like this? Thanks. Josh
  10. need something to do

    CVS is working now. its not letting me do a cvs update again. Is anyone else having a problem updating? The reason why this is a problem now, is that it won't let me log in to the test server because the version just got updated, ... either that or I totally screwed something up in the code. Josh
  11. Does that mean that I have to upgrade the code that will install the program then. That part of the code isn't part of the client is it? I'm going to start looking into how to get the rest of it done without the installation part for now. Josh
  12. most of it has, has been spoken for, or is up to the higher-ups. if you have WinNT/XP, then using %APPDATA%\elc for EL data like is used on *nix is something that you could do. shouldn't be too difficult, though it will take a bit of work Ok I'll do it, ... although I'm not exactly sure what you want me to do. Is it just making it so that it looks for the configuration file in %APPDATA%\elc? Is %APPDATA% an environment variable, because I don't see any environment variables named APPDATA in my version of windows xp. Josh
  13. has all the stuff at the beginning of this thread been done already, or is there something that I can do? Josh
  14. need something to do

    CVS is working now.
  15. need something to do

    permissions? quotas? /tmp a different partition without free space? It must have been permissions. I went into the folder properties and it said read only. But if it was read only, then I don't know why it would let get the code earlier. Josh
  16. need something to do

    it's messed up. though I dunno why or how to fix it. perhaps you didn't change that single line back correctly? that aint good. maybe you should free some disk space I have 157 free gigs of space on my hard drive so I don't know why it would say that.
  17. need something to do

    It will let me type in the user name and password, but it won't let me type in anything once I'm in the game on the test server. Is this the way it's supposed to be, or is my client really messed up? If my client is messed up, then does anyone know what I'm doing wrong? I have only changed one line of code, and right after I changed it I returned it to the way it was. Also today when I try to do a cvs update, it gives me this error, ... --- CVSROOT=:pserver:anonymous@cvs.elc.berlios.de:/cvsroot/elc cvs.exe update: Empty password used - try 'cvs login' with a real password ? Project1.dev ? Project1_private.h ? Project1_private.rc ? Project1_private.res error closing /tmp/cvs-serv17551/./CVS/Repository No space left on device Error, CVS operation failed --- I am supposed to do cvs updates every day or so right? Josh
  18. need something to do

    When I change over to the regular server it lets me type no problem. But when I go on the test server and start a new character all it lets me do is move the camera.
  19. need something to do

    I just got on the test server and I can't seem to move or type text. How can I check if stuff is working on the test server if I can't do anything on the test server?
  20. Make numeric scrollers editable

    I can try it. You just want all of the text stuff to be moved to the bottom of the screen, instead of the top of the screen, or do you want an option to move the text from the top of the screen to the bottom of the screen?
  21. need something to do

    ok I'll check that out. Maybe eventually I'll add some more particle effects, ... if we still need some. I was thinking that the first thing I would do is make it so that the text appears green, or a different color, if the message was written by that person. That seems pretty simple. Josh
  22. need something to do

    thanks for the advice
  23. Windows Compilation Guide

    with the new install guide it was really quite easy to install. Sorry I seem kind of flaky. Its just that I thought that I got a paying coding job in the game industry and it turned out to be text editing. But now I'm back and now that I got it compiling I hope to start working on stuff soon. Thanks for the installation guide.
  24. Windows Compilation Guide

    Thanks, ... now I'm on to the next step.
  25. Windows Compilation Guide

    If I remember it right, the VC2005 Express does not come with the Platform SDK (all includes for MS libraries). You need to download it separatelly from MS. Once installed, you also need to "install it" with VC2005. That is why you cannot find the 'afxwin.h' file. If you go to the download page (HERE), take a look at point "4. Install the platform SDK". Hope that helps! Yeah that helps, ... I have already done this before, but there were certain files namely the afx ones that I had to add to the include directory. They changed the directory from VC++ 6 to VC++ 8. Now I have 8 of the 12 projects compiling, but do I need them all to be compiling? c:\temp\cal3d-0.10.0\plugins\cal3d_milk_exporter\stdafx.h(45) : fatal error C1083: Cannot open include file: 'msPlugIn.h': No such file or directory that is one bug and cal3d_maya_exporter.cpp c:\temp\cal3d-0.10.0\plugins\cal3d_maya_exporter\mayainterface.h(15) : fatal error C1083: Cannot open include file: 'maya/MGlobal.h': No such file or directory MayaInterface.cpp that is another and c:\temp\cal3d-0.10.0\plugins\cal3d_max_exporter\stdafx.h(43) : fatal error C1083: Cannot open include file: 'max.h': No such file or directory that is another. I don't have the maya 3dstudiomax, etc exporter files. Do I need these? If so where can I get these? I downloaded cal3d_exporter_binaries, but that only has dll's not header files or lib files.
×