Integration YafaRay-E.Experimental + The Bounty

Started by lanuhum
18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

Hi!
I Blender user, which is very bad speak English.
I have always been interested in animation.
Yafaray saw the problem, if the number of polygons more than a million.
The best time was the PovRay.

I wrote:
https://github.com/Lanuhum/BlendPov-alternative
When I collaborate with the developer of the official version of the addon for Blender render_povray.
A year ago, I learned about theBounty, but it is not interested, but watched the development of the project.
Yesterday I learned about C ++ exporter today made it.
Is really great!!!
9 500 000 quads or 19 000 000 tris.
It took 6 minutes!!!
Very, very, very good!
David Bluecame. It is an experimental version YafaRay-E.Experimental
You will have it:
http://www.yafaray.org/community/forum/viewtopic.php?f=22&t=5091
???
I know Python API Blender and going to learn C ++ and write code to transfer data from Blender to Povray directly, without the use of files.
But, if the Bounty faster, then I want it.

8be85caac78e76deced9182a23b67687?s=156&d=mm

rubdos

Hi!

I've made the url's clickable in your post. We're using Markdown here, on povmaniac's request :)

I think povmaniac is going to answer this, I haven't been on the C++ part the last month.

A4fd8ba5715b01a9ecc9022ce80aa39b?s=156&d=mm

povmaniac

Hey lanuhum. My english is bad too :)
I are talk with Povblend developer sometimes and I added or suggest some code in the past ( for smoke..). My problem is the fault of free time for dedicated to all projects :). But i want finding some time this summer for going back to C++ Blender integration. Currently, the geometry is the bottleneck of Python exporter's.
If you have some suggestion for collaborate between the both projects, not doubt it to say me.
Greetings.

18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

Hey lanuhum. My english is bad too :)
I are talk with Povblend developer sometimes and I added or suggest some code in the past ( for smoke..). My problem is the fault of free time for dedicated to all projects :). But i want finding some time this summer for going back to C++ Blender integration. Currently, the geometry is the bottleneck of Python exporter's.
If you have some suggestion for collaborate between the both projects, not doubt it to say me.
Greetings.

Hi!
Maybe I rushed to talk about integration.
You may need to remove the bug.
The bounty is not working blend material for the two glass materials.

  1. I create a cube with subdivide surface modifiers (val = 4).
  2. Unwrap UV
  3. Load image BlackWhite: black and white horizontal lines.
  4. Create material red glass.
  5. Create material green glass.
  6. Create material blend:
    material one red glass,
    blendvalue 0.5,
    material two green glass,
    add texture image BlackWhite,
    texture mapping UV,
    in texture influence check blending amount.
  7. Render result: red glass sphere
  8. Replace blend material in first place.
  9. Render result: Yellow glass sphere.

In Yafaray-Experimental render result: glass sphere with red and green lines.

A4fd8ba5715b01a9ecc9022ce80aa39b?s=156&d=mm

povmaniac

Hi lanuhum. I think that Yafaray dev are introduced some changes in materials. So, maybe is not possible reproduce the same results with TheBounty.
Btw.. can you shared the scene for test?? You can use pasteall.org

Greetings..

18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

I did not say that when I use the addon with C ++ exporter, when you open this file, Blender emergency stops. This also happens if I try to create a similar material.
I am happy to help you.

As for C ++ exporter. You used cython? I have not seen anywhere .pyx files.

A4fd8ba5715b01a9ecc9022ce80aa39b?s=156&d=mm

povmaniac

Hi lanuhum.
You can see all c++ exporter code here
Currently, this branch is stopped because rubdos is very busy and maybe the total integration inside Blender is the best idea :)
Greetings..

18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

Hi lanuhum.
You can see all c++ exporter code here
Currently, this branch is stopped because rubdos is very busy and maybe the total integration inside Blender is the best idea :)
Greetings..

