Horde3D

Next-Generation Graphics Engine
It is currently 13.11.2024, 07:30

All times are UTC + 1 hour




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 29.03.2008, 22:43 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Good news, we have made good progress with development of 0.15, so if there aren't any problems we find in the last minute, a release tomorrow is probable. Here is a small teaser screenshot of the updated Chicago sample. I have improved all the shaders so that they are better suitable for other applications too.

Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 30.03.2008, 02:07 
Offline

Joined: 19.11.2007, 19:35
Posts: 218
Sweet, can't wait to tinker with it.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 30.03.2008, 17:15 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
As announced, Horde3D 0.15.0 and the Terrain extension are finally out now. Get them from the downloads site and give us feedback if you want.

This is a really huge release and it was a plenty of work for Volker and me, so we hope you appreciate it. But I think it was worth the effort and brings Horde again a great step forward. :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 01.04.2008, 03:15 
Offline

Joined: 26.03.2008, 02:58
Posts: 160
Congratulations!

I see that the improvements are many... you spoil me, marciano :P


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 01.04.2008, 16:50 
Offline

Joined: 19.11.2007, 19:35
Posts: 218
Great work. Love it all round, especially dumping terrain to a mesh resource.

Only issue I've seen is that terrain blocks like to disappear when the camera nears a corner and is looking at an upward angle. Not familiar enough with the terrain code yet to know whether its an issue with the bounds size or the clipping of the bounds.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 01.04.2008, 16:59 
Offline

Joined: 26.03.2008, 02:58
Posts: 160
AcidFaucet wrote:
Great work. Love it all round, especially dumping terrain to a mesh resource.

Only issue I've seen is that terrain blocks like to disappear when the camera nears a corner and is looking at an upward angle. Not familiar enough with the terrain code yet to know whether its an issue with the bounds size or the clipping of the bounds.


Hum i don't have any issues at all, do you have screenshot? There are a few texture flaws (some hard edges), but i think that is the textures fault.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 01.04.2008, 17:41 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
AcidFaucet wrote:
Great work. Love it all round, especially dumping terrain to a mesh resource.

Thanks, I implemented it for an easy integration of a physics engine. Maybe we will provide a simple vehicle demo based on bullet in the near future. But for really big terrains a streaming solution like proposed in http://www.continuousphysics.com/mediawiki-1.5.8/index.php?title=Height_Field may be preferable.

Concerning the disappearing of the blocks,... it seems that the bounding boxes for each block are a little bit too small, but I haven't checked it myself. If not Nicolas will fix it, I may have a look at it in the next days.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 01.04.2008, 20:28 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
Excellent work guys, looking good. I am setting up for the Mac compile directly.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 02.04.2008, 20:15 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
We have just made a hotfix for the SDK 0.15 and the terrain 0.1. It brings another makefile for the terrain sample (still untested), fixes the reported compatibility issue in utImage.cpp (don't have Linux64 so also untested) and fixes a serious bug in ColladaConv. Please download the SDK again.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 04.04.2008, 08:42 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
AcidFaucet wrote:
Only issue I've seen is that terrain blocks like to disappear when the camera nears a corner and is looking at an upward angle. Not familiar enough with the terrain code yet to know whether its an issue with the bounds size or the clipping of the bounds.

Yesterday we had a look at the code again and it might be fixed by replacing some code in the buildBlockInfo function in terrain.cpp.

Code:
const float stepU = (maxU - minU) / (_blockSize - 1);
const float stepV = (maxV - minV) / (_blockSize - 1);
      
for( uint32 v = 0; v < _blockSize - 1; ++v )
{
     for( uint32 u = 0; u < _blockSize - 1; ++u )   

instead of
Code:
const float stepU = (maxU - minU) / _blockSize;
const float stepV = (maxV - minV) / _blockSize;

for( uint32 v = 0; v < _blockSize - 1; ++v )
{
   for( uint32 u = 0; u < _blockSize; ++u )


and
Code:
for( float vv = 0; vv <= stepV; vv += pixelStep )
{
    for( float uu = 0; uu <= stepU; uu += pixelStep )

instead of
Code:
for( float vv = 0; vv < stepV; vv += pixelStep )
{
    for( float uu = 0; uu < stepU; uu += pixelStep )


additionally in the terrain.h you have to add 0.5f before casting to int
Code:
         { return _heightData[(int)(y * (_hmapSize - 1) + 0.5f) * _hmapSize + (int)(x * (_hmapSize - 1) + 0.5f) ] / 65535.0f; }


We still had some very small culling problems with this code, but couldn't figure out why. It may be a problem with floating point precision, but we weren't motivated enough to go into more detail :-)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 9 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® Forum Software © phpBB Group