Page 1 of 1

POV Ray not loading

Posted: Sun Jul 29, 2007 4:14 am
by wmalder
I've been having a problem with some of my models lately in that they won't render in POVRay and give me an error saying that POVRay is either not properly configured or the textures are not available in the directory (Not an exact quote but from memory). It does work on some models but not others. The models in question do generate through the Train Sim Wizard just fine and become fully usable models so I'm not sure what would be causing this. Does anyone have any idea where I might start looking?

Posted: Sun Jul 29, 2007 10:24 am
by decapod
The only problems I've had tend to be with the script folder access, but your problem sounds a little different.

Posted: Sun Jul 29, 2007 10:45 am
by kevmt
The only thing I can suggest is to check that, in the POV-ray options menu, you have "no restrictions" selected in the Script I/O restrictions options.

Kevin

Re: POV Ray not loading

Posted: Thu Oct 04, 2007 12:48 pm
by kevmt
Did you ever get this sorted?

I only ask, as I now have started to get the same error message!

Cheers,
Kevin

Re: POV Ray not loading

Posted: Thu Oct 04, 2007 3:32 pm
by wmalder
Sorry about not getting back as I've been a bit busy. No, I haven't figured out how to make it work. I've been working on a steam locomotive and the engine renders beautifully but for some reason the tender won't. Both the tender and the loco are in the same directory as are their respective .tga files. Both models have their textures files defined in the 3DC textures folder. And I've done the settings in POVRay as suggested earlier ( they were in fact always set that way ). I'm at a loss as to why one works and the other doesn't. As I mentioned, I can't see a significant difference in the way the two are set up. I'll keep investigating unless someone else has come up with a fix.

Re: POV Ray not loading

Posted: Thu Oct 04, 2007 8:28 pm
by kevmt
Thanks. I have a similar situation. I've tried many things over the last couple of days, but nothing has worked!

Cheers,
Kevin

Re: POV Ray not loading

Posted: Mon Oct 08, 2007 5:10 pm
by kevmt
After a frustrating few days of trying many different idea's, I have found a way that works for me.

Not sure if this is the same as yourself, but I tend to make the same model for different sims, and end up with several folders containing the same texture map names.
I think that I may have copied a canvas file and put this into another folder, along with the relevant textures. This is not a problem for canvas as it will pick up the textures from the new folder. Unfortunately, Povray does not seem to do this and still looks in the orginal folder for the texture. As this is different to the folder that the canvas file is located, you get the povray error message.

Here's what I had to do to overcome this :-

I had to move every folder that may contain the same named texture (that canvas may have accesed in your modelling) into another newly created folder. In fact I moved all my modelling folders (except the one I was working on) as its only takes a couple of seconds.

Don't start up canvas, but double click the canvas file your having problems with. This will open canvas and load the file. Try using the pov ray button. In my case it now worked as expected. You then need to make a slight alteration to the model, in some way, to allow you to save the model. You must save the model for this to work.
After this you should be able to move all your old folders back into there normal places.

I've tried it twice now and this method has worked both times. I have a feeling that, although canvas picks up the textures from the same files as the canvas file. Povray does not and you have to force it to pick the same folder by removing all other refereneces/folders.

Using the swap texture plugin does not seem to help in this case.

I Hope the above makes some sort of sense!

Cheers,
Kevin