[Bf-funboard] Python objects

bf-funboard@blender.org bf-funboard@blender.org
Sat, 1 Nov 2003 11:27:39 -0600


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3A09D.72F2A4C0
Content-Type: text/plain;
	charset="iso-8859-1"


	There is a type of object in Pov-Ray known as an Iso surface.
Basically, it allows the user to supply a function that will be evaluated by
the rendered. Based upon this, an object will be rendered that conforms to
the equation.

	Here is my idea. How hard would it be to add "Python Objects" to
blender. This object would behave just like a mesh, NURBS or any other type
of object. However, in the edit buttons area, there would be an option to
load a Python script. When the object is rendered, Blender would call this
script, and the script would define what was rendered.

	The uses for this are unlimited. For instance, a grass script could
be created. This would create a field of grass maybe with hundreds of
thousands of blades. Doing this with Duplverts would be slow and hog memory.
But with this method, it would be procedural and take less memory.

		Timothy

------_=_NextPart_001_01C3A09D.72F2A4C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Python objects</TITLE>
</HEAD>
<BODY>
<BR>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>There is a =
type of object in Pov-Ray known as an Iso surface. Basically, it allows =
the user to supply a function that will be evaluated by the rendered. =
Based upon this, an object will be rendered that conforms to the =
equation.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>Here is my =
idea. How hard would it be to add &quot;Python Objects&quot; to =
blender. This object would behave just like a mesh, NURBS or any other =
type of object. However, in the edit buttons area, there would be an =
option to load a Python script. When the object is rendered, Blender =
would call this script, and the script would define what was =
rendered.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>The uses =
for this are unlimited. For instance, a grass script could be created. =
This would create a field of grass maybe with hundreds of thousands of =
blades. Doing this with Duplverts would be slow and hog memory. But =
with this method, it would be procedural and take less =
memory.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>Timothy</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3A09D.72F2A4C0--