POV-Ray : Newsgroups : povray.advanced-users : textures Server Time
2 Nov 2024 05:20:54 EDT (-0400)
  textures (Message 1 to 6 of 6)  
From: ryan constantine
Subject: textures
Date: 5 Jun 2000 01:42:16
Message: <393B3EA2.77E18DFB@yahoo.com>
for general dirtiness on the xwing model i'm working on, i think i've
got it covered (?).  however, laser blast marks are giving me a
headache.  using most of the spot or leopard type textures gives a
blotchy effect, even when two of the directions are scaled.  plus, when
scaled in this way, there are too many blasts coming from the same
direction.  so i'm wondering how to make just a couple blasts come from
a direction so i can then layer multiple directions on top of each other
without the xwing looking like it got destroyed and rebuilt (if you know
what i mean).  now, i really want to use textures and not image maps so
that i can modify the phase or translation of them to make a fleet of
ships look like a fleet and not like clones.  i'm thinking there may be
more exotic textures (like functions?) that may be the solution, or that
there may be more in depth knowledge out there that can only come from
experience (which many of you have in abundance and i lack).  or- can
the keyword 'once' be used with textures other than maps?  if so, it
wouldn't be too hard to place a laser blast one at a time.  is any of
this making sense?  thanks.

ryan


Post a reply to this message

From: Bob Hughes
Subject: Re: textures
Date: 5 Jun 2000 03:42:37
Message: <393b59ed@news.povray.org>
One and only one thing came to mind.  To keep the leopard pattern confined to
a single area you could just scale it larger than the place it's applied on
while using a small part of the color map as opaque.  And if using any normal
at the same time then a normal map to go with.  Some turbulence in each of
course.
Sorry, but that's all I could think of.

Bob

"ryan constantine" <rco### [at] yahoocom> wrote in message
news:393B3EA2.77E18DFB@yahoo.com...
|  using most of the spot or leopard type textures gives a
| blotchy effect, even when two of the directions are scaled.  plus, when
| scaled in this way, there are too many blasts coming from the same
| direction.  so i'm wondering how to make just a couple blasts come from
| a direction so i can then layer multiple directions on top of each other


Post a reply to this message

From: Josh English
Subject: Re: textures
Date: 5 Jun 2000 11:22:20
Message: <393BC5FB.3DD39798@spiritone.com>
When I want single effects like that I use a spherical, cylindrical, or
boxed pattern with
color_map { [0. rgbf 1 ] .... }
This assured the pattern only appears once.

Josh English

ryan constantine wrote:

> for general dirtiness on the xwing model i'm working on, i think i've
> got it covered (?).  however, laser blast marks are giving me a
> headache.  using most of the spot or leopard type textures gives a
> blotchy effect, even when two of the directions are scaled.  plus, when
> scaled in this way, there are too many blasts coming from the same
> direction.  so i'm wondering how to make just a couple blasts come from
> a direction so i can then layer multiple directions on top of each other
> without the xwing looking like it got destroyed and rebuilt (if you know
> what i mean).  now, i really want to use textures and not image maps so
> that i can modify the phase or translation of them to make a fleet of
> ships look like a fleet and not like clones.  i'm thinking there may be
> more exotic textures (like functions?) that may be the solution, or that
> there may be more in depth knowledge out there that can only come from
> experience (which many of you have in abundance and i lack).  or- can
> the keyword 'once' be used with textures other than maps?  if so, it
> wouldn't be too hard to place a laser blast one at a time.  is any of
> this making sense?  thanks.
>
> ryan

--
Josh English
eng### [at] spiritonecom
"May your hopes, dreams, and plans not be destroyed by a few zeros."


Post a reply to this message

From: Margus Ramst
Subject: Re: textures
Date: 5 Jun 2000 11:47:07
Message: <393BBDAC.30690671@peak.edu.ee>
ryan constantine wrote:
> 
> direction.  so i'm wondering how to make just a couple blasts come from
> a direction so i can then layer multiple directions on top of each other

Like Bob said, using something like large spotted pattern with a small opaque
area will make the marks less dense. Another trick is to combine several layers
of the pattern, at somewhat different scales. This will help avoid the 'regular
randomness' effect where the marks are placed randomly, but still at roughly
regular intervals.

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

From: SamuelT
Subject: Re: textures
Date: 5 Jun 2000 23:32:14
Message: <393C7157.66E1D7A5@aol.com>
If I'm understanding you correctly, you want a texture that simulates laser
cuts from all angles? Well, I've made one in MegaPov. Most of the effects
shown are holes, but wouldn't that be the case in real life? If you have
time, render the code below to see it. Make sure to render the whole thing
if you do, because there is a nice gash near the bottom of the sphere.

#version unofficial megapov .5;

camera{location<0,5,-14> look_at 0 rotate y*-30}

light_source{<100,200,-50>,1}

#declare V=0;
#declare R=seed(9954);//change to another #'s for other random placements
#declare Dis=20;//change according to how large your object is

#declare Obj=
 union{
  #while(V<200)//change 200 to amount of 'holes 'n' scrapes' you want
   cylinder{
    <rand(R)*Dis-(Dis/2),rand(R)*Dis-(Dis/2),rand(R)*Dis-(Dis/2)>,
    <rand(R)*Dis-(Dis/2),rand(R)*Dis-(Dis/2),rand(R)*Dis-(Dis/2)>,.05
   }
   #declare V=V+1;
  #end
 }

#declare Scrapes= function{pigment{ object{Obj rgb 1, rgb .75} }}

sphere{0,4
 pigment{rgb 1}
 normal{function Scrapes}
}

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit my isosurface tutorial at http://members.aol.com/stbenge


Post a reply to this message

From: Mark Wagner
Subject: Re: textures
Date: 6 Jun 2000 02:34:39
Message: <393c9b7f@news.povray.org>
>if so, it
>wouldn't be too hard to place a laser blast one at a time.  is any of
>this making sense?  thanks.


If you make a laser blast texture using the "spherical" pattern, you can
then place individual hits wherever you want them.  You can use a random
amount of translation to have different X-Wings have different patterns of
damage.

Mark


Post a reply to this message

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