Go Back   EQEmulator Home > EQEmulator Forums > Archives > OpenEQ > OpenEQ::Development

OpenEQ::Development Development discussion for OpenEQ. Do not post for support.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2004, 10:47 PM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

Hmm... it looks like you're adding about 8 nulls in between the children count and size of the tex- atoms. Either that or it's far too early and I'm reading it wrong :P
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #2  
Old 10-04-2004, 12:24 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

I have a couple more questions about your format?
Where is the actual texture data stored?
How can you tell how many atoms there are at the top level? Is the whole thing wrapped up in a single atom?
Reply With Quote
  #3  
Old 10-04-2004, 05:02 AM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

I think the textures themselves should be in separate files...right now I'm exporting the tex- atoms with the filename after the key "filename".

By the way, all of the textures for my zones are available at:

http://sourceforge.net/project/showf...ckage_id=34673

under "OpenZone Textures 1.4".

Edit: I made a change and re-uploaded the Veldona export (and got rid of the others)...let me know how it works out.
Reply With Quote
  #4  
Old 10-04-2004, 05:37 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

Is there a chance I could get a copy of a converted zone to have a play with?
Reply With Quote
  #5  
Old 10-04-2004, 05:58 AM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

We really need a public place to host these once they're ready for people to use. I don't have a problem posting them anywhere, if there's a place for them. Of course until daeken_bb gets back to us I don't even know I'm exporting it correctly. In the meantime I'm closing memory holes in OpenZone (I found out that it leaks like a sieve).
Reply With Quote
  #6  
Old 10-04-2004, 07:53 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

Well, just loaded (but not rendered) Veldona... looks good

I'll post code when I can.

Btw, you can download veldona from me at http://home.archshadow.com/~daeken/veldona.xwf.bz2
Please mirror it if you can, as that's on my home connection :P
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #7  
Old 10-04-2004, 08:02 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

Thanks,
I've grabbed a copy and put it up at
http://eqengine.fx2100.com/veldona.xwf.bz2
Reply With Quote
  #8  
Old 10-04-2004, 08:20 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

Great, thank you

Btw, I created a dump of the atoms in veldona.xwf. It's available at http://home.archshadow.com/~daeken/veldona.txt
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #9  
Old 10-04-2004, 11:24 AM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

I just uploaded my other three outdoor zones as XWF files...
Reply With Quote
  #10  
Old 10-05-2004, 07:55 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

I noticed that the length field of the wld chunk right at the start doesn't seem to be set.

I'm writing a loader for this to try it out.
For me it would be easier to load (certainly for me, and I suspect for anyone) if instead of having the polygons in the octree there was a simple list of all the polygons and then the octree contained the index number of the polygon instead polygon data itself.
Reply With Quote
  #11  
Old 10-05-2004, 08:00 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

Quote:
Originally Posted by jbb
I noticed that the length field of the wld chunk right at the start doesn't seem to be set.

I'm writing a loader for this to try it out.
For me it would be easier to load (certainly for me, and I suspect for anyone) if instead of having the polygons in the octree there was a simple list of all the polygons and then the octree contained the index number of the polygon instead polygon data itself.
Hmm, I was considering this, but it'd take up more ram, and it'd be a bit slower because it'd have to dereference from the polygons each time it has to draw one. I'd personally rather keep it the way it is, but if others share your views, I'm willing to change it
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #12  
Old 10-05-2004, 08:57 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

Well, I need to create vertex buffers during loading for each material and octree node so one extra indirection during loading isn't going to be a big problem. And in fact it's probably going to be faster to sort the indicies in the octree by material than it is to sort the actual polygons objects.

I realise that in opengl you don't actually need to create vertex buffers, you can just call glvertex for each point, but you're going to want to at some point

EDIT: But it probably doesn't matter, it's easy enough to load the polygons into an array if I want them that way.
Reply With Quote
  #13  
Old 10-05-2004, 10:07 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

Is the sample data I've got the double values aren't byte reversed. If you are going to have the ints in big enidan format then presumably the doubles should be too...?
Reply With Quote
  #14  
Old 10-05-2004, 10:50 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

Quote:
Originally Posted by jbb
Is the sample data I've got the double values aren't byte reversed. If you are going to have the ints in big enidan format then presumably the doubles should be too...?
I'm not sure, actually. I was under the impression that doubles are the same on x86 and ppc at the least.
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #15  
Old 10-05-2004, 11:59 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

I'm 99% sure they will have the bytes in reverse order.

You've got 8 byte doubles in your file format for all the floating point values. Everything else uses 4 bytes floats for this. Are you sure you want 8 byte doubles?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:35 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3