|
Thanks for the response Chaos. I just now found the offending line of code, although I don't see how it really makes a difference.
I had specified a fixed camera location, with the projection set to perspective mode, so I thought the problem was that the animation was hidden from the projection view... but that doesn't make sense since it works perfectly well with zbuffer. The exclusion of the camera location fixed the problem though.
I did see your kluge, which is hilarious and awesome, and in the process of debugging this problem I encountered and fixed another issue with openGL and the Virtual Reality toolbox.
I guess my question here is: How the hell have so many bugs slipped through the cracks, especially for the most effecient renderer available?
You would think that, especially for Matlab, openGL would have the highest priority as a renderer, and that it would have the fewest bugs, not the most.
Cheers
-Phil
"Chaos" <rothko.fan@gmail.com> wrote in message <gsqb3d$lfp$1@fred.mathworks.com>...
> "phil " <prosteenNOSPAM@gmail.com> wrote in message <gsoh8p$mhk$1@fred.mathworks.com>...
> > I have Matlab7R14 (for Linux) and I am trying to write an animation S-function and am using the aero_guidance demo animation S-function to get started.
> >
> > Everything is working, but I want to include transparency and make the animation more efficient. When I try to change from zbuffer renderer to openGL, the animation is lost completely but no error is thrown.
> >
> > I am not using Phong lighting, and I have tried to search for a similar problem but with no success. Has anybody else seen this? If so, apologies for a redundant post, but if not I welcome any helpful advice.
>
> search the newsgroup, there are plenty of people reporting bugs and bombs with the OpenGL implementation, i've numerous bugs. i posted a kluge of how i got opengl to work.
|