My idea is the opposite.
To render an animation I want to use the blender as a python module inside the external render. This will create a very big scene (10 - 50 Millin polygons) of several Blender files. Blender does not allow to create such a scene in one file (2 - 4 or more gigabytes).
External render for this should be the GUI.
I have made an attempt to capture data from a python module of Blender in C ++ code.
Static objects can not restart them from frame to frame. This saves time.
But now it's only an idea. I rendered the file .pov 4 gigabytes. In Blender it does not fit.
:)))))

A4fd8ba5715b01a9ecc9022ce80aa39b?s=156&d=mm

povmaniac

Ah!. Ok. It seems interesting. If you have time, it can enter our channel of IRC and share his ideas with us. We are not too much, between 4 and 8 persons.
You can use our web IRC interface

And it does not worry for his English bad. Im not English man, I are Spanish :)

18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

Ah!. Ok. It seems interesting. If you have time, it can enter our channel of IRC and share his ideas with us. We are not too much, between 4 and 8 persons.
You can use our web IRC interface

And it does not worry for his English bad. Im not English man, I are Spanish :)

I am a primitive man. I do not know how to use modern means of communication. But there is nothing to say. I will write the code in C ++ and I will show you. You look, and make conclusions. Not until Monday.
:)))))

3bbfc80ed6c5d625946cdbc54cd73191?s=156&d=mm

mauritiusray

I can't wait to see that! Did you find the extension library in povray sources? one of the pov editors is using it? i can't remember if it's Moray

LionSnake

Newsgroup post by some user named Henrik

and another named Hugo here

18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

I can't wait to see that! Did you find the extension library in povray sources? one of the pov editors is using it? i can't remember if it's Moray,
LionSnake
Newsgroup post by some user named Henrik
and another named Hugo here

I do not get it. :(
clipka told me that the source code povray does not allow to do what I want.
The code in a big mess.
But, why are you talking to me about the Povray here?

3bbfc80ed6c5d625946cdbc54cd73191?s=156&d=mm

mauritiusray

I thought you would compare the two renderers with this methodology. Sad news from povray dev then :-/
but keep up the work, it's always good!

18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

I develop a theme. :)
Now in my project files 7!!! See the link above :)
I came across an obstacle. Py_Finalize() kills apps.
My poor English prevents the right to ask google :(

18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

Now arrange code.
I do not handle. :(
Not working examples.
Memory: 1760
Start app. Memory: 1760
vertices number = 983042
Press button "Render" . Memory: 2380
Press button "Render" . Memory: 2750
Press button "Render" . Memory: 3100
Press button "Render" . Memory: 3470
What you need to be reset. Which variable is stored.
I see no reason.
I do not like this work.

But what we have with the glass, which is a blend of material???
You wrote that bug - a little mistake.

A4fd8ba5715b01a9ecc9022ce80aa39b?s=156&d=mm

povmaniac

Now arrange code.
I do not handle. :(
Not working examples.
Memory: 1760
Start app. Memory: 1760
vertices number = 983042
Press button "Render" . Memory: 2380
Press button "Render" . Memory: 2750
Press button "Render" . Memory: 3100
Press button "Render" . Memory: 3470
What you need to be reset. Which variable is stored.
I see no reason.
I do not like this work.

But what we have with the glass, which is a blend of material???
You wrote that bug - a little mistake.

Yes. The blend material issue are fixed with this commit

18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

The problem was in the exporting?
And, what about the exporter in C ++?
When is the best, I choose the best! :))))

A4fd8ba5715b01a9ecc9022ce80aa39b?s=156&d=mm

povmaniac

The problem was in the exporting?
And, what about the exporter in C ++?
When is the best, I choose the best! :))))

The C exporter expert are 'rubdos'. I don't touch this code from a long time ago :(
And btw.. his development are stopped, at the moment.

18a71362b9a21141a1e19600d848fae2?s=156&d=mm

lanuhum

You're part of the problem corrected

with photon mapping result is also green (shadow and caustic).

Due to the fact that the developers have thrown their work on projects I learn programming. In you there is little hope. You have your business. :))))

A4fd8ba5715b01a9ecc9022ce80aa39b?s=156&d=mm

povmaniac

You are sure that use the last TheBounty 0.1.6.rc4 from donwload page + last 0.1.6.rc4 exporter from github page??