Page 1 of 1

M42 nebula in galaxy rendering

Posted: 25.12.2006, 21:15
by McWgogs
I was just experimenting with the galaxy rendering to see how would M42 nebula look like.
this is what i came out with:
Image

looks pretty good, apart form the color and all,
but if the code would be modified,
we could have nice cloudy models for some custom nebulas :)
how about that?

Posted: 25.12.2006, 21:18
by Cham
This is interesting.


Could you give a download link so we can test it ?

Posted: 25.12.2006, 21:25
by McWgogs
Sure.
here's the png i used
(it's a random m42 photo i found in google, paintshopped.)
Image

Posted: 25.12.2006, 21:29
by Cham
Also, you should show the same nebula, as seen from various angles, so we could feel its 3D shape.

Posted: 25.12.2006, 21:45
by McWgogs
here you go
a short animation: (click)
Image
more of a galaxy :P
the code needs to be modified to support nebulas, (make e'm thicker, not galaxy flat, and colors from the png maybe?)
this is just proof-of-concept-like-thing,
yet looks better than the billboard meshes :)

Posted: 26.12.2006, 12:50
by McWgogs
Here's how it looks like in the correct place in Orion

Image

pretty good :) i'm keeping it :D

here's the code :

Code: Select all

Galaxy "M42"
{
        Type        "Irr"
        CustomTemplate    "m42.png"
        RA          05.586166
        Dec       -5.387833
        Distance         1400.3
        Radius              10
        AbsMag            -5
        Axis          [ -0.204464 0.509529 -0.835808]
        Angle          191.414
}


here's the model
Image