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 / Tree it by Evolved shadow help

Author
Message
Code Maker
8
Years of Service
User Offline
Joined: 4th Dec 2015
Location:
Posted: 21st Apr 2017 22:12 Edited at: 22nd Apr 2017 18:46
I have tried to work out how to get the shadows with the wind effect into DBP, as shown in the "Tree it" program but no luck so far, i suspect it's made with a shader and a shadow cam.
I have tried to use "set shadow shading on" but it just results in a kind of undetailed shadow with no wind effects, so if anyone knows how to do it, help will bee appreciated.
Code Maker
8
Years of Service
User Offline
Joined: 4th Dec 2015
Location:
Posted: 22nd Apr 2017 19:02
I am trying to make tree shadows with wind effects in DBP as it's looks in the "Tree it" program by Evolved, but no luck so far. I have tried to use set shadow shading on but this only results in a undetailed shadow with no wind effect
so if anyone knows how to do this any help will be appreciated.
zero32
7
Years of Service
User Offline
Joined: 28th Jul 2016
Location:
Posted: 23rd Apr 2017 03:26 Edited at: 24th Apr 2017 08:14
this? http://www.evolved-software.com
you basicly need to combine the "Tree" and "Cubic Shadow Mapping" sample projects found in the Shaders section on that site. i can't do it, so have fun with that.

"Apply Cube Map To Object" is not in my help file. it is used in those projects, maybe someone can clarify it's use?
Code Maker
8
Years of Service
User Offline
Joined: 4th Dec 2015
Location:
Posted: 23rd Apr 2017 20:44
Yes that is the program in your link zero32, i will have a go and try to merge those tow programs somehow, and your right abot the "Apply Cube Map To Object" command there dont seems to be much documentation
anyware about this command. But anywayes thanks for pointing me into the right direction.
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 25th Apr 2017 03:36
Evolved's advanced lighting framework will do what you are looking for. Check out the Palm tree demo included with it. http://www.evolved-software.com/advancedlighting/advancedlighting
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
Code Maker
8
Years of Service
User Offline
Joined: 4th Dec 2015
Location:
Posted: 26th Apr 2017 18:56
I managed to get it working, here is the code if anyone is interested, the media you need to get from here http://www.evolved-software.com/treeit/treeit

UltraVox
FPSC Reloaded TGC Backer
16
Years of Service
User Offline
Joined: 13th May 2007
Location: Into The Light
Posted: 15th Jun 2017 12:03
New TreeIt update to June 14, 2017 :
http://www.evolved-software.com/treeit/treeit

New Map Scape update to June 14, 2017 :
http://www.evolved-software.com/mapscape/mapscape

Cheers,

Login to post a reply

Server time is: 2024-02-26 14:32:06
Your offset time is: 2024-02-26 14:32:06