Depth Of Field

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
m_krzywy
Posts: 133
Joined: Sat Nov 04, 2006 2:05 pm

Post by m_krzywy »

Hi again. Is there way to hdr->render if button for example. I mean toronder scene normally without hdr and when button is pressed hdr->render() ??
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Post by porcus »

Hello,

I tried to use your shader with OpenGL, but there are ugly mistakes at the
border of the node:

Image

Can you help me ???
FlyingIsFun1217
Posts: 219
Joined: Fri Apr 13, 2007 8:29 pm
Location: Illinois
Contact:

Post by FlyingIsFun1217 »

Maybe it's just me, but that doesn't point anything out really...

FlyingIsFun1217
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Post by porcus »

Sorry for the bad screenshot.

Heres a new one.
Image

Can anybody help me ???
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

I've switched to IrrSpintz, as it has floating-point rendertargets. The extra precision really helps with some effects. This may be a symptom of your cause.

I can't remember if I allowed for pixel centres. That may be a cause. Google it if you don't know what it is.

If you had a VS2005 project with source using the DX9 driver I may be able to help you by debugging via PIX. Or you could do the same and use PIX to examine the rendertargets and rendering pipeline to see how the framebuffer is being composited.
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Post by porcus »

I'm using OpenGl and Blitzmax with MinGW.
I can't remember if I allowed for pixel centres. That may be a cause.
Why? How is it possible to allow those pixel centres ?
Belajar
Posts: 15
Joined: Mon Nov 15, 2010 3:50 am

Post by Belajar »

Well, i've got various error while try it..


1. in line 23

Code: Select all

virtual bool OnEvent(SEvent event)
i've change it to

Code: Select all

virtual bool OnEvent(const SEvent& event)
2. in line 104-105

Code: Select all

core::dimension2di windowSize(800,600);
device = createDevice(driverType, windowSize, 32, false, false, false, &receiver);
it makes some error like this

Code: Select all

f:\irrlich\depth\tes\main.cpp(105) : error C2664: 'irr::createDevice' : cannot convert parameter 2 from 'irr::core::dimension2di' to 'const irr::core::dimension2d<T> &'
1>        with
1>        [
1>            T=irr::u32
1>        ]
1>        Reason: cannot convert from 'irr::core::dimension2di' to 'const irr::core::dimension2d<T>'
1>        with
1>        [
1>            T=irr::u32
1>        ]
1>        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
So i change the line with it

Code: Select all

IrrlichtDevice *device=createDevice( video::EDT_DIRECT3D9, core::dimension2d<u32>(1024, 768), 32,	false, false, false, &receiver);
But somehow, it produces more error..:D

Does anyone have try it in irrlicht 1.7.1..?
wiedzmin112
Posts: 30
Joined: Tue Oct 18, 2011 3:48 pm

Re: Depth Of Field

Post by wiedzmin112 »

As anonymous is saying "tango down" :(

ps. As I remember that there were lot of interesting things for irrlicht :(


Can somebody reupload this?
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Re: Depth Of Field

Post by sio2 »

wiedzmin112 wrote:As anonymous is saying "tango down" :(

ps. As I remember that there were lot of interesting things for irrlicht :(


Can somebody reupload this?
Looks like my host is still there but my webspace has been "reset", deleting all my files. Luckily, I have a local backup of all my demo files. I'll be looking at getting things set up again ASAP.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Depth Of Field

Post by hybrid »

Maybe upload them to irrExt project. That one should be pretty safe and it would be really nice to have those as part of the Irrlicht contributions. Just PM me your SF login and I'll add you to the project.
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Re: Depth Of Field

Post by sio2 »

OK, I'll be adding an updated version to irrExt ASAP.

In the meantime the original demo zip is available here along with my other Irrlicht demos:
http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=45781
Post Reply