[povanim] problem with step 1 of installation

Hi,

i wanted to try out povanim since im also quite fond of povray.

and i actualy did notice the step one, “place povanim255i_00.pyo in the blender executable directory or in the export directory”
and i also did that, but i still get the

Traceback (most recent call last):
File “lanc_povanim225i_00.p”, line 38, in ?
ImportError: No module named povanim225i_00

Now since i have win2k i also have a per-user submap for programs to dump some of there stuff. (like all my blend files,renders and unpacked textures)
so i also put the dll there still nothing

So basicly i have no idea where to put the file now.

(well i have a idea, but writing a perl* script to copy the dll to evry directory on my computer seems a bit overboard)

i just don’t like python, who ever tought it was a good idea to make {'s and ('s unnecessary should be shot. :wink: :smiley:

I think u can put the file anywhere u want, but let’s say the file is in the Blender directory. Then you have to set the Python field in Blender screen to the name of the directory, for example, ‘C:\Program files\Blender’ (without the ''s…). It worked for me because I put my scripts in a folder I created (D:\Scripts) and I set the Python field to this directory.

I hope it works!

This works for me:
E:\blender-publisher-2.25b-windows
blenderpublisher.exe
python20.dll
povanim255i_00.pyo

not exactly: the directory where is localised the file you want to export.

No need for a new copy of python20.dll anywhere. Blender tries to load module it is a sign that python works correctly.

Are you sure of your blender version? Blender 2.23
is not able to understand and see the “pyo” module. Try to use
blender 2.25/2.26 instead or use the blender 2.23 version of the script:
http://jmsoler.free.fr/util/blenderfile/povanim15a_01.zip

(old version of my script have been tested on w2k pro to make this anim:
http://jmsoler.free.fr/video/maintoondrag1201.AVI
)

regards.

I had the same problem with Blender 2.26 and PovAnim 2.26, under win98.
I placed the two PovAnim 2.26 py in the Blender 2.26 directory.
The 2.23 version works perfectly, instead.

Env

I have the same problem too, … sometimes.
But it works if the file is saved just before running the script.

I have the same problem too, … sometimes.
But it works if the file is saved just before running the script.[/quote]

A test with win 2000 pro and original blender publisher 2.25 (bought version not the recent compilation) this afternoon: no problem at all.

yeah, sorry i downloaded the wrong version.

i am still having problems with it but i am unsure why.
and becouse i’m a bit stressed for time, (school projects and such)
i don’t have very mutch time to play around with it or to solve it myself.
So if i have time to sort out the problems i’ll either reply to this thread with the error or not if i solve it myself.

the testpov that comes with povanim exports without a problem, so basicly it’s good.

(just have to search how to run those ini’s though, it’s been about 4 years since i tinkerd around with povray and i never had a use for ini files before. (i mostly did pseudo math images and pre-drawn on milimeter paper architecture (especially for school projects a nice 3D picture scores that extra point :wink: )

thanks for the quick help,

Hi jms, I’m currently exporting my meshes in Povray by PovAnim and making some test with the materials, trying to “emulate” the Blender materials in Pov… :-? (yes, I know Pov materials are better than Blender’s, but I’m used too much to obtain certain effects by add, mul, sub, etc… :smiley: ).
Anyway, the next step will be exporting an animation but I’d have a question:
since for complex meshes the exporting time is very long, is it enaugh to export, let’s say, the Allosaurus mesh with uv one time in relaxed pose? I mean, is it suitable for animation? When I export 100 frames, PovAnim export 100 different meshes (with huge time amount, I suppose) or it export only the whole mesh one time and then the differences in the mesh beetwen frames (with less time amount, I suppose)?
Don’t know if I’ve explained myself well…

Env

povanim exports only moving geometry: vertices and normals, and materials object if you have materials animated for instance. But not the complex material of the faces: vertex paint, uvmapping. These two ones are the longer part of the exportation and, anyway, we can not animate them in blender

Thanks for reply.
So, if I well understand, PovAnim will export the Allosaurus mesh with his uv coordinates one time, and then it export just only the moving geometry of the mesh…
But if every part of the Allosaurus mesh is animated by IKA for 100 frames, what is the difference? Since the geometry moves in every frame, it is like exporting 100 times the Allosaurus mesh, isn’t it?

Env

Yes, it is!!
:slight_smile:

Just try with 5 frames to evaluate the time of geometry exportion. I think that you will be surprised by the speed. Writing descriptions for each face with materials is a very heavy words processing. Vertices and normals files are really shorter.

Thank you, jms. I’ll try it! :smiley:

Env

ok had some time and tried to track down my problem.

and basicly i still don’t have a clue to what is causing the problem.

i’m using Blender-2.26 with povanim 226_06
on a windows2000

Blender is installed in
C:\program files\blender foundation\Blender-2.26
Blender stores all the blend files and textures and such in
C:\Documents and Settings\erik1\Aookication Data\Not a Number\Blender
povray 3.5 is installed in
C:\program files\POV-Ray for windows v3.5
povanim 226 is installed in
C:\povanim226
Python22
C:\Python22\

i have copy’s of povanim226_06.pyo in
C:\povanim226\
C:\program files\blender foundation\Blender-2.26
C:\Documents and Settings\erik1\Aookication Data\Not a Number\Blender
C:\Python22\

Blender searches for python in C:\Python22\Lib
I also set the povray directory in the lanc_povanim226_06.py script
from F:\Program Files\POV-Ray for Windows v3.5\bin to C:\Program Files\POV-Ray for Windows v3.5\bin

the demo file that comes with povanim exports without a problem.
if i try to export one of my own files (sphere, plane 1 light and camera no textures or materials)
the scripts chrashes back to text with this in the blender console.

Traceback (most recent call last):
File “Text”, line 943, in bevent1
File “Text”, line 643, in BasdepageBevent
File “Text”, line 480, in export_file
File “psypovanim226_05b.py”, line 7597, in Test_exportVers
File “psypovanim226_05b.py”, line 7237, in writeMain
AttributeError: ‘NoneType’ object has no attribute ‘mode’

if i then look at what it has done, it has exported all the meshes.
i guess succesfully since the files hava data in it.
there is a cam*.inc lamp*.inc mat*.inc mesh*.inc and main*.pov
no ini*.ini

main*.pov hols te text

//povray beta version 3.5
// POVANIM export from : chess , Main

well i hope someone can tell me what i’m doing wrong, cause i sertainly can’t

hi,

3 solutions:

1/ you can add a “world” in the blender file.
2/ you can unselect the media options in the povanim photons window
3/ you can download the new version of the scrip where this problem is corrected since wednesday, late in the evening…

Thanks for your persistence!
:wink:

thanks a lott :slight_smile: :slight_smile:

now this is a true example of community power.

funny note, when i read to your solution 1 the first thing i thought was
“You can add a world to a blender file?”
lol :slight_smile:
i’ll download the new version right away.