View Full Version : using openGL to produce a mesh cube
12-26-2010, 06:03 AM
I want to use openGl to draw a mesh cube whose density can be controled!Please give me some method.Algorithmic language describing will be better.Wait for you advice.God bless you and me!
12-26-2010, 06:18 AM
OpenGL draws triangles, not densities. If you're talking about a solid cube, the density is not a property that can be drawn.
For a cube that represents atmosphere or smoke or something, it depends on how you intend to draw it. There are several methods for volumetric rendering available to you.
12-26-2010, 06:01 PM
What I want to complete is that.Do you have some good idea? I'd be most grateful https://2gjdna.bay.livefilestore.com/y1pZbt_4qQfflAmh5RxW6LaMhjZtSz5yHsGBHp2fvzFlMv0MZO k2tiicRlBiy5bvPms9VfaisX8nlMHtZtlOQ4nl3cZwhRGIh8Q/%E7%AB%8B%E6%96%B9%E4%BD%93.jpg?psid=1
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.