Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I speed up rendering of these datapoints?



I have a 3D fractal, represented as a cubic array of float values giving a brightness at each point. I'm currently working with a 200x200x200 array.

I'm rendering into an NSOpenGLView using the following:

glInterleavedArrays(GL_C3F_V3F,0,bufferData);
glDrawElements(GL_POINTS, bufferDataSize, GL_UNSIGNED_INT, bufferIndex);

bufferData is the array of floats (containing color & position), bufferDataSize is 8,000,000, and bufferIndex is the uint index array (which is just 0,1,2,3,4,5....)

Is there any faster way of rendering this? I'm open to suggestions of any alternate representations - I want to have a 3D cloud I can rotate around and see into, so I'm currently using blended points, but if anyone can suggest some better way... would 3D textures be worth looking into? I'm on a Radeon 9600, Powerbook 1.25GHz.

Any comments would be appreciated
cheers,
Jon
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.