Discussion:
problems with rendering and mouse
cy_1989
2011-02-11 04:20:23 UTC
Permalink
Need your help. I have a question to ask all of you. I created a new class,
without extending any class. Unlike public class ColourSphere extends
BasicView, but just plain public class ColorSphere(){ }

However, i experience a problem now , as i know that i cant use
singleRender(), so i use basic rendering engine, it still doesnt works, may
i know what is the correct one i should use?

And also i need to create mouse interaction, like when i mouse over the
sphere, the sphere will move slowly, but when i move the mouse to the right
it will spin faster and vice versa,
here is the code i did previously, sphere.yaw((400 - mouseX) * 0.05);
however, it didnt work when i didnt extend basicview, i tried a few ways to
solve the problem, but it gave me runtime errors.
--
View this message in context: http://papervision3d.758870.n4.nabble.com/problems-with-rendering-and-mouse-tp3300745p3300745.html
Sent from the Papervision3D mailing list archive at Nabble.com.
Loading...