POV-Ray : Newsgroups : povray.general : Blob texture problem : Blob texture problem Server Time
19 Nov 2024 18:12:35 EST (-0500)
  Blob texture problem  
From: Rune
Date: 22 Jan 2002 15:02:25
Message: <3c4dc551@news.povray.org>
I have a blob with many blob components, and each component has its own
texture with a normal. The blob components are actually particles in a water
simulation.

The normals in the textures of each blob component has to move around
together with the blob components, that's why I assign textures to the
individual components rather than assigning a texture to the entire blob
object. In the areas where the components interact, the textures smoothly
blend together, kind of the same way as in a texture_map.

Now, the problem is that the *textures* are averaged, while what I really
need is to have the *normals* averaged. There's a big difference. Averaged
normals is an average of the simulated bumps on the surfaces. The result is
*one* new normal, and thus reflection, refraction etc. are only done once
for the surface. But when you average *textures* which have different
normals in them, the reflection and refraction etc. is done before the
average, so you get many refractions and reflections for the same surface.
This looks completely wrong for one thing, and it also renders much, much
slower.

There is no workaround to this problem AFAIK. Too bad. :(

The same problem applies to texture_maps by the way. If wish it could be
possible to specify whether the average should be done on a per-texture
basis or if it should rather be done separately for pigment, normal and
finish.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Jan 20)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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