Bug 925 : Provide another 3d api, that is a bridge to blender
Last modified: 2008-10-01 05:55




Status:
RESOLVED
Resolution:
WONTFIX -
Priority:
P2
Severity:
normal

 

Reporter:
stuaxo
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-09-20 23:50
Would be nice to have another 3d library the worked like the P3D or OPENGL
ones, but instead was a bridge into blender.

Processing would connect to blender via a local socket.

On the blender side everything is already scriptable with python (anything
possible in blender can be done with code in python).

The blender side would take commands from processing and render them
Additional Comment #1 From fry 2008-09-21 20:07
This sounds great, I encourage you to build such a thing and distribute it
as a library for use with Processing.
Additional Comment #2 From stuaxo 2008-09-22 13:22
"Verse is a network protocol that lets multiple applications act together
as one
large application by sharing data over a network. If one application makes
a change
to shared data, the change is distributed instantly to all the other interested
clients. The protocol and associated data format are both heavily optimized for
sharing data suitable for 3D graphics."
http://verse.blender.org/

With Verse you also get to talk to 3DMax and at least one game-engine.

The main problem is that there doesn't seem to be a java api for it, just
C++ and python. I suppose either the C++ code would need to be ported, or
more likely just have the java call into the native code.


n the Verse data format you can define, among other things:

* Transforms with movements
* Quaternion rotations
* Subdivision surfaces
* One-, two- and three-dimensional HDRI bitmaps
* Shader trees
* Displacement maps
* BRDFs
* Motion curve animation data
* Lights
* Skeletons

I'd imagine we probably only need the first one for a driver like P3D as
it's pretty simple.
Additional Comment #3 From stuaxo 2008-09-24 09:35
I found something called noodleglue which generates java wrappers for C++
libraries, this would be great; but the site seems to be down, if had
access to this maybe I could have a go
Additional Comment #4 From stuaxo 2008-10-01 05:55
(In reply to comment #3)
>
>
>
> Additional Comment #3 From
> stuaxo
> 2008-09-24 09:35
>
> <!--
> addReplyLink(3); //-->[reply]
>
>
>
>
> I found something called noodleglue which generates java wrappers
for C++
> libraries, this would be great; but the site seems to be down, if had
> access to this maybe I could have a go
>
>

(In reply to comment #3)
>
>
>
> Additional Comment #3 From
> stuaxo
> 2008-09-24 09:35
>
> <!--
> addReplyLink(3); //-->[reply]
>
>
>
>
> I found something called noodleglue which generates java wrappers
for C++
> libraries, this would be great; but the site seems to be down, if had
> access to this maybe I could have a go
>
>

Found it, info here:
http://www.stuartaxon.com/2008/10/01/noodleglue-found/