POV-Ray : Newsgroups : povray.binaries.animations : Particles in space - collision.mpg (0/3) : Re: Particles in space - collision.mpg (0/3) Server Time
18 Jul 2024 18:30:47 EDT (-0400)
  Re: Particles in space - collision.mpg (0/3)  
From: Zeger Knaepen
Date: 25 Feb 2004 12:49:19
Message: <403ce01f$1@news.povray.org>
"Hughes, B." <omn### [at] charternet> wrote in message
news:403a9682$1@news.povray.org...
> > Question:
> > In the end I want to make a animation of two planets colliding,
> > so I converted the particles to blobs. That went ok. Then I put a
> > image map of the earth on the blob.....what a mess....distortion all
> > over. No matter how much I translate and scale, i cannot get a proper
> > planet.
> If you're using map_type 1 and applying the pigment to the entire blob (not
> individual components) I don't see any reason for it not to work right. At
> least until it begins to change away from a spherical shape. Once it begins
> to distort away from a sphere the image can't map to individual parts
> properly when using an ordinary image_map without uv mapping. I have no idea
> if blob can ever be uv mapped. In any case, translate and scale shouldn't
> matter for map_type 1.

It should be more or less ok if you add the texture for every component, before
you translate the component away from it's initial position.  Hope this makes
sense :)

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

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