[x3d-public] Crops in silico -- potential x3d.py customer?

John Carlson yottzumm at gmail.com
Wed Jun 24 15:18:53 PDT 2020


Looks like they're using an alternate 3D three.js library, pythreejs:

https://github.com/cropsinsilico/plant_viz/blob/master/plants.ipynb

They're also using PLY as input. Perhaps a python based .ply to X3D.py is
in order?

I'm seeing some use of PLY in X3DJSAIL examples:

$ grep -i "\."ply *.*
HelloWorldProgramOutputLog.txt:'meshlabserver -i input.obj -o output.ply -m
vc fq wt -s meshclean.mlx'
HelloWorldProgramOutputLog.txt:           output.ply file
HelloWorldProgramOutputLog.txt:'meshlabserver -i input.obj -o output.ply -l
2 -m vc fq wt -o output_last.ply -l l -s meshclean.mlx'
HelloWorldProgramOutputLog.txt:           (if it exists!) will be saved
into the output.ply file
HelloWorldProgramOutputLog.txt:'meshlabserver -i input0.obj -i input1.ply
-w outproj.mlp -x -s meshclean.mlx'
HelloWorldProgramOutputLog.txt:           composed by input0.obj and
input1.ply meshes.
HelloWorldProgramOutputLog.txt:           The mesh input1.ply will become
the current mesh of the
HelloWorldProgramOutputLog.txt:           (containing references to the
input0.obj an input1.ply).
HelloWorldProgramOutputLog.txt:           The files input0.obj and
input1.ply will be overwritten.

I've got a potential PLY -> JSON -> X3DOM solution in nodejs JavaScript,
using scripts from X3DJSONLD (not es6). I'm not sure how complete my PLY is.

There's also a Visualization repository alongside the plant_viz one.

Live demo:

https://cropsinsilico.github.io/#/









On Wed, Jun 24, 2020 at 4:24 PM John Carlson <yottzumm at gmail.com> wrote:

> Looks like this repository is getting a bit ancient:
>
> https://github.com/cropsinsilico/Visualization
>
> Looks like python though?
>
> Maybe render the results in X3DOM?
>
> Also consider mapping between 3D ontology and a plant ontology I haven't
> found yet?
>
> Does anyone know how L-systems are related to .hipnc file extension?  What
> is .hipnc?
>
> John
>
> On Wed, Jun 24, 2020 at 3:46 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> Despite going to an ag school, I didn’t know the second meaning of
>> “rendering plants.”   Thus I will switch to another term that perhaps is
>> less disgusting—“in silico” plants.
>>
>> Is anyone doing in silico plants for the web?
>>
>> RenderMan perhaps is a play on Soylent Green?
>>
>> My wife wants me to do a computer garden.
>>
>> So I start at:
>> https://lucasmuseum.org/works/detail/asset_id/1292
>>
>> Perhaps a bit too far back?
>>
>> John
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200624/82cf3606/attachment.html>


More information about the x3d-public mailing list