Horde3D

Next-Generation Graphics Engine
It is currently 21.11.2024, 18:46

All times are UTC + 1 hour




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Geometry Shaders
PostPosted: 12.01.2010, 16:09 
Offline

Joined: 09.09.2009, 18:58
Posts: 107
They're core now. Are there any plans to update Horde3D soon or whats going to happen?


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 12.01.2010, 16:38 
Offline

Joined: 15.06.2008, 11:21
Posts: 166
Location: Germany
I cannot speak for any horde3d dev, and myself am not good enough to do anything in this scale without help, but I would love to have geometry shaders in the engine, as well as a dx10 backend.

Geometry shaders probably would be done via a opengl 2.x extension and not via opengl 3.1 though. Also we might need some kind of simple fallback mechanism for materials to support such possibly not available functionality in shaders without manually needing to select between different rendering paths. Not necessary though.


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 12.01.2010, 21:24 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Hmm, what would you need geometry shaders for?

My experience is that although they can be handy in certain situations, their use is rather limited, especially since performance is not that good. And as phoenix indicates, you need a fallback implementation anyway if you don't want to limit yourself to d3d10 hardware, so why bothering with geometry shaders at all?

phoenix64 wrote:
as well as a dx10 backend

I was under the impression you were a "hardcore" Linux guy ;)


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 13.01.2010, 14:06 
Offline

Joined: 09.09.2009, 18:58
Posts: 107
DX10...
ew...


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 13.01.2010, 15:09 
Offline

Joined: 21.08.2008, 11:44
Posts: 354
Hi, I was always shouting "We need geometry shaders!" in the forum and a fan of DirectX 1x, but changed my mind after watching their demos. There is a small demo bundled with the latest DirectX SDK that includes a sample of geometry shaders which IMO is a lot boring than watching drying paint on the wall :D

A few notes about DirectX 10: Well, there is a very small improvement in visual quality [soft particles, better lighting, ...] and also makes the life easier for the developer [in comparison with DirectX 9] in cost of loosing about 50% of Windows gamers.

And about DirectX 11: Well, there is a great improvements in the visual quality [tessellation] that makes a good gaming experience in cost of halving the frame rate. Currently about 3 ATI graphic cards [5000 series] are 100% supporting DirectX 11 and tessellation [DirectCompute and hardware tessellation features are supported by older DirectX 10 compatible cards too] and you should run Windows 7 which means you will lost 80% of gamers.

Take a look at Steam Hardware Survey for detailed numbers and charts about gamers and their specs. Also have a look at the Heaven Benchmark to decide which backend [DX10/11 or OGL] you are going to use.

Currently the games that they are using DirectX 10.1 aren't more than fingers and Dirt2 only supports DirectX 11 [not in depth]. IMHO Horde3D + OpenGL 2 is the best/only option for now :wink:

Best regards, Siavash.


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 13.01.2010, 20:26 
Offline

Joined: 15.06.2008, 11:21
Posts: 166
Location: Germany
Quote:
I was under the impression you were a "hardcore" Linux guy ;)

I've seen OpenGL drivers perform much worse than the DX drivers on the same system for the same scenes before, and there are quite some benchmarks out there telling the same. It's the best to at least provide both options for such cases. I don't talk of DX 9 here though because that really should be worse than OpenGL 2.x plus extensions, but DX 10 would be something nice to have.

Oh, and nearly everyone I know already runs either vista or 7. At least all gamers I know. I am the only one left with XP because I don't care about Windows for myself. I won't be the one writing the DX backend -.-

Quote:
you should run Windows 7 which means you will lost 80% of gamers.

Just to clarify some bs here, DX 11 works on Vista just fine. :p


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 14.01.2010, 00:20 
Offline

Joined: 19.11.2007, 19:35
Posts: 218
I had done a little in this regard, but pretty much just outright stopped. When I thought about for a second, I really couldn't think of anything useful to do with them. I couldn't figure out how to generalize it either. All of the really cool stuff is pretty implementation specific.

The only thing I actually found interesting was reading back geometry after it had been processed.


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 14.01.2010, 00:35 
Offline

Joined: 08.11.2006, 03:10
Posts: 384
Location: Australia
I'm not sure what I'd use geometry shaders for *right now*, especially seeing that their performance isn't very good on current hardware. But in the long-term they'd be on my Horde wish-list too, as I'm sure they will become important sooner or later.
The most popular example is using them to move stencil-shadow calculations off the CPU to the GPU (contrary to popular belief, stencil shadows are still "better" than shadow mapping in some cases). But seeing that Horde doesn't support stencil shadows (or application-side use of the stencil buffer), this obviously isn't needed.
Siavash wrote:
A few notes about DirectX 10: Well, there is a very small improvement in visual quality [soft particles, better lighting, ...] and also makes the life easier for the developer [in comparison with DirectX 9] in cost of loosing about 50% of Windows gamers.
As far as I can tell, most of this "visual quality" stuff is just Mircrosoft's propaganda... The Wii (which uses ~DX7/DX8 level hardware) can even do soft particles (although, yes, it's much easier for the developer to do it with DX10 :wink: )!


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 14.01.2010, 07:12 
Offline

Joined: 26.03.2008, 02:58
Posts: 160
First post of 2010 :mrgreen:

The same issues keep coming up.

Regarding GS - There really isn't enough support or applicability to make this a priority. If anyone really wants to mess with GS, it's most likely that you will be doing small proof of concepts and writing all the code by hand to fit your specific project needs.

Regarding alternative backends - to be done properly this will require a new layer of abstraction to be added to the engine, it's a major design effort and since we only have two core devs: marciano and volker, and unfortunately they don't have that much time to be doing design work it seems unlikely that we will get alternative backends. Unless someone decides to step up to the task, perhaps doing this as a thesis or some other academic project that will reward the student. The ugly truth is that no one wants to do the boring plumbing code, instead everybody want to focus on their own projects. No wonder, it's tedious, hard work to get right and requires allot of testing and debugging but it does give you amazing insight into the guts of the engine. Anyone in his last year of college looking for a project :wink:


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 14.01.2010, 15:32 
Offline

Joined: 09.09.2009, 18:58
Posts: 107
I've got my own project I am working on. :lol:
And youall are probably right. Geometry shaders might be useless for now.


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 15.01.2010, 22:38 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
I doubt that geometry shaders are difficult to integrate. But everyone seems to agree that they are not useful right now, so we will not spend any time on them.

Regarding D3D10: It would be nice to have but we just don't have the time for a full port. However, we will slowly work towards it by making the rendering backend more abstracted and removing all fixed function functionality.


Top
 Profile  
Reply with quote  
 Post subject: Re: Geometry Shaders
PostPosted: 17.01.2010, 17:30 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
marciano wrote:
I doubt that geometry shaders are difficult to integrate. But everyone seems to agree that they are not useful right now, so we will not spend any time on them.
Pretty much anything you can do with GS, can be done more efficiently with HistoPyramids - although they aren't quite as easy to wrap your head around.

_________________
Tristam MacDonald - [swiftcoding]


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

All times are UTC + 1 hour


Who is online

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