POV-Ray : Newsgroups : povray.binaries.images : Re: Strange behaviour of Mesh2 and CSG Server Time
10 Aug 2024 15:25:45 EDT (-0400)
  Re: Strange behaviour of Mesh2 and CSG (Message 1 to 3 of 3)  
From: Zarniwoop
Subject: Re: Strange behaviour of Mesh2 and CSG
Date: 5 Aug 2004 06:10:00
Message: <web.4112069dc49d7f4a602399d40@news.povray.org>
Samuel Benge <stb### [at] hotmailcom> wrote:
> Are you trying this with surface subdivision? That mesh object looks
> *very* familiar :) If you are trying it with SS, you might want to take
> the SS block out of the mesh2 statement and see if you still get strange
> results.
>
> The only mesh-csg I've tried so far has been with height_fields (which
> work very well in csg operations).
>
> -Sam


There's no subdivision or other fancy stuff at all.
The reason why it looks *very* familiar is that it is coming as a demo scene
with Povray 3.6 and you can find it in scenes/objects/mesh2.pov. For Fig 2.
I did the following replacement:
----( original code )-------------------------------------------------
object {
  Mesh_A
  texture { Mesh_TextureA }
  rotate 180*z
  rotate 90*x
  translate <-2, -2, 1.5>
}
----( replacement code )----------------------------------------------
difference {
  object {
    Mesh_A
    texture { Mesh_TextureA }
    rotate 180*z
    rotate 90*x
  }
  plane {
    -y,0
  }
  translate <-3, -2, 1.5>
}
----------------------------------------------------------------------

The other objects are similar but I added the red cutting "planes" for
reference. The code (without rotation and translation) is:
----( "plane" code )--------------------------------------------------
box {
  -2,2
  scale <1,1,.00001>
    pigment { color rgb x transmit .9 }
    no_shadow
}
----------------------------------------------------------------------

Before posting the image I changed the camera to 1:1 ratio (right x) for a
smaller image and added the numbers in GIMP.


Post a reply to this message

From: Samuel Benge
Subject: Re: Strange behaviour of Mesh2 and CSG
Date: 5 Aug 2004 13:02:06
Message: <41126770.9010204@hotmail.com>
Zarniwoop wrote:

> Samuel Benge wrote:
> 
>>Are you trying this with surface subdivision? That mesh object looks
>>*very* familiar :) If you are trying it with SS, you might want to take
>>the SS block out of the mesh2 statement and see if you still get strange
>>results.
>> <clip>

> 
> There's no subdivision or other fancy stuff at all.
> The reason why it looks *very* familiar is that it is coming as a demo scene
> with Povray 3.6 and you can find it in scenes/objects/mesh2.pov.


Hmm, I feel a bit silly.... so that makes today normal after all :)

-Sam


Post a reply to this message

From: Florian Jung
Subject: Re: Strange behaviour of Mesh2 and CSG
Date: 5 Aug 2004 13:35:21
Message: <41126fd9$1@news.povray.org>
Christoph Hormann pointed me to the right place of the manual :-) The 
problem can be solved by adding an 'inside_vector' to the mesh2 object.


Post a reply to this message

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