Quote:
http://i.imgur.com/gW54Y.png |
|
Quote:
|
I think i read somewhere the earlier drivers with the 10.7 update didn't support HD3000 very well or something. Perhaps it has something to do with that? Don't know really but in theory you should have GL3.2 support (which is roughly DX10 level capabilities).
|
Found you on Reddit ;) http://www.reddit.com/r/everquest/co...r_my_original/
|
Quote:
Transparency: http://s13.postimage.org/5b4izmqgl/S...4_10_17_PM.png |
That link is hilarious.
One guy been working a year on some screenshots and thinks being able to fly around will be awesome(maybe eqemu should support that? o wait) Everybody else thinking that just because you can support new features, that it won't take a skilled artist to produce the things in their heads. Nothing against you Pixel, the engine is definitely an awesome project. |
It would probably be more valuable to make a client that can authenticate and enter a world first. From there you can just use placeholders as you develop your modelling pipeline. At that point you have the real beginnings of a functional client instead of a model viewer.
The work on the various file formats is excellent, but considering that eqemu is probably the most successful open source MMO, a client that doesn't have a bunch of non-free attachment or lawsuit risk would be incredible. Asset creation is daunting but at the point you have a cube running around inside a box and can see and interact with other cubes, community involvement would probably take over. You could even borrow quite a bit from a place like opengameart.org. Asset creation is hard, but it's a process, and if I can model and rig a character in blender, anyone can. |
Quote:
Take a look at all of these open source engine recreations: http://en.wikipedia.org/wiki/Game_engine_recreation I doubt very many of them have run into legal trouble. That being said, I am really not that far away from the transition between zone viewer to client. I realize how much work will need to get done for it to be a full blown client but it is still a goal will work towards. I can't wait for the day when I can stop working on the graphics side and focus on the actual client game programming. My posting the link to reddit wasn't the greatest idea (especially on my actual account) but I was proud of what I had and wanted to share. I think people there are hopeful for what this project can really be, as am I. Regardless, I want my contribution to this community to be an open source client that people can use for whatever they want. Cheers |
You've got plenty to be proud of, the engine is good work. It's not precisely open source at this point, but that's your call.
We have no way of knowing whether or not SOE will pull a page from Blizzard's playbook, but that's not the point. Eqemu is a server framework that can be devoid of non-free content but it's bound to a non-free, evolving client. Windcatcher's client was in delphi and never worked without a custom login server as far as I know, so it's a pretty poor example. I just hate to see a promising project consumed by the hassles of backward compatibility with a client that already does a pretty good job of representing the nostalgia of classic EverQuest. |
Cannot wait for the open source linux client!
|
Quote:
I understand the concerns of backwards compatibility but here's my thoughts: - I want this project to be compatible with old hardware. - I want to have this client run as fast as possible. - I want this client to run on all platforms (including Android and iOS) and most importantly, - I want this project to teach me about graphics and game programming. That's about it. I do appreciate the feedback and criticisms. Cheers |
First poster here, also working on re-creating a EQ client using OpenGL. Seems to be a popular pastime here :)
PixelEngineer, are you using backface culling? I have tried to turn it on but this removes a lot of faces that should be visible: http://i.imgur.com/OXNLa.jpg When backface culling is disabled: http://i.imgur.com/FkXpd.jpg Looks like the normals and winding order of many faces are wrong in the s3d files. Or maybe there's some flag to invert them that I overlooked? In Blender, the normals of the Pedestal are pointing down instead of up: http://i.imgur.com/b42rw.jpg I could just leave it disabled but this sometimes causes z-fighting (look at the water in the second image). |
If you know the order of the vertices you can just calculate your own normals (hint: you do!) which is what we do in azone for .map files.
|
I know how to calculate face normals, but I think the order of the vertices in the file is wrong. Half of the faces use clockwise order (first picture) while the other half use anti-clockwise order (second picture).
The reason I mentioned the normals is that, if all the normals were pointing in the right direction I could detect which faces have the wrong order and change it. Unfortunately it seems faces specified clockwise have wrong normals and vice versa. http://i.imgur.com/Joy3H.jpg http://i.imgur.com/JtH69.jpg |
My bad, I was looking at the faces from the wrong direction. Looks like they are all specified in clockwise order. Asking OpenGL to cull front faces did the trick. D'oh!
|
The zones were originally written for rendering with DirectX and it differs from OpenGL on the direction of the Z axis. Scaling your model view projection matrix by -1 in the Z direction. Then you need to make the front face wind clockwise and cull the back face. That should do it.
Are you using Blender for viewing the models or are you using it as your graphics engine? The more projects the merrier. If you are interested in helping, I will hustle and get this github. Regardless, the more information that is out there, the better. Cheers |
I was flipping Z before but not setting the winding order so that's why I was surprised when half of the scene disappeared when I tried to turn on face culling! It seems to work fine now.
I started this project by writing a Python script to load WLD data like zones, zone objects, characters, skeletons etc and import it to Blender as a kind of prototype. When this worked well enough I rewrote the code in C++ and used OpenGL. But I kept the scripts around which can be handy for debugging sometimes. The more the merrier, I agree! I will upload this code to GitHub too so we can share the code and information. There are some features you mentioned I haven't got around to do yet (properly supporting transparency, animated textures, minor things like sky box...). How is your work on animations/skeletons going? I am currently trying out different ideas for implementing lighting, it's not as straightforward as I thought it would be. |
This is getting better and better! Yaay! Can not wait till I can drop windows and run just linux and still be able to play EQEMU natively :)
|
Quote:
For transparency, you really need to use the BSP tree while rendering. I assume you could get away without it but it would be much more work. I render every visible surface that is in the PVS and frustum recursively going front to back to prevent overdraw. Every time I come across a batch of polygons that are transparent, I add the offset and information to my "transparency stack". I chose the stack because you need to render back to front with transparency and a stack is an ideal data structure given the order of entry while rendering front to back. For animated textures, make sure you have created a texture data structure that supports numerous bitmaps. One of the unknowns in the 0x04 fragments is the millisecond delay between texture switching. Keep track of the time and if it goes over the amount in the delay, switch index of the bitmap you will use for that texture. The skybox was a bit more tricky. Just picture someone walking around with a dome around their head. Clear the depth buffer and render as usual. I can elaborate on this if needed. As for lighting, I have implemented just the zone lighting that was in the original zones. Instead of dynamic lighting or lightmaps like Quake 3, they simply shaded the polygons with the color of nearby lightsources at each vertex. They essentially "faked" the lighting. I will work towards getting my code on github this week as well. Probably getting static player/NPC models loaded would be a good place for me to take a small break. Let me know if you have any other questions in the meantime. Cheers! |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
Quote:
Quote:
In terms of rendering transparency back to front, as I mentioned, I use a stack. It holds the offset in my VBO as well as the number of polygons. Because a stack is a last in first out data structure when I render front to back the polygon batches that go in come out last. Here is some tree traversal code demonstrating what happens: Code:
Quote:
The first thing you should render is the skydome. Then, clear the depth buffer. Because the skydome is inches away from the camera if you didn't clear the depth buffer, none of the zone would render because it's all further away than the skydome actually is. After clearing the depth buffer, render as you usually do. It will give the illusions that behind everything rendered is a vast sky. Quote:
After I have everything rendering, I will move on to per pixel lighting. You are correct that per pixel lighting with the provided surface normals will not look good at all. You really need to be utilizing normal maps for any surface that is rendered with phong shading. |
Quote:
Quote:
Quote:
Quote:
|
Hey guys. I was able to get VS2010 and AnkhSVN working and was able to even get the code compiled and running. It's a pretty big thrill when you're able to open gfay and have a look around in a completely separate client, compiled on your own machine.
Is there still being work done on this? PE - I sent you a PM and an email but haven't heard from you yet. Also - I'm not very familiar with building/branching public SVN projects but I'm reading a book that highly recommends organizing any game development code into several folders: Docs, Media, Source, Obj, Bin, Test. Any thoughts on doing this early in the process (before the client gets more elaborate than it is now)? Nice work though - I'm really excited to have this resource. Also, huge kudos for commenting and organizing your code such that someone can jump into it and understand, basically, what's going on! I have little/no experience with C++ or graphics in C but you've put together a project that makes sense to me - VERY Exciting! |
So I've spent more time tinkering with the Assembla repo and VS settings and realized that I can do all of the custom folder structure stuff on my local computer by myself - Silly me! Apologies - I've never used VS before so still getting used to all of it.
I also took the time tonight to read through some of the earlier posts in depth (rather than skimming through). Any word on when you'd feel comfortable releasing the code on github? I figure the assembla code would be good to get a leg up on what's going on but would it be worth working on this code at all? |
I am still working on this client, albeit slowly. I have something super interesting I am working on. Still classic but will definitely change the way EverQuest is viewed. I will let everyone know when I am done.
Thanks for the interest in developing. I know there is another developer around working on some things as well. It's pretty cool as he's pretty much got animations figured out and I was able to help with other stuff I had already finished. I will update soon. |
Friggen TEASE !!
|
No kidding ;) Looking forward to seeing the progress!
|
Un-sticking this for now as it includes more closed source development than current open source development. Which is fine but not deserving of a sticky post in a FOSS development forum any longer.
|
|
|
Awesome Tyen! What's your next steps?
|
Quote:
so in theory, i could convert fbx to collada. import to blender. add more animations and then export back to fbx. i dont know what to do after that for EQ. |
well good luck. i am going back to opensim.
|
i was going to write about 3rd party sl client and opensim and EQEmu but i am not ready. right now, i can do everything i need in unity and a fake server. then i can transfer in a 3rd party sl client in c++.
|
All times are GMT -4. The time now is 07:14 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.