jmmistrot
Registered
Okay I am at a loss...
I programmed a little Particle system using C++ on the Iris platform and it ran fine. I got my new G4 with OsX and I noticed in the DEv tools there was a GLUT example in C(objective C I think) of a prticle system. I ran it and it kicked butt, running more than 5000 particles pretty smoothly. Very cool I thought out loud. Soooo I compiled my particle system with the IDE and ran it and this is where it all got weird...It ran slower than the old unix box and was unable to calculate collisions fast enough. I was only able to get about 100 particles running. This doesn't make any sense. I can't believe that this is a C++ thing.. I have read that OsX likes objective C but come on... Someone straighten me out. Can I not code in C++ on the OsX platform? And if I do am I always going to experience such a performance hit? Please say it ain't so...
PS I am using stdlib containers to manage my particle objects.
Any help advice would be greatly appreciated..
I programmed a little Particle system using C++ on the Iris platform and it ran fine. I got my new G4 with OsX and I noticed in the DEv tools there was a GLUT example in C(objective C I think) of a prticle system. I ran it and it kicked butt, running more than 5000 particles pretty smoothly. Very cool I thought out loud. Soooo I compiled my particle system with the IDE and ran it and this is where it all got weird...It ran slower than the old unix box and was unable to calculate collisions fast enough. I was only able to get about 100 particles running. This doesn't make any sense. I can't believe that this is a C++ thing.. I have read that OsX likes objective C but come on... Someone straighten me out. Can I not code in C++ on the OsX platform? And if I do am I always going to experience such a performance hit? Please say it ain't so...
PS I am using stdlib containers to manage my particle objects.
Any help advice would be greatly appreciated..