Refraction
-
- Posts: 39
- Joined: Tue Apr 29, 2008 1:41 pm
- Contact:
Refraction
Hey all, i have been looking for a way to implement refraction into a program of mine. I have found several pieces of code on this site, but they dont work on my system or any of the others in my house. There is however one type of refraction that works and is very good for my needs.
The example is at:
http://sio2.g0dsoft.com/modules/wmpdown ... .php?cid=1
called Dynamic Glass Refraction
It works perfectly on my systems, but I have no idea how to implement something like this of my own. Can anyone help?
The example is at:
http://sio2.g0dsoft.com/modules/wmpdown ... .php?cid=1
called Dynamic Glass Refraction
It works perfectly on my systems, but I have no idea how to implement something like this of my own. Can anyone help?
Chris Goddard
http://www.chris-goddard.co.uk
http://www.chris-goddard.co.uk
-
- Posts: 39
- Joined: Tue Apr 29, 2008 1:41 pm
- Contact:
Ok, that sounds very cleaver. I was wondering if anyone had a shader like this. Also, is there a way to implement it automatically into a program without leaving the file open to the public?
Chris Goddard
http://www.chris-goddard.co.uk
http://www.chris-goddard.co.uk
-
- Posts: 39
- Joined: Tue Apr 29, 2008 1:41 pm
- Contact:
Yup, an un-nickable shader, lol. Do you know where a shader to cause refraction based on a texture could be acquired?
Chris Goddard
http://www.chris-goddard.co.uk
http://www.chris-goddard.co.uk
-
- Posts: 39
- Joined: Tue Apr 29, 2008 1:41 pm
- Contact:
yup, i am the worlds biggest hipocrite. Its not so much that I want to steal it, its just that i dont know how to make shaders, and then i dont want to reveal the entire source of the shader to all that seek it.
Chris Goddard
http://www.chris-goddard.co.uk
http://www.chris-goddard.co.uk
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
I actually find myself admiring your unabashed zeal to take, take, take without giving anything back. You're the Accounts Receivable of software development.Blue Hampster wrote:yup, i am the worlds biggest hipocrite. Its not so much that I want to steal it, its just that i dont know how to make shaders, and then i dont want to reveal the entire source of the shader to all that seek it.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 39
- Joined: Tue Apr 29, 2008 1:41 pm
- Contact:
Actually, my intention is to gain enought understanding of the entirety of the Irrlicht Engine and then I intend to return all i've taken.
Chris Goddard
http://www.chris-goddard.co.uk
http://www.chris-goddard.co.uk
-
- Posts: 39
- Joined: Tue Apr 29, 2008 1:41 pm
- Contact:
as i said, i dont understand shaders, yet. but i soon will. I am trying to understand why some shaders wont work on my system, but have a large degree of sucess on others. The only main reason i am trying to incorperate the shader directly into a program is just to keep it tidy. I only want to have some of the models and textures available.
Chris Goddard
http://www.chris-goddard.co.uk
http://www.chris-goddard.co.uk
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Oh, no, no. Don't back down from it! Now I'm losing respect for you. Insert more Stig quotes!
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
As mentioned, just look at my refraction tutorial. It includes full source code that is even tutorial-style commented to teach you ever step of the way how it is accomplished in Irrlicht. I am too lazy to link you there however as you seem to want to rip me off entirely. (Just search the Project Announcements forum as previously mentioned)
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net