It is currently Sat Aug 22, 2020 4:14 am


All times are UTC




Post new topic Reply to topic  [ 73 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: MLE Tech Demo :)
PostPosted: Sun Mar 20, 2011 9:21 am 

Joined: Fri Feb 18, 2011 8:41 pm
Posts: 173
I have uploaded a new demo with the fixed blending. Note that there is still some problem with the blending when blending with 3 textures there is *sometimes* blackness. I am still unsure why and it also only happens sometimes, weird!

Anyhow, I also disabled HDR because some people had problems with it.

I added a new functionality, pressing F3 will switch between the volume editor and the old height map editor. This is a temp solution just for tech demo, later (when I integrate physics probably) the editors will be completely combined.

Here is the link for the demo:
http://www.twilightempires.com/downloads/MLE.rar


Top
Offline Profile  
Reply with quote  
 Post subject: Re: MLE Tech Demo :)
PostPosted: Sun Mar 20, 2011 2:47 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Great! I have nothing left to teach you :)

I also gave your demo a go and it worked nicely. I did see the occasional artifact on the boundary between two different materials but I'm sure you'll fix that in time. And if you do manage to improve the way the technique then let us know - I'm sure a lot of people will be interested.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: MLE Tech Demo :)
PostPosted: Sun Mar 20, 2011 2:50 pm 

Joined: Fri Feb 18, 2011 8:41 pm
Posts: 173
Was it between two materials or three materials blending? Never had that between just 2 materials, what kind of artifacts? :)

And thank you btw :)


Top
Offline Profile  
Reply with quote  
 Post subject: Re: MLE Tech Demo :)
PostPosted: Sun Mar 20, 2011 3:10 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Actually I don't remember - it might have been three materials.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: MLE Tech Demo :)
PostPosted: Sun Apr 10, 2011 2:29 pm 

Joined: Fri Feb 18, 2011 8:41 pm
Posts: 173
New editor is coming along nicely :)

Image

Image


Top
Offline Profile  
Reply with quote  
 Post subject: Re: MLE Tech Demo :)
PostPosted: Sun Apr 10, 2011 6:43 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Great stuff as always!


Top
Offline Profile  
Reply with quote  
 Post subject: Re: MLE Tech Demo :)
PostPosted: Sun Apr 10, 2011 7:33 pm 

Joined: Fri Feb 18, 2011 8:41 pm
Posts: 173
Edit 2: I re-uploaded the demo with DoF disabled and most graphics fixed, please try and tell me how it goes and what else might be broken :)

Edit: I removed the demo from the site, I found a problem that causes many cards to fail work with it, I lcoated where the problem is and working to fix it.

New demo:

http://www.twilightempires.com/downloads/MLE.rar

8 - new world.
9 - save world.
10 - load saved world.

A, W, S, D, SPACE, X - movements.

1 - switch to voxel editor.
2 - switch to object editor

O - drop a boulder :P

Hope the demo will actually work properly on other PCs, some parts are not optimized properly yet :)

P.S. would really love to know if it does work properly for people or if it doesn't so please comment :)


Top
Offline Profile  
Reply with quote  
 Post subject: Re: MLE Tech Demo :)
PostPosted: Mon Apr 11, 2011 8:23 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Well it does run for me, though with some problems. The mouse controls appear to keep freezing (though it might be because I keep pressing the wrong modifier keys) and the application froze after a minute or so.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: MLE Tech Demo :)
PostPosted: Tue Apr 12, 2011 3:28 am 

Joined: Fri Feb 18, 2011 8:41 pm
Posts: 173
David Williams wrote:
Well it does run for me, though with some problems. The mouse controls appear to keep freezing (though it might be because I keep pressing the wrong modifier keys) and the application froze after a minute or so.


What do you mean by the mouse buttons keep freezing?

Can you say what happened just before the freeze?

Also, when did you download the zip? I had to upload several times due to getting feedback and bugfixing. (Still have two major one to fix, one is the Depth of Field, another is a crash bug that can happen , related to updating the physics mesh.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: MLE Tech Demo :)
PostPosted: Tue Apr 12, 2011 7:16 am 

Joined: Fri Feb 18, 2011 8:41 pm
Posts: 173
Ok, I believe that I fixed a major crash bug.

Uploading a new zip. Those who already have the zip can just update the exe which is downloadable from here:
http://www.twilightempires.com/download ... roject.exe

I also capped refresh rate at 40 as some people said their GPU was getting a bit hot (it was capped at 60 before). Update rate is not capped at 40. I wonder what else could be done about this.

My conclusion (related to PolyVox) is that I need to find a way to reduce the terrain's triangles count. The mesh decimilator gave me problems with the triplanar texturing though so I am wondering what else might be an option. It is also way too slow for real time (but could be multi threaded and switched to later on). Also LoD would be very very useful to render larger terrain areas and keep FPS high. So far PolyVox is having the highest triangle counts and GPU attention even when I add hundreds of other objects.

PolyVox related bug?
Sometimes when editing quite a bit, a large terrain chunk suddenly disappears. Initially I thought it was due to the new paging system, but after increasing the size even more (more than it needs) and seeing it still happens I do not think so.

Another reason for me to doubt my first guess is because at one time, after it (the chunk) disappeared (or disappeared except for a small hill I made), I tried to edit the same spot again and it came back with the additional new hill I added. Thing is - I did not add functions for streaming in/out voxel data, so polyvox couldn't have retrieved it using the callbacks.

I am not exactly sure what else it could be, either something with my code (which pretty much just calls the meshExtractor and copies the data) or with the meshExtractor.

I managed to replicate the bug and add upload screenshots:

Here I edited each chunk once/twice to try to get one to disappear, here it is:
Image

After editing around the area a small number of times again, the data returned (again, I did not implement the paging callbacks, so it should have been empty except for new data)
Image

Another reason I do not believe it been "paged out" is because the PolyVox's own intersection code worked, even when nothing was visible except for a hill or two that cause it to disappear. Also, sometimes I been making a few hills on-top what should have been flat surface (invisible) and it interescted fine, added the hills but still did not return (only a few edits after).


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 73 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net