GithubHelp home page GithubHelp logo

Some feature/improvements ideas about bpy HOT 9 CLOSED

uhlik avatar uhlik commented on August 24, 2024
Some feature/improvements ideas

from bpy.

Comments (9)

uhlik avatar uhlik commented on August 24, 2024

hi,
progress bar is available only for render engines. this is not a render engine, it just lets opengl write to texture and saves result as image. i can add some logging to terminal where you could check progress if you start blender from there. 10000 limit, there is no limit set (i think), i just tried and result was distorted, happens the same to you? i can have a look, but i'm afraid it will something related to blender itself or hardware. it's opengl, it's like you want your gpu to draw 10k+ x 10k+ screen

from bpy.

jvaloos avatar jvaloos commented on August 24, 2024

I was hoping that if animation is an iterative saving of rendered frames, there is a chance to display statistics about this process...
Following the terminal is not so convenient, but I think it's enough. Maybe there is a chance to estimate the remaining time of rendering?
About 10K limit: In my case, the result is distorted too. I am wondering about this round number (10,000) - not so informatics limit :)

from bpy.

mecowhy avatar mecowhy commented on August 24, 2024

Hi,
+1 for some progress tracking , maybe if progressbar is not possible some other control (like text label) could show current_frame/total_frames value during rendering ?

from bpy.

mecowhy avatar mecowhy commented on August 24, 2024

ok I'll answer myslef, looks like console output is the only solution to this problem, for reasons described here

from bpy.

uhlik avatar uhlik commented on August 24, 2024

image distortion is blender limitation or overlook from the time maximum render size was 10k. i am using this: https://docs.blender.org/api/blender2.8/bpy.types.Image.html#bpy.types.Image.scale to resize image after render even when Supersampling is disabled, so as temporal fix, comment out line 6383: # image.scale(width, height) and don't use Supersampling
will add some logging and maybe even time estimate later

edit: line changed to 6385

from bpy.

uhlik avatar uhlik commented on August 24, 2024

logging is in, scaling bug (might be feature?) reported..
log include elapsed and remaining time, and individual frames time, looks like this:

PCV: Frame: 1 (1/50) | Time: 0:00:00 | Remaining: 0:00:14
PCV: Frame completed in 0:00:00.286108.
PCV: Frame: 2 (2/50) | Time: 0:00:00 | Remaining: 0:00:14
PCV: Frame completed in 0:00:00.299350.
PCV: Frame: 3 (3/50) | Time: 0:00:00 | Remaining: 0:00:13
PCV: Frame completed in 0:00:00.292893.
PCV: Frame: 4 (4/50) | Time: 0:00:01 | Remaining: 0:00:13
PCV: Frame completed in 0:00:00.285406.
PCV: Frame: 5 (5/50) | Time: 0:00:01 | Remaining: 0:00:13
...

from bpy.

uhlik avatar uhlik commented on August 24, 2024

ok, it was my mistake and pretty stupid one. anyway, it should work now. but, on my machine anything large than 16384x16384 fails with exception and 16383 starts, but after while crashes.. was not patient enough to check which will result in something.. so, i guess there are some limitations..

from bpy.

jvaloos avatar jvaloos commented on August 24, 2024

There is an error in calculating the remaining time:

  • cannot be started from 0 frame (dividing by 0 error)
  • when the animation is started from frame above 1, the remaining time is negative (for ex. 3-5)
    :)
    Untitled-2

from bpy.

uhlik avatar uhlik commented on August 24, 2024

embarrassing.. should be fixed now

from bpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.