Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / reflections on a matrix

Author
Message
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 13th Jul 2003 19:41
I was just playing around and made this code up to give a reflection effect on a rippling surface BUT the reflection is the wrong way round, I already had to turn the camera on it`s head to get the reflection at the right end of the pool, and the matrix won`t ghost, yes this could be way faster with less sections to the matrix, but I am planning on adding ripples from feeding fish and suchlike, so it has to be able to ripple in both directions, this is VERY wip, any ideas?, cheers.

Mentor.

Ps: if you want to run it then you need a avi clip named demo.avi or you could edit out the animation commands
ReD_eYe
23
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 13th Jul 2003 22:15
its looking pretty cool, what does the avi clip add cos i took it out, i've got no idea how to help but keep at it cos its looking great!!!

***Ordered Dbpro today(friday 11th)****
Saturday AM+PM: Not Dispatched
Sunday AM: Dispatching shortly
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 13th Jul 2003 22:31
thanks, it is VERY wip but these two problems have me stuck, the avi puts a video up on the billboard and you can see it running in the reflection as the water ripples, just to prove it is rendered in realtime, same idea behind the temporary spheres, if I can get it working then the spheres will be birds that fly around the room, this is just a testbed for the reflection idea at the moment, I may have to go to memblocks, but I realy wanted to keep it all darkbasic commands where I could, still working on it, the final thing will have all that test object creation stuff taken out and a model room put in, cheers.

Mentor.

Login to post a reply

Server time is: 2026-07-21 12:50:35
Your offset time is: 2026-07-21 12:50:35