povray how to start

hello there i wanted to try povray
but the script
blende2pov i from the year 2006
i try to find updates using google ,
but still finding some old version

what should i do ?

thank you

It could be that is the latest version, but you might find some more up to date information here - http://blenderartists.org/forum/showthread.php?t=56552

well that’s not helping ,
i have seen this thread before
the guy how post the blend2pov has no web site , and all posts are old
i dont know what to do .

this is also not helping

http://jmsoler.free.fr/util/blenderfile/fr/povanim_en.htm

all so old and not uptodate
why povray are not giving an exporter ?

You havent looked at the end of the thread… Blend2pov is maintained in synch with 2.49 CVS.

-First install an official version of blender.
-unzip the Blenderpackcomplement into it you download from HERE.
-unzip the latest blend2pov compilation you download from HERE.
(Direct link to the current version HERE)
-Of course, if it’s not done already, install Povray.
Let me know how it works.

ok i did as instructed
i installed povray “povwin362-32bit.msi”
but it seems to be that it cant locate povray

here is the out put :

Compiled with Python version 2.5.
‘import site’ failed; use -v for traceback
Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 3 pmat 1
checkToPovTexts 4
checkToPovTexts 5
checkToPovTexts 6 1
checkToPovTexts 7 1
checkToPovTexts 8 1
checkToPovTexts 9 1
checkToPovTexts 10 1
checkToPovTexts 11 1
checkToPovTexts 12 1
checkToPovTexts 13
checkToPovTexts 7
Povray.
Povray.
free render.
new render.
switchPovFile.
switchPovFile. ok !
Starting scene conversion.
Scene conversion done.
Procesando . . .
No export directory set in user defaults!
Will try TEMP instead: C:\DOCUME~1\shay\LOCALS~1\Temp
Couldn’t FIND registry key for Pov-ray, is it installed?
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7

In Blender preferences window, there is the old yafray XML export path, specify a location where the POV files will be genearate there, and save it in your default file.

Your Python is not installed, I’m not sure it’s needed but it can’t hurt:
http://dinsdale.python.org/download/releases/2.5.4/

We’ll see then…

see the settings in the attached image
i have Python 2.6 installed ,
cause i have yafaray version “YafaRay-0.1.1-win32”

can i open some Python file and set the povray path manually ?
or add some registry value manually?

Attachments


Install the Python version I pointed you to (2.5), it’s quite common to have several versions installed on a same system and causes no problem: programs needing the latest one still use the latest while others like Blend2Pov use the older one.

Choose a folder for the YFexport field. it will be where your POV files are put.

now i set the path to povray installation directory
i have installed phyton 2.5 from the link in your previous post

still same result

Attachments


Though you didn’t really get what I said fro the path (The entered path is not for Pov path, but the directory to which you want your blender files to be temporarily translated into Pov text files). It should work, the only thing I see is that you must have forgotten to unpack the Blenderpackcomplement necessary DLL’s into Blender/Blend2pov folder.

well i unpack all of the files inside blender directory
and i am starting blender from this file “win32blend2pov090807.exe”

yes and do sreenshots if it doesn’t work like what does your console output now? what’s your installation path to povray: I believe it needs to be specifically Program Files/Povray for windows v3.6

ok

see attached 3 images

1st : all files in blender directory
2st: the way i am rendering
3st: the blender out put

and here is the output for runing blender with degub mode :

D:\blender\blender-2.49-windows-py25>win32blend2pov090807.exe -d
Blender 2.49 (sub 2) Build
argv[0] = win32blend2pov090807.exe
argv[1] = -d
Compiled with Python version 2.5.
Warning: could not determine argv[0] path
Checking for installed Python… got it!
Color depth r 8 g 8 b 8
Aux buffers: 0
read file
Version 247 sub 5
read file D:\blender\blender-2.49-windows-py25.blender.B.blend
Version 249 sub 2

ordered
OBCube
OBLamp
OBCamera

Registering scripts in Blender menus …

Getting menu data for scripts from dir(s):
default: D:\blender\blender-2.49-windows-py25.blender\scripts

BPyMenus error: Wrong ‘Name’ line: flt_filewalker.py

Warning: script scripttemplate_camer_object.py’s menu name is already in use.
Edit the script and change its
Name: ‘Camera/Object Example’
field, please.
Note: if you really want to have two scripts for the same menu with
the same name, keep one in the default dir and the other in
the user defined dir (only the later will be registered).
BPyMenus error: Couldn’t create entry for: scripttemplate_camer_object.py

Warning: script uv_from_adjacent.py’s menu name is already in use.
Edit the script and change its
Name: ‘UVs from unselected adjacent’
field, please.
Note: if you really want to have two scripts for the same menu with
the same name, keep one in the default dir and the other in
the user defined dir (only the later will be registered).
BPyMenus error: Couldn’t create entry for: uv_from_adjacent.py
Color depth r 8 g 8 b 8
Aux buffers: 0
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 3 pmat 1
checkToPovTexts 4
checkToPovTexts 5
checkToPovTexts 6 1
checkToPovTexts 7 1
checkToPovTexts 8 1
checkToPovTexts 9 1
checkToPovTexts 10 1
checkToPovTexts 11 1
checkToPovTexts 12 1
checkToPovTexts 13
checkToPovTexts 7
Povray.
Povray.
free render.
new render.
switchPovFile.
switchPovFile. ok !
Starting scene conversion.
Scene conversion done.
Procesando . . .
No export directory set in user defaults!
Will try TEMP instead: C:\DOCUME~1\shay\LOCALS~1\Temp
Couldn’t FIND registry key for Pov-ray, is it installed?

total image memory len: 0.000 MB

