Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 11 Dec 2006
Offline Last Active Oct 30 2015 02:44 AM

Posts I've Made

In Topic: Flowmaps distortion

14 December 2012 - 06:06 AM

I was able to solve the issue. In case somebody else encounters the problem, you just have to set the cycle to a much lower value. The optimal value for cycle is somewhere around:
cycle = 15.0f;

In Topic: Flowmaps distortion

13 December 2012 - 10:53 AM

My guess is that setting the offset back to 0 when it exceeds the cycle length is the culprit. At faster flow rates the offset will overshoot by more than with a slower rate, so there will be a more obvious discontinuity. Try subtracting cycle from the offset instead of setting it to 0.

No luck so far... Any other ideas? Using higher resolution flowmap didn't solve the problem.

In Topic: Tangent space rotation

04 December 2012 - 10:05 AM

You're right, reflection vector should be in world space, and not in tangent space. :)

In Topic: Orientation in code

04 March 2008 - 10:16 PM

BeauMN, thank you, I will consider your advices and review my architecture. Also thank you for a link. I will try it.

I am using c++, working under XCode in MAC OS X.

In Topic: Modifying a texture

02 March 2008 - 06:56 AM

Many thanks,
I just didn't know how to write pixel data.

I will try if it is working for me.