From: brad schwagler (bschwagg++at++yahoo.com)
Date: 06/07/2002 08:54:47
hi,
This is my idea which I'm not succeding to implement:
I'm trying to create rain/snow effect in a driving
simulation by having billboards, texture mapped with
rain or snow, around the camera view. To create the
effect of the rain coming down I wanted to scroll the
texture-maps down, using a draw cullback. This would
be a lot more efficent than using DCS's for each
rain/snow plane.
using openGL it can be accomplished by:
int pfdPreDrawRain(pfTraverser *a, void *d){
glMatrixMode(GL_TEXTURE);
glLoadIdentity();
glRotatef(x,1,0,0);
x += 0.1;
return PFTRAV_CONT;
}
This doesn't work with performer, how do I go about
doing this? Flux's? Can anyone point me in some
direction or have some example code?
Thanks!
-brad
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 08:55:00 PDT