Example: Sinewave Reflections in 3d

Posted by omicron1 on Nov. 9, 2006, 1:46 p.m.

Example: I'm submitting my first released example for public use - and all you blogreaders get it first.

http://www.savefile.com/files/241382

This is, basically, an example dealing with "curved" reflections in 3d. This is normally not possible due to the incompatibility of surfaces with d3d native; however, by not actually entering d3d mode, one can render curved reflections using surfaces and sinewave-based drawing techniques. This example also includes some code to work around the depth-problems present in standard "3d in 2d" implementations by the use of depth-setting and position-based drawing.

On that subject, GM7 or 7.1 SHOULD include the ability to use surfaces and d3d simultaneously. I don't care how it's done - just make it happen. It shouldn't be _that_ hard to do…

MMO: Still working on it. I have created a main menu and an option to turn on a "low-detail" mode in which surface use is dramatically decreased. (esp. by removing water reflections)

EotS: I made a deal with my brother regarding multiplayer testing, so I should be able to test it and get it in a working condition very soon.

Comments

Gamer3D 18 years, 1 month ago

Our multiplayer testing deal also lets me get some testing done…