 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Can anyone recommend an HDRI starfield texture that works with POV-Ray?
I haven't used HDRI ever before so I don't know what to look for. Thanks!
Michael
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Mike Horvath <mik### [at] gmail com> wrote:
> Can anyone recommend an HDRI starfield texture that works with POV-Ray?
> I haven't used HDRI ever before so I don't know what to look for. Thanks!
You didn't mention the context so I don't know what the starfield would be used
for, but there are some nice HDRIs at https://hdrihaven.com/hdris/ and even a
few with night skies.
If you just need something for a backdrop here's a simple noise-based texture
that might do the trick:
//------------------------------------------------------------------------------
// Stars and Nebula
//------------------------------------------------------------------------------
#declare T_StarField = texture {
pigment {
average
pigment_map {
[2
bumps
color_map {
[0 rgb 0]
[0.925 rgb 0]
[1 srgb 0.6] // white (with emission)
}
scale 1/2
]
[2
bumps
color_map {
[0 rgb 0]
[0.925 rgb 0]
[1 srgb 0.65] // white (with emission)
}
scale 1/3
]
[1.5
bumps
color_map {
[0 rgb 0]
[0.95 rgb 0]
[1 srgb <0.75,0.75,0>] // yellow
}
scale 1/4
]
[0.5
bumps
color_map {
[0 rgb 0]
[0.95 rgb 0]
[1 srgb <0.75, 0, 0>] // red
}
scale 1/8
]
[0.5
bumps
color_map {
[0 rgb 0]
[0.95 rgb 0]
[1 srgb <0, 0, 0.75>] // blue
}
scale 1/8
]
[0.5
bumps
color_map {
[0 rgb 0]
[0.925 rgb 0]
[1 srgb 0.6] // white (with emission)
}
scale 1/16
]
}
}
finish { emission 15 }
}
#declare T_Nebula = texture {
pigment {
bozo
turbulence 0.75
scale 0.125/2
color_map {
[0 rgbt 1]
[0.7 rgbt 1]
[0.8 srgbt <1, 0, 0.5, 0.75>]
[0.9 srgbt <0, 0, 2.5, 0.75>]
[1.0 srgbt <0, 2, 0, 0.75>]
}
omega 0.65
lambda 3
octaves 5
scale 10000*4
}
finish { emission 0.0035 }
}
//------------------------------------------------------------------------------
// Stars and Nebula
//------------------------------------------------------------------------------
sphere { 0, 10000
texture { T_StarField scale 10 }
texture { T_Nebula scale 1 }
texture { T_Nebula scale 1.5 rotate 45 }
rotate 180
}
Cheers,
Rob
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 1/25/2021 12:19 PM, Robert McGregor wrote:
> Mike Horvath <mik### [at] gmail com> wrote:
>> Can anyone recommend an HDRI starfield texture that works with POV-Ray?
>> I haven't used HDRI ever before so I don't know what to look for. Thanks!
>
> You didn't mention the context so I don't know what the starfield would be used
> for, but there are some nice HDRIs at https://hdrihaven.com/hdris/ and even a
> few with night skies.
>
Ah, sorry. I meant for an Outer Space scene. Those are all ground-based
photographs.
> If you just need something for a backdrop here's a simple noise-based texture
> that might do the trick:
>
Yeah, I'm using that. But you can tell they aren't point sources but are
blobb-ish smudges.
Mike
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 10/01/2021 4:18 pm, Mike Horvath wrote:
> Can anyone recommend an HDRI starfield texture that works with POV-Ray?
> I haven't used HDRI ever before so I don't know what to look for. Thanks!
>
>
> Michael
Not HDRI, but if you want to place actual objects as stars take a look
at BrightStar5 in the POV-Ray objects collection.
<http://lib.povray.org/searchcollection/index.php>
I used it in the opening sequence of this animation:
<https://youtu.be/GyqQolOK_qI>
m@
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 1/26/2021 6:17 AM, m@b wrote:
> On 10/01/2021 4:18 pm, Mike Horvath wrote:
>> Can anyone recommend an HDRI starfield texture that works with
>> POV-Ray? I haven't used HDRI ever before so I don't know what to look
>> for. Thanks!
>>
>>
>> Michael
>
> Not HDRI, but if you want to place actual objects as stars take a look
> at BrightStar5 in the POV-Ray objects collection.
> <http://lib.povray.org/searchcollection/index.php>
>
> I used it in the opening sequence of this animation:
> <https://youtu.be/GyqQolOK_qI>
>
> m@
Thank you!
The problem is that I use 1 meter resolution, and numbers in POV are not
64 bit.
Mike
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 2021-01-26 à 17:37, Mike Horvath a écrit :
> On 1/26/2021 6:17 AM, m@b wrote:
>> On 10/01/2021 4:18 pm, Mike Horvath wrote:
>>> Can anyone recommend an HDRI starfield texture that works with
>>> POV-Ray? I haven't used HDRI ever before so I don't know what to look
>>> for. Thanks!
>>>
>>>
>>> Michael
>>
>> Not HDRI, but if you want to place actual objects as stars take a look
>> at BrightStar5 in the POV-Ray objects collection.
>> <http://lib.povray.org/searchcollection/index.php>
>>
>> I used it in the opening sequence of this animation:
>> <https://youtu.be/GyqQolOK_qI>
>>
>> m@
>
> Thank you!
>
> The problem is that I use 1 meter resolution, and numbers in POV are not
> 64 bit.
>
>
> Mike
That should not be a problem. The various background constructions tend
to be scale independent.
In POV, the numbers are not 64 bit integer, they are double precision
floats, except for the colours that are in single precision during the
calculations.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |