Jump to content


Photo

3d Lake Example


  • Please log in to reply
37 replies to this topic

#21 brac37

brac37

    GMC Member

  • GMC Member
  • 766 posts
  • Version:GM7

Posted 30 December 2009 - 05:03 AM

I have added terrain reflection. Notice that under water terrain gets above water to disturb the view when reflected. So you must chop off the under water part of the terrain for the reflection, which is not easy.

Posted Image

Here is a bandwidth sucking image.

Posted Image

Edited by brac37, 11 January 2010 - 12:08 AM.

  • 0

#22 general sirhc

general sirhc

    YW Creator

  • New Member
  • 1651 posts

Posted 30 December 2009 - 06:40 AM

Beautiful, although the ripples do look a little weird. Maybe making the ripples bigger would look nicer
  • 0

#23 B Factory LLC

B Factory LLC

    We're awesome!!

  • New Member
  • 511 posts

Posted 01 January 2010 - 10:21 PM

Add a screenshot, please.
  • 0

#24 brac37

brac37

    GMC Member

  • GMC Member
  • 766 posts
  • Version:GM7

Posted 11 January 2010 - 12:09 AM

Add a screenshot, please.


Done.
  • 0

#25 krele

krele

    GMC Member

  • GMC Member
  • 525 posts

Posted 11 January 2010 - 12:50 AM

Add a screenshot, please.


Done.

Orly?...

Just kidding. Your screenie on the first page got pwnt...
  • 0

#26 brac37

brac37

    GMC Member

  • GMC Member
  • 766 posts
  • Version:GM7

Posted 12 January 2010 - 01:06 AM

Add a screenshot, please.


Done.

Orly?...

Just kidding. Your screenie on the first page got pwnt...


Not mine. I dropped in on the second page.
  • 0

#27 rivosaar

rivosaar

    GMC Member

  • GMC Member
  • 57 posts

Posted 20 January 2010 - 11:16 AM

good job :(
  • 0

#28 Newly Discovered

Newly Discovered

    Harmonious Genius

  • New Member
  • 2467 posts
  • Version:GM8

Posted 18 March 2010 - 08:31 PM

the terrain reflection is very neat. I added a sphere into the game and draw it in the kaamera draw event...I tried setting it up the same way as you did the terrain but I couldn't quite get it.
I wanted to reflect the ball as well as it flies over the terrain.

anyway, great job on the trick, I hope to see a real reflection one of these days brac!
  • 0

#29 Phantom107

Phantom107

    Engineer

  • GMC Member
  • 2600 posts
  • Version:GM:Studio

Posted 18 March 2010 - 08:51 PM

the terrain reflection is very neat. I added a sphere into the game and draw it in the kaamera draw event...I tried setting it up the same way as you did the terrain but I couldn't quite get it.
I wanted to reflect the ball as well as it flies over the terrain.

You see, this works by faking distortion using GM-D3D's alpha glitch. So you can't "reflect" anything other than the skysphere. If you want real reflection, use the surface fix for GM-D3D or use the shader power of your GPU by using a DLL.

Edited by Phantom107, 18 March 2010 - 08:52 PM.

  • 0

#30 Newly Discovered

Newly Discovered

    Harmonious Genius

  • New Member
  • 2467 posts
  • Version:GM8

Posted 19 March 2010 - 03:00 AM

yeah, I meant surface fix for an actual reflection. maybe I'll study up on view direction/reflection and take a stab at it.
  • 0

#31 brac37

brac37

    GMC Member

  • GMC Member
  • 766 posts
  • Version:GM7

Posted 19 March 2010 - 03:41 AM

the terrain reflection is very neat. I added a sphere into the game and draw it in the kaamera draw event...I tried setting it up the same way as you did the terrain but I couldn't quite get it.
I wanted to reflect the ball as well as it flies over the terrain.

anyway, great job on the trick, I hope to see a real reflection one of these days brac!


You can easily draw a sphere and its reflection, as I did now in the above link, but the distortion effect is not very great. The terrain does not reveal so clearly that its distortion is not so great. I tried to improve the distortion a bit with a shear transform.

I adapted the terrain reflection scripts as well. You can choose any plane of reflection now, not just z=0. Furthermore, I added some options to the scripts. I will document them another time.

EDIT: the reflection scripts are documented now.

Edited by brac37, 09 April 2010 - 06:15 PM.

  • 0

#32 Blackknight37

Blackknight37

    GMC Member

  • GMC Member
  • 233 posts

Posted 17 October 2011 - 01:50 AM

Very nice, I added some sound, retextures, now lets make some waves.
  • 0

#33 sebastiankit

sebastiankit

    Lumenus Team

  • GMC Member
  • 243 posts
  • Version:GM:Studio

Posted 23 August 2012 - 03:56 AM

Very good but cant understand what is that damn "pikkus " "laius " and others


cmooon ega see mingi eestlaste foorum ole :)
muidu tore nha et siukseid asju tehakse ja väga ilus järv.
  • 0

#34 rivosaar

rivosaar

    GMC Member

  • GMC Member
  • 57 posts

Posted 29 August 2012 - 08:14 AM

Very good but cant understand what is that damn "pikkus " "laius " and others


cmooon ega see mingi eestlaste foorum ole :)
muidu tore nha et siukseid asju tehakse ja väga ilus järv.


njah, ei arvanud, et selle kuhugi üles riputan.
Tänan :)
  • 0

#35 Gamer3D

Gamer3D

    Human* me = this;

  • GMC Member
  • 1591 posts
  • Version:GM8.1

Posted 30 August 2012 - 04:16 AM

njah, ei arvanud, et selle kuhugi üles riputan.
Tänan :)

See on üllatavalt hea koht Hengata ja nautida pakkudes abi vajavatele inimestele.

Loodan Google Translate on õige, sest ma ei räägi sõnagi eesti keelt.

Lisasin lingi tõlkija.

Edited by Gamer3D, 30 August 2012 - 04:18 AM.

  • 0

#36 Tepi

Tepi

    GMC Member

  • Global Moderators
  • 4201 posts
  • Version:GM8.1

Posted 30 August 2012 - 01:01 PM

Eesmärk peaks rääkima inglise keelt selles foorumis...
  • 0

#37 THE_GAME_EDITOR

THE_GAME_EDITOR

    GMC Member

  • GMC Member
  • 798 posts
  • Version:GM8.1

Posted 30 August 2012 - 04:28 PM

Eesmärk peaks rääkima inglise keelt selles foorumis...


En Nederlands dan?
  • 0

#38 TB0Y298

TB0Y298

    GMC Member

  • New Member
  • 6 posts
  • Version:GM8

Posted 16 March 2013 - 05:17 PM

Me @ wathing it live :P LOL, Nice work
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users