got error for postprocessing the result of demo_POST_povray

29 views
Skip to first unread message

star war9527

unread,
Sep 8, 2022, 7:53:01 AM9/8/22
to ProjectChrono
Hello, I am trying to test the demo of demo_POST_povray. I got the output files in the directory DEMO_POVRAY successfully after running the binary file demo_POST_povray.

However, when I tried to run povray render_frames.pov.ini, I got the following error:

"
File 'render_frames.pov.assets' line 66656: Possible Parse Error: Cannot find
 file '/home/starwar9527/Coding/opensource/github/chrono/build/data/textures/bluewhit
e.', even after trying to append file type extension.
File 'render_frames.pov.assets' line 66656: Possible Parse Error: Cannot find
 image file.
Fatal error in parser: Cannot open file.
Render failed
"
I have checked the image file and it was there.

Could anyone please help me ? Thank you!


Sanskruti Jadhav

unread,
Sep 8, 2022, 8:00:05 AM9/8/22
to star war9527, ProjectChrono
This is classic error of the povray file generated 

I remember I had to modify the file given in error as there was a typo.  check in the textures folder if you have bluewhite.png / jpg file and then the line needs to be changed accordingly in the location of given error. You see the extension is missing. Just add png /jpg whatever it is in textures

After this you will get couple more errors which u need to manually edit in the generated POVray file.
Apparently this povray ini file is not correctly generated by demo_Post_povray

--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/55344744-afe0-4601-add2-868397d98b07n%40googlegroups.com.
--
Sincerely
 
Sanskruti Jadhav

Master’s student
Department of Automotive Engineering

Clemson University International Center for Automotive Research 

Mob. +1 8642018215

star war9527

unread,
Sep 8, 2022, 9:56:46 AM9/8/22
to ProjectChrono
thank you for your reply. There is indeed the image type 'png' missing. After adding it, I got an error about 'union'

"
File 'render_frames.pov.assets' line 66659: Parse Error: No matching } in
 'union', union found instead
Fatal error in parser: Cannot parse input.
Render failed
"

and the related snippet of the file render_frames.pov.assets is as follows


66655 #macro mt_94543288114160()
66656 texture { uv_mapping pigment { image_map {png "/home/starwar9527/Coding/opensource/github/chrono/build/data/textures/bluewhite.png" }}}
66657 #end
66658 #macro sh_94543288114560()
66659 union  {
66660 box  {
66661  <-0.1,-0.1,-0.01>
66662  <0.1,0.1,0.01>
66663  quatRotation(<1,0,0,0>)
66664  translate  <0.4,0,0>
66665 }
66666 }
66667 #end



Because I am new to povray, and I googled for the error, but could not find a correct way to fix it. Do you know how I can make it correct? Thank you!
Reply all
Reply to author
Forward
0 new messages