Hello,

I’m having a problem with an underwater simulation we are doing. We load a fish model for each kind of fish and then create multiple copies of each model by extracting its geometry. Now we try to animate the fish with shaders (one materialgroup above all fish) which worked fine so far, but all fish are of course animated synchronously. What we want to do now is to give each fish its own shader material so that we can set the shader parameters unique for each fish. The problem is, it seems to not work when the fish model is loaded only one time (loading it several hundred times would be a waste of memory). If we do it this way, the shader of one fish is applied to each fish of the same kind.
Is there any way we can achieve asynchronous animations with shaders for all the fish?
Thanks
Matthias

 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to