|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I have started a plugin to allow the use for fractions to define the size
and transformations of a box() object.
It can be found linked from
http://ca.geocities.com/morayplugin/
Cube1a.zip is about 5k
The scale and shear internal transformations are incomplete.
Comments welcome.
If the general idea of entering numbers into a 'text box' is appealing, I
may extend this to some of my other plugins.
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks Stephen.
But can you give us some exemples ?
Friendly
Sylvain
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
...
> Cube1a.zip is about 5k
> The scale and shear internal transformations are incomplete.
...
Cube1a1.zip is about 5k
Can now select 'list symbolic output' or 'list numeric output'.
scale fixed
shear internal transformations are incorrect for displayed wireframe.
Comments welcome.
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
...
> But can you give us some exemples ?
...
Let me get the basic parts working first, then i'll make an example file.
The basic idea is to enter the start and finish points for a box(), default
is
box{<0,0,0>,<1,1,1>}. For example if you set 'finish x' to '5+3/32', the
plugin will output
box{<0,0,0>,<5+3/32,1,1>} for Povray.
Did this help?
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> I have started a plugin to allow ...
...
Cube1a2.zip now available.
The plugin has the following features:
List symbolic output, displays a window with the code that will be output
to Povray. Simple expressions are maintained.
List numeric output, displays a window with the code that is used to
display the wireframe. Simple expressions are evaluated to a single number.
Simple expressions can be entered in 'text box', example 4+5.2-(16/3)
Supported functions include:
+ - / *
sin(), cos(), tan(), asin(), acos(), atan2(),
abs(), exp, sqrt(),
ceil(), floor(), max(), min(), mod(),
Indirectly supported are:
degrees(), radians(), ln(), log()
Output is in the form of:
box {<x1,y1,z1>,<x2,y2,z2>
(internal transformations)
scale
shear
rotate
translate
object flags (no_shadow...)
material
(Moray transformations)
scale
rotate
translate
}
Comments welcome
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
3f7c1afd@news.povray.org...
> > I have started a plugin to allow ...
> ...
>
> Cube1a2.zip now available.
>
Eeerrrrrr are you sure your link works?
Marc
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Salut Marc :
essaye : http://ca.geocities.com/morayplugin/Cube1a2.zip
pgb
news:3f7c1da0$1@news.povray.org...
>
> 3f7c1afd@news.povray.org...
> > > I have started a plugin to allow ...
> > ...
> >
> > Cube1a2.zip now available.
> >
> Eeerrrrrr are you sure your link works?
>
> Marc
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
3f7c5522@news.povray.org...
> Salut Marc :
>
> essaye : http://ca.geocities.com/morayplugin/Cube1a2.zip
>
>
Ah merci :)
oups I didn't even notice that the link pointed to version 1a1
Marc
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
...
> oups I didn't even notice that the link pointed to version 1a1
...
oops, will fix :-)
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> I have started a plugin to allow...
...
Cube1a3.zip now available
includes Cube.lua and Sphere.lua(requires Cube1a3 or later)
Added a simple internal declare.
Anything before the first equal sign (=) will be replaced with anything
after the equal sign.
Substitution is in reverse order (last declared is applied first)
example:
m=*1
cm=/100
mm=/1000
2m+23cm+7mm
internally will be converted to (in steps)
2m+23cm+7/1000
2m+23/100+7/1000
2*1+23/100+7/1000
or
2.237
It's easy to confuse the plugin
mm=/1000
cm=/100
m=*1
from the previous example
2*1+23c*1+7*1*1
c is not a valid number, error!
There is reference to mesh2 and isosurface in the plugin, these are not
implemented yet.
Comments welcome
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |