|
![](/i/fill.gif) |
A smooth mesh should hold the same positions in space a a non-smoothed
mesh, so the distance to the surface should be the same.
I'm not sure how the normal vector would affect an electrostatic field.
You need to calculate the closest point between the mesh and your
arbitrary point to determine the strength of the field.
Joshua
eng### [at] spiritone com
Peter Popov wrote:
> Greetings all.
>
> Suppose I have a sphere that is electrostatically charged. The
> intensity of its field at any point in space is proportional to the
> reciprocal squared distance, and the vector points away from the
> sphere. For a plane, it's easy. I think I can manage torii, cylinders,
> and cones. Even non-smoothed meshes.
>
> How about a smoothed mesh? OK, I have all the vertices and
> corresponding normals stored in two arrays, but then what? How should
> I proceed to calculate the field vector and intensity at an arbitrary
> point in space?
>
> And yeah, I am talking about POV script here, not C :)
>
> Thanks in advance for any help.
>
> Peter Popov
> ICQ: 15002700
Post a reply to this message
|
![](/i/fill.gif) |