Planetside Software Forums

General => Image Sharing => Topic started by: mhaze on October 15, 2011, 09:22:19 AM

Title: oasis
Post by: mhaze on October 15, 2011, 09:22:19 AM
I've learn't alot about transform shaders doing this - but still can't predict the results!  I'm not sure I'm going to continue with this, maybe some vegetation and a buzzard or two, any thoughts or suggestions?

Sadly reducing it's size and compressing it spoils some of the detail - will have to try and post the full size on elsewhere.

Mick
Title: Re: oasis
Post by: TheBadger on October 15, 2011, 07:04:01 PM
I think these rocks are what everyone tries to do with their first attempt at using transform shaders. And I understand why, they are real cool! I have yet to try myself, but thanks for reminding me I want to. Cool image
Title: Re: oasis
Post by: DannyG on October 17, 2011, 10:34:19 AM
Liking this alot, well done
Title: Re: oasis
Post by: FrankB on October 17, 2011, 12:32:37 PM
you guys seem to talk about the twist and shear shader, not the transform shader, right?
Title: Re: oasis
Post by: Zairyn Arsyn on October 17, 2011, 04:30:11 PM
nice complex displacements and surfacing
Title: Re: oasis
Post by: mhaze on October 17, 2011, 05:12:54 PM
Hi Frank, I do mean the transform shader!  I used a twist and shear in this but was mainly interested in rotating stretched PF, as I say I'm not getting the results I expected but the results are interesting especially when used with a redirect shader.

I get predictable results with y rotation but not with x or z.  I'm not sure why or what is happenning.

Mick
Title: Re: oasis
Post by: j meyer on October 18, 2011, 10:20:11 AM
Hi,
a good way to see what rotation does on the x or z axis would be to take a sphere
locate it at 0/0/0,position the camera to look along the axis,apply some displacement
and/or color to the sphere and then rotate the PF.
J.
Title: Re: oasis
Post by: Seth on October 18, 2011, 10:22:54 AM
mmmh... I couldn't tell you use the transform shader on this one.
But the twist and shear for sure ;D
wouldn't be easier to understand the transform shader's effect without the twist and shear ?
Title: Re: oasis
Post by: mhaze on October 18, 2011, 11:01:46 AM
I used twist and shear last of all.  I've tried alsorts of experimental setups including a sphere to try and understand this. For example i strech the PF noise in the x direction to get a lines of noise. rotation in y ie plan view, rotates the lines. rotation 90 degrees in x ie to the vertical plane, doesn't give me the horizontal lines I expected but a more random patchy noise.  Why? I cannot understand visually or intellectually why.
Title: Re: oasis
Post by: mhaze on October 18, 2011, 11:14:20 AM
Ah! noise isn't uniform across a form so near the x axis I get what I expect a stretched PF but as the noise spreads over the curve away from the x axis the stretching changes to something more blobby.
Title: Re: oasis
Post by: dandelO on October 18, 2011, 11:31:47 AM
I think you've cracked it there ^^. A transform shader rotates a shader around the origin, that is, X=0,Y=0,Z=0...
Unless you shift the origin with the 'translate' parameters to another central location(i.e. the point in space you want to rotate around), you'll get unpredictable results as you're going to see large differences as you get further away from that point. :)
Title: Re: oasis
Post by: mhaze on October 18, 2011, 12:42:26 PM
Thanks for that technical explanation :) If I try and translate the origin in the translate shader first I should get a better result, will have to play.

Ta again

Mick
Title: Re: oasis
Post by: dandelO on October 18, 2011, 01:24:39 PM
Yes, right-click your 3D preview to get the point you want to rotate around and 'copy coordinates' to the translate fields of your transform shader, it should behave then.
Title: Re: oasis
Post by: TheBadger on October 19, 2011, 04:15:58 PM
Quote from: FrankB on October 17, 2011, 12:32:37 PM
you guys seem to talk about the twist and shear shader, not the transform shader, right?

Ahhhh, yes :-\ probably. lol, I would not argue with anyone about TG2 you are all my teachers here :) Peace.