Post Your Irrlicht Screenshots / Render Here.

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hendu » Mon Jan 09, 2012 2:40 pm

Aww thanks guys! You know, I posted the pics because I was glad I actually succeeded. I'm still a bit new to 3d.

In my defense:
- unoptimized
- low-end hardware (did you perhaps miss the "120 fps without lighting"?)

16 is no limit, it's an arbitrary number my hardware could actually handle with the current implementation at an ok framerate.

ent1ty and Radikalizm, perhaps you could instead give me a tip or two on making it faster? It currently uses light volume geometry, and lacks the common stencil optimization. While I could hack irr, it's much better both for me and others in the long run to have it properly upstream - so the stencil opt is waiting on having GL RTT stencil in upstream irr properly working.
hendu
 
Posts: 1619
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby ent1ty » Mon Jan 09, 2012 3:55 pm

The simplest thing is the Z-reject in the pixel shader
I am by no means an expert here, it is true that i got myself a deferred renderer but I never got to optimizing it. Maybe Radikalizm will know more.
Height2Normal v. 2.1 - convert height maps to normal maps

Code with brain, not heart.
- entity, a founding member of the Heartless Coders society
ent1ty
 
Posts: 950
Joined: Sun Nov 08, 2009 11:09 am

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Radikalizm » Mon Jan 09, 2012 4:26 pm

Most of my experience with deferred and pre-pass rendering is in my own engine, I have set up a deferred renderer in irrlicht but as stated because of the problems with stencil buffers for RTTs it never ran optimally. Scenario's with 100+ lights would mostly get acceptable rates because of hardware power, not because of any special algorithms or techniques

In my own engine I use light volumes with a stencil culling algo and occlusion culling against the light volumes themselves, which has allowed me to create scenes with 1000+ lights at about 10 FPS on my mid- to high-end machine

I'd wait for an update to fix the stencil buffer issue in GL, that's the part which will probably add some speed to your implementation, but for now you could always throw in a light manager to manage your visible lights. That way you can still have around 16 lights on-screen max (60-40 fps with 16 lights still gives you some time budget to play with), but your scene could potentially have more
Radikalizm
 
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hendu » Mon Jan 09, 2012 5:03 pm

entity, could you elaborate? The shader already does a discard on both too low Z (skybox) and on failing Z (no scene geometry to light), is this what you mean?

On a light manager, it might get ugly say when you have many streetlights visible to have some of them popping on and off. I think it would be better to use as many as desired around the scene, but position them so that at most N can be seen?
hendu
 
Posts: 1619
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Radikalizm » Mon Jan 09, 2012 5:07 pm

hendu wrote:On a light manager, it might get ugly say when you have many streetlights visible to have some of them popping on and off. I think it would be better to use as many as desired around the scene, but position them so that at most N can be seen?


Or you could combine multiple distant lights into one mean light to reduce the popping effect, I've heard of people using this technique with success but never tried it tbh
Radikalizm
 
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Re: Post Your Irrlicht Screenshots / Render Here.

Postby ent1ty » Mon Jan 09, 2012 6:10 pm

hendu wrote:entity, could you elaborate? The shader already does a discard on both too low Z (skybox) and on failing Z (no scene geometry to light), is this what you mean?

Yes.

Also, you can just do view-frustum culling on the light volumes, that does help quite a lot(and is very easy to implement).
Height2Normal v. 2.1 - convert height maps to normal maps

Code with brain, not heart.
- entity, a founding member of the Heartless Coders society
ent1ty
 
Posts: 950
Joined: Sun Nov 08, 2009 11:09 am

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hendu » Mon Jan 09, 2012 6:17 pm

I already had that ;)

It doesn't affect the fps at all though, perhaps it becomes more useful with more lights.
hendu
 
Posts: 1619
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby ent1ty » Mon Jan 09, 2012 7:22 pm

It becomes useful when not all light are in the view frustum :wink:
Height2Normal v. 2.1 - convert height maps to normal maps

Code with brain, not heart.
- entity, a founding member of the Heartless Coders society
ent1ty
 
Posts: 950
Joined: Sun Nov 08, 2009 11:09 am

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hendu » Mon Jan 09, 2012 7:32 pm

Yes, in my scene where the point lights fly around, about half of them are outside the frustum at any point.
hendu
 
Posts: 1619
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Granyte » Thu Jan 12, 2012 6:24 am

i finaly got around finishing my atmospheric scatering the parameters are a little unbalanced in these screen shots (like a planet with 90% oxygen atmosphere) but they still look good maybe i will be ready to submit a screen shot for the competition in the comming month

Image


Image

also i have a video of a physic test on my blog with some other screen shot

http://granyte.blogspot.com/2012/01/lot ... -stuf.html
Granyte
 
Posts: 520
Joined: Tue Jan 25, 2011 11:07 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby aaammmsterdddam » Thu Jan 12, 2012 7:38 am

nice!
i finaly got around finishing my atmospheric scatering the parameters are a little unbalanced in these screen shots (like a planet with 90% oxygen atmosphere) but they still look good maybe i will be ready to submit a screen shot for the competition in the comming month

atmospheric scattering eh?
looks good.
(n^(n-n))-1
aaammmsterdddam
 
Posts: 529
Joined: Mon Oct 24, 2011 10:03 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Radikalizm » Thu Jan 12, 2012 11:08 am

Is this purely for out of atmosphere scenes, or does it work inside of the atmosphere too?
Looks nice btw
Radikalizm
 
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Re: Post Your Irrlicht Screenshots / Render Here.

Postby ACE247 » Thu Jan 12, 2012 12:13 pm

(like a planet with 90% oxygen atmosphere) No one gona be smoking on there... ;)

@Radikalizm sure it would work in atmosphere, but how would you see it then? The effect is most strongest out of atmosphere because the light passes through the thickest possible part of air causing deviation, but on the ground you wont notice this except for sun up and sun down when the light passes through the thickest appearing part of the atmosphereas seen from that view.
H8L6L5M4G3H5M7N8S7N9O1R8J1P5M7N9O4P2Q5R6T7U4M3N8X6S5T8W (If you want the secret, why not 'TRY' decrypting it? )
This Door's lock doesn't need a key, the Lock is the key to open the Lock and you don't know how to turn the key...
Link: My Blog :)
User avatar
ACE247
 
Posts: 701
Joined: Tue Mar 16, 2010 12:31 am
Location: Namibia

Re: Post Your Irrlicht Screenshots / Render Here.

Postby ent1ty » Thu Jan 12, 2012 1:19 pm

I think what he meant is, how will Granyte's implementation look from ground
Height2Normal v. 2.1 - convert height maps to normal maps

Code with brain, not heart.
- entity, a founding member of the Heartless Coders society
ent1ty
 
Posts: 950
Joined: Sun Nov 08, 2009 11:09 am

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Radikalizm » Thu Jan 12, 2012 2:11 pm

ent1ty wrote:I think what he meant is, how will Granyte's implementation look from ground


Yeah, that's what I meant :D
I'm pretty familiar with atmospheric scattering implementations, having done some prototypes a while back, but although you can combine in-atmosphere (ie. rayleigh/mie on a skydome) and out-atmosphere effects a lot of people separate them, so that's why I asked
Radikalizm
 
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

PreviousNext

Return to Everything 2d/3d Graphics

Who is online

Users browsing this forum: No registered users and 0 guests