POV-Ray : Newsgroups : povray.general : sparkly gems Server Time
14 Oct 2024 07:45:31 EDT (-0400)
  sparkly gems (Message 1 to 7 of 7)  
From: David Kraics
Subject: sparkly gems
Date: 1 Jun 2024 21:15:00
Message: <web.665bc778eb9a59e934c10ae3a57e0@news.povray.org>
My son is coding a game. He is including gems, like in the Spyro games. He asked
me to make some 3D versions of his gems, for his own visual reference. I have no
problem with the shapes. But am puzzled on how to texture them to kinda look
like sparkly gems. Any recommendations?


Post a reply to this message

From: jr
Subject: Re: sparkly gems
Date: 2 Jun 2024 02:45:00
Message: <web.665c14ad882b1766869a24876cde94f1@news.povray.org>
hi,

"David Kraics" <bar### [at] aolcom> wrote:
> My son is coding a game. He is including gems, like in the Spyro games. He asked
> me to make some 3D versions of his gems, for his own visual reference. I have no
> problem with the shapes. But am puzzled on how to texture them to kinda look
> like sparkly gems. Any recommendations?

as luck would have it, "Yesbird" too is "playing" with gems currently :-)

<https://news.povray.org/66411b00%241%40news.povray.org>


regards, jr.


Post a reply to this message

From: David Kraics
Subject: Re: sparkly gems
Date: 2 Jun 2024 07:30:00
Message: <web.665c5788882b176634c10ae3a57e0@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
>
> as luck would have it, "Yesbird" too is "playing" with gems currently :-)
>
> <https://news.povray.org/66411b00%241%40news.povray.org>
>
>
> regards, jr.

Thank you. There is a lot to read, and I am trying to understand it. Some of the
instructions say to run with a certain command line. How do I do that
considering this is a windows program?


Post a reply to this message

From: David Kraics
Subject: Re: sparkly gems
Date: 2 Jun 2024 07:40:00
Message: <web.665c59fc882b176634c10ae3a57e0@news.povray.org>
NEVERMIND! I figured it out.


Post a reply to this message

From: Alain Martel
Subject: Re: sparkly gems
Date: 2 Jun 2024 13:14:03
Message: <665ca85b$1@news.povray.org>
Le 2024-06-01 à 21:14, David Kraics a écrit :
> My son is coding a game. He is including gems, like in the Spyro games. He asked
> me to make some 3D versions of his gems, for his own visual reference. I have no
> problem with the shapes. But am puzzled on how to texture them to kinda look
> like sparkly gems. Any recommendations?
> 

Give them an ior somewhere between 1.6 and 2.5, even gor some opaque 
ones. Gems usually have indexes of refraction larger than glass (1.5).
Use reflection{1 fresnel conserve_energy}
Use specular highlight in the finish. Also use fresnel at the finish 
level (version 1.8).
You may use phong highlight instead or in addition of specular.
Don't forget the light(s).
If transparent, use the interior with face_color Colour, fade_distance 
Distance and fade_power 1001. fade_distance is the key factor in 
determining the intensity of the colour of the transparent gems.
Don't forget to add some dispersion.
You may want to use some light probe for the environment. You may want 
to hide it using no_image.


Post a reply to this message

From: yesbird
Subject: Re: sparkly gems
Date: 2 Jun 2024 13:21:38
Message: <665caa22$1@news.povray.org>
On 02/06/2024 14:39, David Kraics wrote:
> NEVERMIND! I figured it out.
> 

Good to know, please fill free to ask me if you will need some help.
--
YB


Post a reply to this message

From: yesbird
Subject: Re: sparkly gems
Date: 3 Jun 2024 06:47:35
Message: <665d9f47$1@news.povray.org>
On 02/06/2024 14:39, David Kraics wrote:
> NEVERMIND! I figured it out.
>

Glad to hear, please feel free to ask me if you will have a questions.
--
YB


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.