Author Topic: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!  (Read 4303 times)

Offline trowalyn

  • Forum Newcomer
  • *
  • Posts: 2
  • Country: de
  • Floof-O-Meter: 0
  • chicky nuggies
    • View Profile
Re: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!
« Reply #10 on: August 22, 2017, 07:32:42 pm »
AAAHH, I'm so sorry for the late reply ;_; I was on vacation! Thank you so much for the help, we will try this and look how it'll work! :)

Danke auch dir Tigg :)

*Edit
So we tried it and this is what came out:
http://www.bilder-upload.eu/show.php?file=deb1e0-1503436411.png

Quote
its working yeah but not how its supposed to work

reflective water how wolf soul had

i was even underwater to see if theres something wrong
but no just when u lookfrom above on it and it eats meshes

do i have to put a code into the IT-source and where exactly to put it
what do they mean with resource loading path
i lost track there

Anyone can help? :)
« Last Edit: March 18, 2021, 08:54:17 pm by trowalyn »

Offline trowalyn

  • Forum Newcomer
  • *
  • Posts: 2
  • Country: de
  • Floof-O-Meter: 0
  • chicky nuggies
    • View Profile
Re: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!
« Reply #11 on: August 27, 2017, 04:55:57 pm »
I really hope someone can help.. it must be kinda possible to make this work Dx

Offline WolfQueen

  • Onion Queen
  • Elder Grey Pelt
  • ****
  • Posts: 3,419
  • Country: us
  • Floof-O-Meter: 117
  • feralheart's malignant tumor
    • jengajangle
    • jenqatower
    • jengatower
    • jengatowerr
    • View Profile
Re: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!
« Reply #12 on: August 27, 2017, 06:40:22 pm »
Shadows and reflective water doesn't work together in the version of OGRE Impressive Title runs on. Try removing the code for shadows in the source before adding in the reflective water.


Offline trowalyn

  • Forum Newcomer
  • *
  • Posts: 2
  • Country: de
  • Floof-O-Meter: 0
  • chicky nuggies
    • View Profile
Re: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!
« Reply #13 on: August 27, 2017, 08:11:59 pm »
Thank you so much WolfQueen! We will try it! :)
Also, can someone help us with this? We lost track when it came to the resource load path, she doesn't know what, where, who, huuuh? xD We need more detail!

All you need to do is take the `water.material`, `water.cg`(from FeralHeart/media/materials), and place them somewhere in your resource load path. Then just do `water->setMaterialName("WaterReflectMat");` or something like that, when the water is given a material in the code. Or just take the 'WaterReflectMat' section of the material (the .cg file is still important, it has the GPU shader program...). Or something!!!
« Last Edit: March 18, 2021, 08:54:57 pm by trowalyn »

Offline Vilivikhorith

  • Familiar Grounds Dweller
  • **
  • Posts: 59
  • Country: 00
  • Floof-O-Meter: 8
  • \n\n\n\n
    • View Profile
Re: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!
« Reply #14 on: August 28, 2017, 07:05:59 am »
it looks like the shader programs have compiled but aren't running (they turn black when there's some problem with it running on the GPU. The material compiles still, so it's not white.), which is pretty strange. Rumour is that FeralHeart has no shadows due to the reflective water bits, so I guess this is a problem with Ogre 1.7.1 (and/or thereabouts), as WolfQueen said.

I did go a bit overboard with posting code snippets, I suspect a lot of coffee that day... Anyways, you will only need to assign the water a new material in the code if you want to make a reflection toggle button. replacing .materials works too. :P

Since the water isn't white, you must have placed it in your resource path. Ogre parses the `resources.cfg` in the binary's directory by default and loads all the stuff it finds in the paths defined in the file. sorry that had confused you, but I pretty much meant drop the files in one of those folders.

As a side note, it looks like Ogre 1.7.4 (As used in Dragon's Den) can do water reflections and shadows. Upgrading may not be so trivial, but not impossible, if you want both.

Offline trowalyn

  • Forum Newcomer
  • *
  • Posts: 2
  • Country: de
  • Floof-O-Meter: 0
  • chicky nuggies
    • View Profile
Re: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!
« Reply #15 on: August 28, 2017, 01:54:01 pm »
AAAH, we are coming closer now!
Thank you for the clarification, Vilivikhorith :)
Also thanks to the others who are helping us alot!

There are still 2 questions. Dx
First one: which code do we have to remove or change (the shader thingy)?
Because we already tried something like this and failed. She removed everything except for the "underwatershader", then she changed the material name in the source from "pseudo/underwater" to "waterreflect". When she has done that, the sky turns into water which follows you when you fly higher.

Second one: how do we update the ogre version? :O
« Last Edit: March 18, 2021, 08:55:18 pm by trowalyn »

Offline trowalyn

  • Forum Newcomer
  • *
  • Posts: 2
  • Country: de
  • Floof-O-Meter: 0
  • chicky nuggies
    • View Profile
Re: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!
« Reply #16 on: September 09, 2017, 10:11:10 pm »
Sorry for double posting, just wanted to know if anymore can answer these questions above.. :O

Offline Vilivikhorith

  • Familiar Grounds Dweller
  • **
  • Posts: 59
  • Country: 00
  • Floof-O-Meter: 8
  • \n\n\n\n
    • View Profile
Re: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!
« Reply #17 on: September 12, 2017, 03:24:46 am »
In my source copy, inside of MagixWorld.h, function declaration `void addWaterPlane(const Vector3 &position, const Real &scaleX, const Real &scaleZ, const String &matName="Terrain/CalmWater", const String &playSound="")`. That looks like the hard coded default material name-string you want to change (to me.).

Unless there's a specific KITO guide for upgrading out there (I seem to remember one or sumfin'...), I would grab the 1.7.4 source archive (or maybe the SDK, I am not sure which will be easier for you) from: https://sourceforge.net/projects/ogre/files/ogre/1.7/ and use the libs and includes from it when building your application. Of course, if you get any compiler errors when compiling your IT clone, you'll have to resolve those manually.

Offline trowalyn

  • Forum Newcomer
  • *
  • Posts: 2
  • Country: de
  • Floof-O-Meter: 0
  • chicky nuggies
    • View Profile
Re: [PROFESSIONAL HELP NEEDED] Feral Heart Water in Impressive Title, HOW?!
« Reply #18 on: September 15, 2017, 10:46:19 am »
AH, ty so much!! We will try it asap!