total memory len: 10.347 MB
Combined rgba items: 1, len: 7.324 MB
Depth.Z items: 2, len: 1.831 MB
icon_rect items: 300, len: 0.293 MB
Data from ME items: 72, len: 0.229 MB
uiBut items: 182, len: 0.111 MB
Data from SCR items: 553, len: 0.097 MB
imb_addrectImBuf items: 10, len: 0.088 MB
reconstruct items: 83, len: 0.077 MB
Chunk buffer items: 12, len: 0.058 MB
Data from OB items: 167, len: 0.031 MB
vlaknodes items: 1, len: 0.031 MB
vertnodes items: 1, len: 0.027 MB
initfilt items: 18, len: 0.018 MB
node type items: 117, len: 0.016 MB
strdup items: 540, len: 0.014 MB
lib block items: 39, len: 0.013 MB
ImBuf_struct items: 10, len: 0.011 MB
findOrAddVert items: 1, len: 0.010 MB
findOrAddVlak items: 1, len: 0.010 MB
undo buf items: 8, len: 0.008 MB
user def data items: 2, len: 0.007 MB
drawinfo items: 309, len: 0.006 MB
texicon items: 309, len: 0.005 MB
pymenu items: 154, len: 0.005 MB
uiBlock items: 12, len: 0.003 MB
icon_img items: 300, len: 0.003 MB
Data from LA items: 24, len: 0.003 MB
Data from MA items: 5, len: 0.002 MB
new render items: 1, len: 0.002 MB
CustomData->layers items: 6, len: 0.002 MB
Data from SCE items: 37, len: 0.002 MB
uiDefBut items: 10, len: 0.002 MB
winopen items: 6, len: 0.001 MB
main items: 2, len: 0.001 MB
text items: 6, len: 0.001 MB
undo file items: 2, len: 0.001 MB
lampren items: 1, len: 0.001 MB
CDDM_from_mesh dm items: 2, len: 0.001 MB
rendertext items: 1, len: 0.000 MB
lme items: 23, len: 0.000 MB
sample tables items: 1, len: 0.000 MB
MemFileChunk items: 18, len: 0.000 MB
dupli_alloc items: 2, len: 0.000 MB
DAG node items: 4, len: 0.000 MB
Initfilt3 items: 1, len: 0.000 MB
Data from GR items: 10, len: 0.000 MB
new panel items: 1, len: 0.000 MB
Window items: 2, len: 0.000 MB
CDOrigIndex items: 6, len: 0.000 MB
object render struct items: 1, len: 0.000 MB
ObjectInstance items: 1, len: 0.000 MB
textline items: 6, len: 0.000 MB
fsme items: 9, len: 0.000 MB
bb items: 1, len: 0.000 MB
new render result items: 1, len: 0.000 MB
new render layer items: 1, len: 0.000 MB
RenderWin items: 1, len: 0.000 MB
DAG adj list items: 3, len: 0.000 MB
gqueue_new items: 6, len: 0.000 MB
soundlistener items: 1, len: 0.000 MB
QMCListBase items: 1, len: 0.000 MB
pysubmenu items: 5, len: 0.000 MB
Data from TXT items: 4, len: 0.000 MB
Data from TE items: 1, len: 0.000 MB
Data from WO items: 1, len: 0.000 MB
textline_string items: 6, len: 0.000 MB
groupobject items: 1, len: 0.000 MB
GHash items: 1, len: 0.000 MB
DAG root items: 1, len: 0.000 MB
memarena items: 1, len: 0.000 MB
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7

Attachments




From looking at the console It’s working now, all that’s missing is your YFexport path in preferences, you must have forgotten to save it with CTRL+U > Save User Defaults.

here is the new out put
how do i get to the screen for the blend2pov script
cause when i render i see nothing

Compiled with Python version 2.5.
Checking for installed Python… got it!
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 3 pmat 1
checkToPovTexts 4
checkToPovTexts 5
checkToPovTexts 6 1
checkToPovTexts 7 1
checkToPovTexts 8 1
checkToPovTexts 9 1
checkToPovTexts 10 1
checkToPovTexts 11 1
checkToPovTexts 12 1
checkToPovTexts 13
checkToPovTexts 7
Povray.
Povray.
free render.
new render.
switchPovFile.
switchPovFile. ok !
Starting scene conversion.
Scene conversion done.
Procesando . . .
Couldn’t FIND registry key for Pov-ray, is it installed?
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7

uninstall povray and reinstall with default location if you’re on XP before you try again
It’s not a script, it’s hard coded. the same way Yafray 0.9 was via an inbuilt XML writer if you want to see the textfile from povray click open, then just browse to the folder you put in your YFexport path, chose the Exp1.ini (if you exported frame 1 Exp2 if it was frame 2 etc…) and click the “run” green button. That’s another way you can render and actually the only way that also works when using the pov 3.7 beta version.

ok i reinstall povray

i didnt understand the part about Exp1.ini , i cant find this file

find the source cfor file exportPov_File.cpp
and i see the the dir in the registry is in correct
so i changed the
from “HKEY_CLASSES_ROOT\povfiles”
to “HKEY_CLASSES_ROOT\POV-Ray.Scene”

and now i get this error message

free render.
new render.
switchPovFile.
switchPovFile. ok !
Starting scene conversion.
Scene conversion done.
Procesando . . .
Pov-Ray found!

Blend2Pov output Done . (RCRuiz test for Blend2Pov 0.0.6j)

The filename, directory name, or volume label syntax is incorrect.
Could not execute PovRay. Is it in path?
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7
checkToPovTexts 1
checkToPovTexts 2
checkToPovTexts 13
checkToPovTexts 7

now i see , ExpM.pov and Exp.ini
and opening the file using povray application will render the file :slight_smile:

now looks like the command format in the registry is not valid