![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Am 19.06.2010 20:23, schrieb SharkD:
> I still don't understand what value I /should/ be using for
> inside_vector. Someplace inside the mesh that is not <0,0,0>?
There is no "right" value, and no "wrong" one either except for <0,0,0>
- any non-zero vector will usually do. I often use "y", but you can just
as well use "x", "z", "<1,1,1>", "<42,23,4711>",
"<sqrt(13),log(77),sin(0.2)>" or... well, maybe you get the idea.
The only situation when the actual value of this vector may make a
difference is when you get artifacts - in that case choosing some other
value may help.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On 6/19/2010 5:13 PM, clipka wrote:
> Am 19.06.2010 20:23, schrieb SharkD:
>
>> I still don't understand what value I /should/ be using for
>> inside_vector. Someplace inside the mesh that is not <0,0,0>?
>
> There is no "right" value, and no "wrong" one either except for <0,0,0>
> - any non-zero vector will usually do. I often use "y", but you can just
> as well use "x", "z", "<1,1,1>", "<42,23,4711>",
> "<sqrt(13),log(77),sin(0.2)>" or... well, maybe you get the idea.
>
> The only situation when the actual value of this vector may make a
> difference is when you get artifacts - in that case choosing some other
> value may help.
OK, thanks.
--
http://isometricland.com
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"SharkD" <pos### [at] gmail com> schreef in bericht
news:4c1ceb68$1@news.povray.org...
> I'm a bit confused by input_vector. Is it a vector or a point? I have
> simply been placing it at the exact center of each mesh, which sometimes
> happens to be the origin.
For instance, Poseray puts the inside_vector at the end of the mesh2:
mesh2{
.....all mesh data.....
inside_vector <0,0,1>
}
Thomas
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On 6/20/2010 3:49 AM, Thomas de Groot wrote:
> For instance, Poseray puts the inside_vector at the end of the mesh2:
>
> mesh2{
> .....all mesh data.....
> inside_vector<0,0,1>
> }
>
> Thomas
>
>
I didn't mean placement within the blocks of SDL code, LOL!
--
http://isometricland.com
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"SharkD" <pos### [at] gmail com> schreef in bericht
news:4c1ddc4a$1@news.povray.org...
> I didn't mean placement within the blocks of SDL code, LOL!
>
Great! One of my infamous misunderstandings :-)
Thomas
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Le 2010-06-17 11:48, SharkD a écrit :
> When I intersect two solid meshes I get weird artifacts, as can be seen
> in the following images. The red object is the main object, the green
> object is the one I'm trying to subtract. The artifacts aren't _always"
> there. Sometimes they disappear when the radius of the green object
> changes. Any clue why this is happening?
>
>
Looks like a problem with the orientation of the inside vector.
Try changing it a little.
If it's value is <0,1,0>, change it to something like <0.0001,1,0>.
Alain
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |