Dynamic 3d nebula graphics
Loading...
456
views
Loading...
Uploader Comments (ElusivePete)
see all
All Comments (5)
-
This is great. I'm trying to create a realistic Nebula similar to this one in Blender using it's game engine in Python. My maths skills really aren't brilliant but this explains it really well. I hope I can get something even close to this!
Loading...
I tried that out in my software renderer. It's a really nice effect BUT doing alpha blending with software is so slow!!! It's because I wanted do myself all. xD
barkeg050 7 months ago
@barkeg050 Yes, blending in software is quite slow, so you're better off using a GPU-based pipeline for something like this. However, in this case you actually want additive blending, which can be a good deal faster because polygon rendering order doesn't matter.
ElusivePete 7 months ago
@ElusivePete Yeah, I'm taking a look at directx to use it for per pixel acces because I think it supports GPU-based alpha blending.
By the way, looks great for smoke and explosions too when you use animated textures :)
barkeg050 7 months ago
@barkeg050 Good plan. DirectX and OpenGL are the two major graphics programming APIs being used in the games industry, so they're definitely worth a look. I tend to find OpenGL is a bit easier to learn, but both support pretty much any blending algorithm you'd need.
I wouldn't recommend using them for per-pixel access though unless you're referring to shader programming (e.g. HLSL, GLSL, or Cg). Generally speaking, getting data back out of the GPU once its gone down the pipeline is quite slow.
ElusivePete 7 months ago