Light Sabre

The Flag,
No problem, we are all new once. The color map is altered in PovRay. In 3DC you can apply the colors and translucency, and in POV you can add the color_map and manipulate colors and translucency farther. You could create a simple sphere in 3DC that is red, and once in PovRay using and manipulating the code sample below, could make it blue and translucent, or any other color you choose.

Here’s the way I used the color_map on the outer blade of the light sabre. Color_maps can be used in lots of different ways. This one helps to get the look I wanted in an ‘interior-media’ statement.

interior {media {
emission 2.15

scattering {1, 0.5}
density {spherical
color_map{
[0.0 rgb andlt;0, 0, 0.9andgt; 0.9]
[0.5 rgb andlt;0.2, 0.2, 0.9andgt; 0.9]
[1.0 rgb andlt;1, 1, 1andgt;]

}}}}hollow
}
The three numbers inside the arrow brackets control the amount of ‘Red, Green, Blue’ color in that order.

The best way to see how this works is to create your own simple scene in 3DC, then export to PovRay, and start playing with textures, color maps, etc. It’s time consuming because you have to re-render the scene after making changes in the code to see the effects the changes have made. The sample code above would be placed at the end of the object difinition code, just after the column ‘normal_indices’.

Les

Hows this for a light sabre guys? The hilt is fashioned after one of the nine(9) hilts used in used in the new Jedi Academy game. It’s not an exact replica but pretty close. The blade is actually two in one. An inner more brilliant white blade, with an outer blade more transparent and with a little blue color to give the glowing effect.

Tell me what you think,
Les

Cool Les.

I can almost hear the hum and see the sparks when this ones comes into contact with another.

<!– s:) –><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /><!– s:) –>

Nice. I like the glow effect I’ll have to give it a try. <!– s:) –><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /><!– s:) –>

Bazza

Hi
pretty cool your light saber.

bye

I agree, that glow effect looks great. <!– s8-) –><img src="{SMILIES_PATH}/icon_cool.gif" alt="8-)" title="Cool" /><!– s8-) –>

Like the glow – got to have a go at this <!– s:) –><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /><!– s:) –> it looks fun.

Well here is my effort….hope you don’t mind me posting on your post Les ?
I was trying to get a rubber grip in the handle – not too sure if iut worked ? Very high poly as I divided it a couple of times. The glow here is an ‘after fx’ – think I will try again over easter but use Les’ idea….

edit – modeled in 3dc (obviously) rendered in carrara studio

Thanks guys <!– s:D –><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" /><!– s:D –> .
Final render was in POV.

Alan,
I like your version too, and for my part I think you got the rubber grip look……looks great <!– s:D –><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" /><!– s:D –>

how did you get pov ray to render it like that I used a similar technique varying the opacity map but when renderd it still didnt look tha cool.[img:bya1hazp]http&#58;//flags-world&#46;dbspot&#46;com/mdlpics/ls3&#46;jpg[/img:bya1hazp]

heres mine this is a textured blade.

The Flag,
First I used two cylinders for the blade as stated above. Next I changed the color_map settings for the inner blade to a bright white with very little translucency. I used a blue color_map on the outer blade with higher translucency values.

In your color_map code, you see three or four lines that make up the color_map;

Example:
color_map {rgb andlt;0, 0, 1andgt; 3} Wherever you see a forth number like the ‘3’, that is the filter value. By increasing or decreasing the filter value you increase or decrease the translucency level. It just filters more or less light through the object.

I hope this helps. If you need it I can send the complete color_map code via email for you to look at.

Les

umm I’m newto this whole 3d graphics thing. is the color map altered in 3DC or pov ray. excuse my lackk of understanding

You must be logged in to reply in this thread.

12 posts