povray35/megapov0.7&1.0/mlpov0.8 exporter(Feb 24)

hi,

Anyway, :wink: new release of povanim 8) :


#--------------------------
# V.12p
#    Added:
# - Extra materials: "Global Reflection" to set all relflection to a
#    given value
#    or to not reflection at all; "Global Map Value" to set the power
#    value of the 
#    uvmapped textures in pigment_map/texture_map; "Global
#    paint Value" to set 
#    the power value of the vertex paint textures in
#    pigment_map/texture_map
# 
# - Postprocess for Megapov. 3 windows: focal blur (for fun), 
#   posterize  and   find_edges (for toon shading!!)
#

:wink:

http://jmsoler.free.fr/images_site/povanimthumb.gif

news release, V12r. Minor bugs fixed as animation of objects with
negative size, default color of faces when material is given to the
object not to a mesh. No more conflict between name object and
povray keywords.
Etc.
http://jmsoler.free.fr/util/blenderfile/povanim.htm

jm

jm, can you explain the following?

I have exported a scene file (test.blend) which has a sphere, a plane, and a square spotlight to povray 3.5

When I load up maintest.pov and run it, I get the following error:

<snip pov messages>

File: meshtest.inc Line: 11
Error: Could not find file ‘testSphereverts.inc’

File: meshtest.inc Line: 11
vertex_vectors{ #include “testSphereverts.inc”

<----ERROR

Parse Error: Cannot open include file testSphereverts.inc.
File: meshtest.inc Line: 11
Warning: Check that the file is in a directory specifed with a +L switch
or ‘Library_Path=’ .INI item. Standard include files are in the
include directory or folder. Please read your documentation carefully.

Returned from renderer with error status

To get this error fixed, I have to open the meshtest.inc file and add "mesh" to every #include statement in that file, that is:

//Mesh number: 1
#declare Sphere = mesh2 {
                      vertex_vectors{ #include "mesh	estSphereverts.inc"}
                      normal_vectors{ #include "mesh	estSpherenorm.inc"}
                      face_indices{ #include "mesh	estSpherefaces.inc"}
                      normal_indices{ #include "mesh	estSpherenindice.inc"}
}

After editing the meshtest.inc file, the scene renders fine with no errors.

Any suggestions?

Apart from that, nice script, I like the nice tidy pov file the script creates.

regards


Brian

Hi Brian,

try to load “maintest.ini” instead of the “.pov” one and run it. The addresses of the libraries are defined in this file.
Thank to use Povanim.

:slight_smile: jm

Thanks jm!

All sorted now!

:smiley:


Brian

To play with the new “Material Design’s Graphic Interface” of the future release14
http://jmsoler.free.fr/util/blenderfile/PyPovanim_14c.zip
Not complete yet, the material interface is not active either…

:slight_smile:

Your script just gets better and better, the GUI actually looks good too!
I recently saw that one of your scripts (the one that creates shells) was actually used for a python magazine cover (‘PyZine’ I think).

Thank you.
It becomes harder to change parts without a heavy work and a lot of time.

Whow! I didn’t know. Cool thing.
:slight_smile:

You can find the magazine here:
http://www.pyzine.com/issues/01/01/

http://jmsoler.free.fr/util/blenderfile/PyPovanim_B225.zip
Just a trial…

jm

Would you care to publish the sources of the function library? I have been trying to look into the .py module code, but it seems that some bugs are in the function library.

I would appreciate it if I were allowed to look into the code and have a go at the ‘bugs’ (incompatabilites with 2.25).

Thx.

-DHNL

Incompatabilites with 2.25 is not a “bug”. The blender 2.25 python API is simply different. If you are interested to use
Povanim with the publisher 2.25 try this files:
http://jmsoler.free.fr/util/blenderfile/PyPovanim_B225.zip

jm

I know they are no bugs (that’s why I used the ‘’). I know it is because of the incompatabilities.

I tried already the PyPovanim_B225 (downloaded it a few hours ago), but because of the different Python API it has some problems (unless you just updated the the scripts :wink: ). That’s why I asked wether it is possible to look at the source of the function library…

Sorry, sources are not free for the moment …

jm

Sorry, sources are not free for the moment …

jm[/quote]

…and they will be not until the end of the development.

jm

new version of the script:
http://jmsoler.free.fr/util/blenderfile/PyPovanim_14i.zip
It is possible now to add bump effects to materials. Try the “normal” windows in Extra Material. English tutorial if i find a translator for this page (not yet ended):
http://jmsoler.free.fr/util/blenderfile/povanim_addnorm.htm

jm

hi, i’m an old blender user and i’m new at povanim. I tried to make a glass sphere with refraction but the sphere is now green! does anyone know what is the problem?

That is just a problem with the line
“fade_color <0.51.0,0.81.0,0.6*0.15789>”
in meshyourfile.inc . If you do not like :smiley: this color
you can remove this line.

Regards

That was it! Thank you jms! :smiley:

That is just a problem with the line
“fade_color <0.51.0,0.81.0,0.6*0.15789>”
in meshyourfile.inc . If you do not like this color
you can remove this line.

or change teh value:
“fade_color <0.80,0.8,0.8>”
for instance…

regards