|
![](/i/fill.gif) |
> What makes you think the sphere is the fastest?
I tried putting 10000 spheres and 10000 triangles into a scene. Rendering
the triangle scene took about 5 times longer (don't know the exact numbers
any more).
For a triangle an intersection between a plane and a ray has to be
calculated, and then it has to be checked if the point is inside the
triangle. For a sphere, only the intersection point has to be calculated. I
think checking if a point is inside a triangle is more complex than
calculating the ray-sphere intersection.
> Using meshes is more efficient memory-wise, and probably a lot faster
> than a bunch of spheres.
Triangles surely need less memory, but they seem to render slower. Also, if
I want similar effects to the sphere-grass, I need smooth triangles, which
render even more slower.
Post a reply to this message
|
![](/i/fill.gif) |