View topic - Collisions

Collisions

Post here general questions about usage of YafaRay and about the Blender Exporter UI

Collisions

Post Sat Feb 25, 2017 6:19 pm

Hi

Is it possible to render Blender Collision animations in Yafaray?

Many thanks
Racleborg
 
Posts: 16
Joined: Mon Jan 02, 2017 8:38 pm

Re: Collisions

Post Sat Feb 25, 2017 6:33 pm

Hello,

I believe so. Blender does the collision calculations and for each frame it would call YafaRay for rendering the frame with the meshes Blender has calculated.

Are you experiencing any issues trying to do it?
User avatar
David Bluecame
 
Posts: 343
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Collisions

Post Sat Feb 25, 2017 7:13 pm

Hi David

Thank you for your response.

I am still quite new to this so please excuse me if I am missing the obvious.

When I add the Collision modifier in Yafaray and then go to the Physics tab, it is empty?

Richard
Racleborg
 
Posts: 16
Joined: Mon Jan 02, 2017 8:38 pm

Re: Collisions

Post Sat Feb 25, 2017 7:41 pm

.... I got it (I think). Set up the physics in Cycles and THEN switch to Yafaray.

Sorry if I wasted your time.

Thanks
Racleborg
 
Posts: 16
Joined: Mon Jan 02, 2017 8:38 pm

Re: Collisions

Post Sat Feb 25, 2017 7:45 pm

Hi,

You didn't waste my time at all, in fact I'm grateful that you reported this. I will add it to the Bug Tracker and will try to fix it asap. Thanks!
User avatar
David Bluecame
 
Posts: 343
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Collisions

Post Sat Feb 25, 2017 7:48 pm

I've opened this in the bugtracker now:

http://www.yafaray.org/node/797
User avatar
David Bluecame
 
Posts: 343
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Collisions

Post Sat Feb 25, 2017 8:04 pm

Hi,

I've made a change in the development code to try to fix this.

I think you could try this if you want. Over your existing YafaRay v3.1.1-beta installation, download this file from here: https://github.com/YafaRay/Blender-Exporter/raw/b521835148d1cd77bcad0f64a989ff47934b9ffc/ui/__init__.py and overwrite the file in the folder ui/__init__.py

Then restart Blender and let's see if you can work with the Physics tab while you have YafaRay v3 selected.

Please let me know if this works for you or if it causes any new issues.
User avatar
David Bluecame
 
Posts: 343
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Collisions

Post Sat Feb 25, 2017 9:16 pm

That's great, David. I will try it out and get back to you shortly.
Racleborg
 
Posts: 16
Joined: Mon Jan 02, 2017 8:38 pm

Re: Collisions

Post Sat Feb 25, 2017 9:28 pm

hi

Sorry, but I will need a bit of help doing this if that's ok.

I have found the file that I need to replace, but when I click on your link it just opens as a text document in my CHROME browser (I'm on WIN10) How do I download the actual file? or do I need to copy and paste the text?

Thanks
Racleborg
 
Posts: 16
Joined: Mon Jan 02, 2017 8:38 pm

Re: Collisions

Post Sat Feb 25, 2017 9:34 pm

In your browser just right click on the link I posted and choose something like "save as" or maybe "download link", then you will be able to download it as a text file you can use to replace the existing one.
User avatar
David Bluecame
 
Posts: 343
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Collisions

Post Sat Feb 25, 2017 10:07 pm

Sorry to say that it does not appear to be working, but this is most likely due to me doing something wrong!

When I download the file, the file has had the .txt extension added to it, so it becomes__init__.py.txt.
So I deleted the .txt bit and replaced the existing file with that. Is that right? (Slightly embarrassed about my lack of computer know-how)
Racleborg
 
Posts: 16
Joined: Mon Jan 02, 2017 8:38 pm

Re: Collisions

Post Sat Feb 25, 2017 10:34 pm

It is now all working. When I click on the PHYSICS tab, it is all there.

Great

Many thanks :D
Racleborg
 
Posts: 16
Joined: Mon Jan 02, 2017 8:38 pm


Return to General Questions and Blender Exporter UI



Who is online

Users browsing this forum: No registered users and 2 guests