ArchiCAD plugin grass shader

Graphisoft ArchiCAD (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Post Reply
User avatar
face_off
Octane Plugin Developer
Posts: 15694
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Hi. Following is some info on the grass shader I am currently developing for the plugin. It works by creating an Alembic (ABC) file containing hair strands which render in Octane a grass blades. The generation of the ABC file is similar to the generation of CSV files - however it is done instead of loading an OBJ file (ie. so instead of loading an OBJ as a proxy, you load an ABC file - and the plugin will generate the ABC for you).

This is designed only for grass blades - it is not a generic hair strand generator. Each grass blade has 4 vertices (root, tip and 2 in between), and the Randomness effects the height variance and bend in the blade. You need to refresh the Octane scene once an ABC file has been generated in order for it to be loaded into the scene.
grass shader dialog.png
Because ABC files have a different material connection point to OBJ files inside Octane, there are some constraints with the grass material. There is no "default" grass material - so you need to Import your material each time you regenerate the ABC file. You cannot Material Pick a grass shader material - instead, select the proxy host and the grass material will appear in the Materials tab.

The render below was 500,000 blades of grass (hair strands). Even at this volume, there is quite a load on the graphics card. Over 1 million strands you will need a powerful graphics card. The plugin will generate up to 10 million strands - however I am not sure if this number of strands would actually render.

Paul
Attachments
archicad grass.png
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
rappet
Licensed Customer
Posts: 1962
Joined: Fri Apr 06, 2012 3:57 pm
Location: The Netherlands
Contact:

Hi Paul,
You know how to make people smile bigtime :!:
Love to play with this feature :mrgreen:
Greetz,

4090+3089ti & Quad 1080ti
ArchiCAD25, ofcourse Octane & OR-ArchiCAD plugin (love it)
http://www.tapperworks.com
http://www.facebook.com/pages/TAPPERWOR ... 9851341126
http://www.youtube.com/user/Tapperworks/videos
BfPuVAK
Licensed Customer
Posts: 103
Joined: Sat Mar 23, 2013 6:40 pm
Location: Germany, Bavaria

:D :D :D

(but unfortunately absolute no time to play with it)

Greetz,
Artur
Win 10 Pro 64bit / Intel i7-6700 @ 4.0 GHz / RAM 32GB
2 x Nvidia GeForce GTX 980M 8GB (+ sometimes a GTX 970)
Archicad 21 4022 GER Full + Octane Render !
https://www.youtube.com/watch?v=7l7SefSWV98
http://www.youtube.com/user/BfPuVAK/videos
User avatar
rappet
Licensed Customer
Posts: 1962
Joined: Fri Apr 06, 2012 3:57 pm
Location: The Netherlands
Contact:

Hi Paul,

First test of grassmaker.
It takes about a minute to calculate 100.000
Grassmaking.JPG
the calculation misses parts of the roundsahped mesh (like when calulating csv; see also image4)
Grassmaking2.JPG
Looking good :mrgreen: (happy, happy)
Grassmaking3.JPG
To compare I made test with csv... feels like calculating csv takes longer then in previous versions.. could that be correct? with or without folloow mesh surface normal does not make difference.. both misses parts of round shaped mesh
Grassmaking4.JPG

4090+3089ti & Quad 1080ti
ArchiCAD25, ofcourse Octane & OR-ArchiCAD plugin (love it)
http://www.tapperworks.com
http://www.facebook.com/pages/TAPPERWOR ... 9851341126
http://www.youtube.com/user/Tapperworks/videos
User avatar
rappet
Licensed Customer
Posts: 1962
Joined: Fri Apr 06, 2012 3:57 pm
Location: The Netherlands
Contact:

Hi Paul,
I am trying to get the strands with more density (closer to each other)... how can I do that.
In the example I am trying to make a carpet :-)
cheers,
Attachments
Carpetmaking2.JPG

4090+3089ti & Quad 1080ti
ArchiCAD25, ofcourse Octane & OR-ArchiCAD plugin (love it)
http://www.tapperworks.com
http://www.facebook.com/pages/TAPPERWOR ... 9851341126
http://www.youtube.com/user/Tapperworks/videos
User avatar
face_off
Octane Plugin Developer
Posts: 15694
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

I am trying to get the strands with more density (closer to each other)... how can I do that.
Increase the number of strands and the base width.
the calculation misses parts of the roundsahped mesh (like when calulating csv; see also image4)
Jeroen - could you pls send me a pln with just that round shape in it?

Thanks

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Posts: 15694
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Above issue rectified in 2.12.1.27, which I just posted in the main TEST thread.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Posts: 15694
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Tutorial on generating grass.

Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Post Reply

Return to “Graphisoft ArchiCAD”