tiancaipipi110
Posts: 10
Joined: Fri Jun 01, 2018 12:00 am

3D character in Raspberry Pi using Blender, feasible?

Tue Jul 17, 2018 7:51 pm

Can I build 3D characters/animations with Blender(or any other supported modeling software) and deploy and run in Raspberry Pi ? I know there're some hardware limitations, not sure if there's a workaround. Thanks in advance.

User avatar
Gavinmc42
Posts: 2108
Joined: Wed Aug 28, 2013 3:31 am

Re: 3D character in Raspberry Pi using Blender, feasible?

Wed Jul 18, 2018 3:07 am

Can I build 3D characters/animations with Blender(or any other supported modeling software) and deploy and run in Raspberry Pi ? I know there're some hardware limitations, not sure if there's a workaround. Thanks in advance.
Yes you can and there is not even much work around needed any more ;)
viewtopic.php?f=68&t=214695

If you know Blender, use it, if you tried and failed to learn it, try BforArtists.
This is pretty much new stuff, pushing the VC4 GPU to the max ;)
The main trick seems to be taking the obj files and parsing them into a form the VC4 can handle.
We are all waiting to see Tim's code for the "ah, hah, that's how you do it" moment :D
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Imperf3kt
Posts: 1314
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: 3D character in Raspberry Pi using Blender, feasible?

Wed Jul 18, 2018 8:44 am

Gavinmc42 wrote:
Wed Jul 18, 2018 3:07 am
Can I build 3D characters/animations with Blender(or any other supported modeling software) and deploy and run in Raspberry Pi ? I know there're some hardware limitations, not sure if there's a workaround. Thanks in advance.
Yes you can and there is not even much work around needed any more ;)
viewtopic.php?f=68&t=214695

If you know Blender, use it, if you tried and failed to learn it, try BforArtists.
This is pretty much new stuff, pushing the VC4 GPU to the max ;)
The main trick seems to be taking the obj files and parsing them into a form the VC4 can handle.
We are all waiting to see Tim's code for the "ah, hah, that's how you do it" moment :D
I'm not sure if Blender runs on a Pi too well.
I use it on my old desktop PC which has severalfold more CPU and GPU power, as well as 8GB of RAM, and it takes up a lot of system resources, just siting the program at idle.
User experiencing technical difficulties.

tiancaipipi110
Posts: 10
Joined: Fri Jun 01, 2018 12:00 am

Re: 3D character in Raspberry Pi using Blender, feasible?

Wed Jul 18, 2018 2:36 pm

Gavinmc42 wrote:
Wed Jul 18, 2018 3:07 am
Can I build 3D characters/animations with Blender(or any other supported modeling software) and deploy and run in Raspberry Pi ? I know there're some hardware limitations, not sure if there's a workaround. Thanks in advance.
Yes you can and there is not even much work around needed any more ;)
viewtopic.php?f=68&t=214695

If you know Blender, use it, if you tried and failed to learn it, try BforArtists.
This is pretty much new stuff, pushing the VC4 GPU to the max ;)
The main trick seems to be taking the obj files and parsing them into a form the VC4 can handle.
We are all waiting to see Tim's code for the "ah, hah, that's how you do it" moment :D
Nice. Thanks for the info:)

User avatar
Gavinmc42
Posts: 2108
Joined: Wed Aug 28, 2013 3:31 am

Re: 3D character in Raspberry Pi using Blender, feasible?

Thu Jul 19, 2018 1:27 am

I'm not sure if Blender runs on a Pi too well.
Blander and BforArtisits use OpenGL in their UI.
Any improvement in that improves the Blender experience.
viewtopic.php?f=66&t=216804

Aarch64 OS's won't run faster due to Pi's using only 32bit DDR memory, but stuff in cache and b4a lite verson compiled specifically for Aarch64 does seem to make a BIG difference :D
I don't have a Gentoo32 bit OS to compare it for real, but Sakaki does have a way to run 32bit code on Gentoo64.
viewtopic.php?f=54&t=211260
So you could test the Raspbian Blender on Gentoo64.

The VC4 V3D driver is being worked on by Eric Anholt, I already feel it is stable enough for testing and even learning mesa3d coding.
If I knew lots more about Gentoo64 I feel I could even use it as a decent Desktop.
A the moment I play and break it weekly as I learn Gentoo's way of doing things.
Just yesterday I learned Sakaki has a page of kernels, followed the instructions and upgraded from 4.14.44 to 4.14.54 in minutes :o
https://github.com/sakaki-/bcmrpi3-kernel/releases
It takes much longer in Raspbian to do that.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Imperf3kt
Posts: 1314
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: 3D character in Raspberry Pi using Blender, feasible?

Thu Jul 19, 2018 2:45 am

My concerns actually lied with the amount of RAM available. 1GB (less what the system needs) is not really enough for editing 3D things beyond the simple stuff.
User experiencing technical difficulties.

User avatar
Gavinmc42
Posts: 2108
Joined: Wed Aug 28, 2013 3:31 am

Re: 3D character in Raspberry Pi using Blender, feasible?

Thu Jul 19, 2018 3:58 am

My concerns actually lied with the amount of RAM available. 1GB (less what the system needs) is not really enough for editing 3D things beyond the simple stuff.
Never really noticed Gentoo64 running out of memory when looking at Tim's starship model in b4a, about 10% usage.
Some tricks people have tried is zram, ie compression turns 1GB into about 1.5GB?
Eric's OpenGL driver only needs min 16MB and assigns more as needed.
I had a real reason to go to Gentoo64, more registers and faster access to the NEON, which I think happens when GCC 7.3 compiles b4a on Aarch64. Can it be tweaked even more?

Mesa3d libs/examples compile fine on Gentoo64, more deps needed in Raspbian.
Have not got around to bench marking the mesa3d code.

How far can a Pi be pushed for 3D modeling, no idea, this is all new to me.
To do Tim's texture baking with fog and lighting probably going to something bigger than a Pi?
But Tim has proved displaying it on a Pi even a Zero is not a problem.

Simple 3D modeling yes, making a Blender movie? Who knows, let's find out :D
A Pi Blender render farm? A stack of Pi3B+ could do it?
If one Pi can only render at 1fps, 24 Pi's will make it real time?

1GB is not a small amount of memory, if used well ;)
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 2108
Joined: Wed Aug 28, 2013 3:31 am

Re: 3D character in Raspberry Pi using Blender, feasible?

Fri Jul 20, 2018 12:12 pm

I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 51 guests