Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Rendering a random star field

$
0
0

@jag wrote:

Hi there, Im trying to make a star field, like this:

Currently Im just loading a vector with ~6000 spherePrimitives, then drawing them in a loop, and it is very slow (12fps).

Apparently I should use instancing for this. I've looked at the OF example, but it's relatively advanced considering I just want to render a bunch of static spheres. Does anyone have a simple explanation for how I'd do this?

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles