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.

Work in Progress / Shisaku

Author
Message
MiR
21
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 2nd Sep 2005 16:04
Tis a nice effect. Though a bit strange without trees. I think it it could do with being a bit bigger and less often. I think you`ve said abotthat already though.


Thank you for the votez!1!
Bizar Guy
19
Years of Service
User Offline
Joined: 20th Apr 2005
Location: Bostonland
Posted: 2nd Sep 2005 19:52
Very cool effect!!! But it does need to be less dence as you said, and is there a way to give it a swaying back and forth motion, as trees aren't constantly on the move?

Sephnroth
22
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 2nd Sep 2005 22:04
Yes, i will play with it more Currently the two blend maps are set to run on oposing circles, i'll share a lil simple code

u = dbSin(dbWrapValue(dbTimer() / 80.0f));
v = dbCos(dbWrapValue(dbTimer() / 80.0f));

ScrollPlaneTex(PARENT_FLOOR, 1, u / 4, v / 4);
ScrollPlaneTex(PARENT_FLOOR, 2, v / 4, u / 6);

ScrollPlaneTex is a function I wrote to scroll textures across a plane object (only works with planes) and takes a texture index as the second parameter allowing me to scroll different textures of a multi textured object. Indexes 1 and 2 are the blend maps - so as you see they are currently spinning in circles - swapping the u/v on the second made it go the other way and i did an increased division on the second texture to decrease the radius on the Y - gives it just that slightly differed circle path making things look a little more natural By further increasing the divisions on all the co-ordinates I can shrink its circle making it more restricted which would be more branch-like. Changing the division on the timer would in turn change the speed of the scrolling so this should all work out good

Eventually I may just scrap the code all together in favour of a more wavey algorithm, something designed for the job. But then again complete realism isnt nessiarilly what i'm after. The excuse that its light playing through branches may be just that, an excuse for a neat effect Imagine vididly textured trees and bushes everywhere, the light effect on the floor, maybe some green circular particles just slowly floating around - maybe certain flowers could give off a slight glow. It would all combine to create a certain surreal feeling, a certain ambiance. It doesnt nessiarilly have to be "anything" except cool XD

Right now though the dungeon terrain etc is obviously very plane (har, sorry couldnt resist XD ..plane/plain >> so it isnt the best show off for it, but I think you get the idea

TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 3rd Sep 2005 18:46
Quote: "Right now though the dungeon terrain etc is obviously very plane (har, sorry couldnt resist XD ..plane/plain >> so it isnt the best show off for it, but I think you get the idea "

Only a true computer geek would find that funny.
HA! HA! HA!
HA! HA! HA!
HA! HA! HA!

[url]andrewneale2004@yahoo.com[/url]
http://www.elbsoftware.dbspot.com

Login to post a reply

Server time is: 2024-11-23 07:43:29
Your offset time is: 2024-11-23 07:43:29