Simulating reflections

A forum to store posts deemed exceptionally wise and useful
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Strange. What were the errors?
the last line:
Image
Did you install the VS2005 Redist from my site (as I mention in the readme)?
Although I read it in the "readme" file, I'd rather not ;) The last time I used the 2005 VC express thingie my system ended up in a major screw up forcing me to format my drive. But then I presumed it was because I was using your dll. I decided to recompile your sources and I used my compiled dll (SVN version) and it worked!

Now this topic has changed from "simulating reflections" to "realtime reflections" :wink:

Too bad they haven't merged Mandrav's patch into SVN :( I mean, if this would fix the image separation problem. But it's still a pleasure to look at the effect in real time ;)

Downloaded all of your stuff Sio, nice, amazing. Love the cell shader.
regards,
Alvaro
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

@afecelis
That dll is part of DirectX. You need the updated DirectX9 runtime as I state in my readme. :wink:

The reason you didn't get the error after recompiling is that you compiled against whichever d3dx dll is with your version of the DX9 SDK.

BTW The VS2005 redist on my site is the VS Pro SP1 redist, not the Express one. Sounds like you don't need it, but its mentioned in my readme so I can yell "RTFM" to people. :mrgreen:
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

By The Way, my PerPixelLighting_WithWater demo is up on my website. This is the Irrlicht PerPixelLighting demo, but with a reflective water plane. 8)

http://www.sio2.g0dsoft.com/
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

loooooooool, It had been long since someone told me to RTFM!!! :D

I'm downloading the latest redistributable of DX9, hhehehe.

Thanks for the modified per pixel lighting example. Downloading it as well.

all the best,
Alvaro
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

The ReflectiveWater demo that started all this reflection madness (my first Code Snippet) is now up on my site. It's DeusXL's .NET demo that I converted to C++.
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Yup, I saw it when it was 1st posted. Impressive, and impressive conversion work as well!

Just installed the December DX9.0c redist, and it's indeed what I was missing
:oops: It also feels faster!

Checking all of your demos now.....drooling....wow, that water is simply beautiful. ;)
noreg
Posts: 158
Joined: Fri Jun 23, 2006 6:01 pm
Location: continental europe

Post by noreg »

@SiO2: You said you were having trouble with GLSL shaders. Could you PLEASE specify them, as i tinker around with that stuff at the mo ?

It's so frustrating for a learner if he thinks it's his own fault but actually a limitation of the engine.
BTW, cool demo :)

EDIT:
Oh, nevermind, i think i found it: "faulty shader system" thread in bug reports. Or are there any other pitfalls with GLSL in Irrlicht?
RhavoX
Posts: 33
Joined: Tue Jul 04, 2006 7:27 pm

Post by RhavoX »

afecelis wrote:
Strange. What were the errors?
the last line:
Image
Did you install the VS2005 Redist from my site (as I mention in the readme)?
Although I read it in the "readme" file, I'd rather not ;) The last time I used the 2005 VC express thingie my system ended up in a major screw up forcing me to format my drive. But then I presumed it was because I was using your dll. I decided to recompile your sources and I used my compiled dll (SVN version) and it worked!

Now this topic has changed from "simulating reflections" to "realtime reflections" :wink:

Too bad they haven't merged Mandrav's patch into SVN :( I mean, if this would fix the image separation problem. But it's still a pleasure to look at the effect in real time ;)

Downloaded all of your stuff Sio, nice, amazing. Love the cell shader.
regards,
Alvaro
I didn't want* to install the newest DX SDK so I just renamed the d3dx9_30.dll to 31 and put it in the same folder as the demo :P it worked too :P

*d@mn my english sux ;(
Last edited by RhavoX on Mon Feb 19, 2007 2:36 pm, edited 1 time in total.
Teh Uber-Pwner xD
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

RhavoX wrote:I didn't wanted to install the newest DX SDK so I just renamed the d3dx9_30.dll to 31 and put it in the same folder as the demo :P it worked too :P
:shock:

Nice trick (I think). Very, very naughty, though. Don't ever come to me if something doesn't work. Ever. :twisted:

:lol:
Post Reply