|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Great PoV gurus,
I am a green, yet eager PoV novice. Here's a bunch of questions:
1. How do I engrave text on the side of e.g. a torus object?
difference {
torus { 2, 0.75
texture { pigment { P_Gold2 } finish { F_MetalC } }
}
text { ttf "timrom.ttf" "TEXT" 1, 0
pigment { color Red }
finish { reflection .25 specular 1 }
translate <-1,-0.3,2.4>
}
scale < 6, 2, 4 >
rotate < 20, -10, 20 >
translate < -1.5, 0.0, -10.0 >
}
[Image]
In the picture I made it obvious that I can't do it right; I only
differenced the text
object from the ring but the text should first flow with the ring
curvature.
2. How do I get a laser beam, then curve it along a torus object then
get a
lens flare at one end of it ? I know, these are three questions...
3. Is there a place I can go and find all sorts of source files that
could
possible answer some/all my above basic questions?
Many many thanks,
Gitay
--
===================================================================
Gitay Kryger, Ph.D. Phone: +972-8-934-3759
Dept. of Structural Biology Fax: +972-8-934-4159
The Weizmann Institute Cellular/VoiceMail: +972-52-494725
Rehovot, 76100, ISRAEL E-mail: Git### [at] Weizmannacil
===================================================================
Post a reply to this message
Attachments:
Download 'us-ascii' (4 KB)
Download '/tmp/nsmail37dd353320f6a19.jpeg.png' (6 KB)
Preview of image '/tmp/nsmail37dd353320f6a19.jpeg.png'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Gitay Kryger wrote:
> 1. How do I engrave text on the side of e.g. a torus object?
If you don't need very deep-loking engraving, you might consider
using a bump-map mapped onto the torus, is faster and easier.
> 2. How do I get a laser beam,
Many ways to do it : bright cylinder, cylindrical spotlight
with media (harder)
>then curve it along a torus object then
Well, you'd better take the cylinder option, and use a portion
of torus for the curved part of the laser.
> get a
> lens flare at one end of it ? I know, these are three questions...
Look for lensflare includes files by Nathan Kopp or Chris Colefax.
> 3. Is there a place I can go and find all sorts of source files that
> could
> possible answer some/all my above basic questions?
Wait for Uncle Ken to jump and say "visit my links page"...
Fabien.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Fabien Mosen wrote:
> > get a
> > lens flare at one end of it ? I know, these are three questions...
> Look for lensflare includes files by Nathan Kopp or Chris Colefax.
Which you can find on my links page.
>
> > 3. Is there a place I can go and find all sorts of source files that
> > could
> > possible answer some/all my above basic questions?
> Wait for Uncle Ken to jump and say "visit my links page"...
>
> Fabien.
Follow the link below to wonderland...
--
Ken Tyler
See my 1000+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In <37DD3533.933DB877@Weizmann.ac.il>, Git### [at] weizmannacil wrote:
>I am a green, yet eager PoV novice. Here's a bunch of questions:
>
>1. How do I engrave text on the side of e.g. a torus object?
>In the picture I made it obvious that I can't do it right; I only
>differenced the text
>object from the ring but the text should first flow with the ring
>curvature.
I have an example you might find useful at
http://www.hoboes.com/html/NetLife/POV/. It engraves text on the bottom of
a spent bullet casing.
The technique I used--doing the text a letter at a time--might not work
for you if the curvature of the ring is significant compared to the width
of the text.
I've also been experimenting with slicing up text and "curving" it in that
way. This pretty much requires a lot of patience or the max_extent keyword
of the superpatch. Something like the following should give you
#include "colors.inc"
camera {
perspective
location < 0.0, 0.0, -5 >
look_at < 0.0, 0.0, 0.0 >
}
light_source {
< -100.0, 100, -100 >
color rgb White
}
background {
color White
}
//the amount of curvature is determined by the radius
//the 'quality' of the cutting is determined by the fineness.
//the smaller the fineness, the finer the cut
#declare curveradius = 1.5;
#declare fineness = .05;
#declare mytext = text {
ttf "timrom.ttf",
"POV-Ray"
0.1, 0
}
#declare textExtent = max_extent(mytext);
#declare textMintent = min_extent(mytext);
#declare currentstep = 0;
#declare archangle=degrees(asin((fineness/2)/curveradius))*2;
#declare currentangle = 0;
/* #declare curvedText = */ union {
#while (currentstep < textExtent.x)
intersection {
object { mytext }
box {
<currentstep,textMintent.y,0>,
<currentstep+fineness,textExtent.y,textExtent.z>
}
translate <-(currentstep+fineness/2),0,0>
translate <0,0,curveradius>
rotate <0,currentangle,0>
#declare currentangle = currentangle + archangle;
}
#declare currentstep = currentstep+fineness;
#end
rotate <0,-currentangle/2,0>
pigment { color Green }
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Fabien Mosen wrote:
> Gitay Kryger wrote:
>
> > 1. How do I engrave text on the side of e.g. a torus object?
>
> If you don't need very deep-loking engraving, you might consider
> using a bump-map mapped onto the torus, is faster and easier.
You could also try using individual heightfields for each letter and
differencing each letter from the torus. You could then control the
softness of the letter edges by playing with anti-alias and blur functions
when creating the heightfield images.
David
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In <jer### [at] cerebusacusdedu>, I wrote:
> color rgb White
That should, of course, be "color White".
Jerry
http://www.hoboes.com/jerry/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Gitay Kryger wrote:
> Great PoV gurus,
>
> I am a green, yet eager PoV novice. Here's a bunch of questions:
>
> 1. How do I engrave text on the side of e.g. a torus object?
>
I have a SuperPatch solution for this one. See "20 Years" on 2 Aug 99 in
the ng p.b.i
If you want this code, I can post it in p.t.s-f
Mr. Art
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mmmmnn, that's given me an idea.....<wonders off in a daze>....
Graham Redway.
------------------------------------
The chances of anything coming from
Mars are a million to one, he said.
------------------------------------
Gitay Kryger wrote:
>
> Great PoV gurus,
>
> I am a green, yet eager PoV novice. Here's a bunch of questions:
>
> 1. How do I engrave text on the side of e.g. a torus object?
>
> difference {
>
> torus { 2, 0.75
> texture { pigment { P_Gold2 } finish { F_MetalC } }
> }
>
> text { ttf "timrom.ttf" "TEXT" 1, 0
> pigment { color Red }
> finish { reflection .25 specular 1 }
> translate <-1,-0.3,2.4>
> }
>
> scale < 6, 2, 4 >
> rotate < 20, -10, 20 >
> translate < -1.5, 0.0, -10.0 >
>
> }
>
> [Image]
>
>
> In the picture I made it obvious that I can't do it right; I only
> differenced the text
> object from the ring but the text should first flow with the ring
> curvature.
>
> 2. How do I get a laser beam, then curve it along a torus object then
> get a
> lens flare at one end of it ? I know, these are three questions...
>
> 3. Is there a place I can go and find all sorts of source files that
> could
> possible answer some/all my above basic questions?
>
> Many many thanks,
> Gitay
>
> --
> ===================================================================
> Gitay Kryger, Ph.D. Phone: +972-8-934-3759
> Dept. of Structural Biology Fax: +972-8-934-4159
> The Weizmann Institute Cellular/VoiceMail: +972-52-494725
> Rehovot, 76100, ISRAEL E-mail: Git### [at] Weizmannacil
> ===================================================================
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Someone made an engraving?
GRedway <GRe### [at] Totalisecouk> wrote:
> Mmmmnn, that's given me an idea.....<wonders off in a daze>....
>
> Graham Redway.
>
> ------------------------------------
> The chances of anything coming from
> Mars are a million to one, he said.
> ------------------------------------
>
> Gitay Kryger wrote:
> >
> > Great PoV gurus,
> >
> > I am a green, yet eager PoV novice. Here's a bunch of questions:
> >
> > 1. How do I engrave text on the side of e.g. a torus object?
> >
> > difference {
> >
> > torus { 2, 0.75
> > texture { pigment { P_Gold2 } finish { F_MetalC } }
> > }
> >
> > text { ttf "timrom.ttf" "TEXT" 1, 0
> > pigment { color Red }
> > finish { reflection .25 specular 1 }
> > translate <-1,-0.3,2.4>
> > }
> >
> > scale < 6, 2, 4 >
> > rotate < 20, -10, 20 >
> > translate < -1.5, 0.0, -10.0 >
> >
> > }
> >
> > [Image]
> >
> >
> > In the picture I made it obvious that I can't do it right; I only
> > differenced the text
> > object from the ring but the text should first flow with the ring
> > curvature.
> >
> > 2. How do I get a laser beam, then curve it along a torus object then
> > get a
> > lens flare at one end of it ? I know, these are three questions...
> >
> > 3. Is there a place I can go and find all sorts of source files that
> > could
> > possible answer some/all my above basic questions?
> >
> > Many many thanks,
> > Gitay
> >
> > --
> > ===================================================================
> > Gitay Kryger, Ph.D. Phone: +972-8-934-3759
> > Dept. of Structural Biology Fax: +972-8-934-4159
> > The Weizmann Institute Cellular/VoiceMail: +972-52-494725
> > Rehovot, 76100, ISRAEL E-mail: Git### [at] Weizmannacil
> > ===================================================================
> >
> >
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Havana7" <nomail@nomail> wrote:
> Someone made an engraving?
>
The way I did it in Pov was to create your ring at the origin. Then create a
single letter text object at the origin. Next scale the text object so that is
about the right size with respect to the ring. Translate the text object out to
intersect the ring, for engraving. Copy the text object, change the letter to
the next letter in the word and rotate it about the origin to its correct
position. Rinse and repeat until finished. (This is laborious unless you use a
mono-spaced font.) Put all the text objects in a union and difference that from
the ring.
I found it looked better and was easier when I made a mesh in blender out of a
box with the text differenced and that object deformed into a circular ring.
Then rendered it in Pov. :)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|