Grass - still struggling

Forums: Grass - still struggling
Graphisoft ArchiCAD (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Grass - still struggling

Postby ArchPrime » Fri Jun 23, 2017 5:16 am

ArchPrime Fri Jun 23, 2017 5:16 am
I have just had another go with the alembic grass feature, and am still struggling to control the result.

It seems like the y size parameter gets ignored when the grass is being generated (reducing it does not seem result in shorter grass being generated), and while rescaling it for already generated grass seems to do something, it also lifts the grass off the ground - so it seems to rescale scale from an origin somewhere above the top of grass rather than at the base.
(note for what it is worth, the proxy object used for the grass is sitting with its base level with the mesh, though I understood the proxy location should not matter either way, and that the origin of each grass object in the alembic file is whatever the surface of the mesh is at that location?)

Also struggling to change the material - whenever I select a new material and click 'ok', what looks like a small dialog flashes for a microsecond before disappearing - and nothing otherwise seems to change.

I am probably missing obvious things, but would be interested to know what they are.

2017-06-23_17h18_57.jpg

2017-06-23_17h18_23.jpg
Last edited by ArchPrime on Fri Jun 23, 2017 11:29 am, edited 1 time in total.
Octane Render for ArchiCAD 22 plugin v4.x | Octane Standalone 4.x
( 2x Nvidia 980 Ti) x 6MB VRAM | Intel I7 4470K | 32GB RAM | Windows 10
ArchPrime
Licensed Customer
Licensed Customer
 
Posts: 82
Joined: Thu Sep 25, 2014 11:39 am
Location: New Zealand

Re: Grass - still struggling

Postby Scottiefeng » Fri Jun 23, 2017 7:22 am

Scottiefeng Fri Jun 23, 2017 7:22 am
Mate,

You definitely need scatter good model of grass if you want to have good result.
Scottiefeng
Licensed Customer
Licensed Customer
 
Posts: 183
Joined: Fri Aug 01, 2014 1:46 pm

Re: Grass - still struggling

Postby face_off » Sun Jun 25, 2017 1:01 am

face_off Sun Jun 25, 2017 1:01 am
It seems like the y size parameter gets ignored when the grass is being generated (reducing it does not seem result in shorter grass being generated), and while rescaling it for already generated grass seems to do something, it also lifts the grass off the ground - so it seems to rescale scale from an origin somewhere above the top of grass rather than at the base.
May I suggest to debug this by saving the scene to ORBX and then opening it in Octane Standalone - where you can see exactly what is in the Placement nodes for the grass ABC file, and so determine if the problem is related to a Y axis scaling problem, or a Y axis translation problem. Also, make sure the proxy host Object is at Y coordinate 0 in the scene.

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
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Grass - still struggling

Postby ArchPrime » Sun Jun 25, 2017 2:58 am

ArchPrime Sun Jun 25, 2017 2:58 am
face_off wrote:
It seems like the y size parameter gets ignored when the grass is being generated (reducing it does not seem result in shorter grass being generated), and while rescaling it for already generated grass seems to do something, it also lifts the grass off the ground - so it seems to rescale scale from an origin somewhere above the top of grass rather than at the base.
May I suggest to debug this by saving the scene to ORBX and then opening it in Octane Standalone - where you can see exactly what is in the Placement nodes for the grass ABC file, and so determine if the problem is related to a Y axis scaling problem, or a Y axis translation problem. Also, make sure the proxy host Object is at Y coordinate 0 in the scene.

Paul

I don't know a lot about the standalone version (I use the ArchiCAD plugin to avoid using a separate platform) - but from what I can see there the behavior is the same. Sliding the scale float value results in same floating grass outcome. Also looking closely, once Y scale is reduced below 1 and the grass starts to float out of the ground, I can see half the grass points upwards, half points downwards.
The values for the 3D translation node all remain on zero. The host proxy object was placed at the origin (0,0,0) in ArchiCAD. I have attached the orbx file, for what that is worth.
Attachments
test2.zip
(69.02 MiB) Downloaded 418 times
Octane Render for ArchiCAD 22 plugin v4.x | Octane Standalone 4.x
( 2x Nvidia 980 Ti) x 6MB VRAM | Intel I7 4470K | 32GB RAM | Windows 10
ArchPrime
Licensed Customer
Licensed Customer
 
Posts: 82
Joined: Thu Sep 25, 2014 11:39 am
Location: New Zealand

Re: Grass - still struggling

Postby ArchPrime » Mon Jun 26, 2017 4:59 am

ArchPrime Mon Jun 26, 2017 4:59 am
Scottiefeng wrote:Mate,

You definitely need scatter good model of grass if you want to have good result.

Yes this has been what I typically would do, but seems a shame that the built in feature seems not to be working - it might otherwise be quite handy
Octane Render for ArchiCAD 22 plugin v4.x | Octane Standalone 4.x
( 2x Nvidia 980 Ti) x 6MB VRAM | Intel I7 4470K | 32GB RAM | Windows 10
ArchPrime
Licensed Customer
Licensed Customer
 
Posts: 82
Joined: Thu Sep 25, 2014 11:39 am
Location: New Zealand

Re: Grass - still struggling

Postby face_off » Mon Jun 26, 2017 11:38 pm

face_off Mon Jun 26, 2017 11:38 pm
I have looked into this some more. In summary, if you are using the Generate Grass function, leave the Scale sliders at 100%. If you need to adjust the height of the grass, re-generate it with a different Height setting.

Also struggling to change the material - whenever I select a new material and click 'ok', what looks like a small dialog flashes for a microsecond before disappearing - and nothing otherwise seems to change.
To adjust the material, click the grass proxy host, and the Octane material for the grass will be selected automatically in the Materials tab.

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
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Grass - still struggling

Postby ArchPrime » Wed Jun 28, 2017 6:25 am

ArchPrime Wed Jun 28, 2017 6:25 am
face_off wrote:I have looked into this some more. In summary, if you are using the Generate Grass function, leave the Scale sliders at 100%. If you need to adjust the height of the grass, re-generate it with a different Height setting.

Also struggling to change the material - whenever I select a new material and click 'ok', what looks like a small dialog flashes for a microsecond before disappearing - and nothing otherwise seems to change.
To adjust the material, click the grass proxy host, and the Octane material for the grass will be selected automatically in the Materials tab.

Paul

Hi Paul. The grass height setting doesn't seem do anything for me

The grass proxy host is invisible once grass is generated - I presume you mean that I need to select proxy in the ArchiCAD 3D window rather than in the view port as I normally would for everything else.
Octane Render for ArchiCAD 22 plugin v4.x | Octane Standalone 4.x
( 2x Nvidia 980 Ti) x 6MB VRAM | Intel I7 4470K | 32GB RAM | Windows 10
ArchPrime
Licensed Customer
Licensed Customer
 
Posts: 82
Joined: Thu Sep 25, 2014 11:39 am
Location: New Zealand

Re: Grass - still struggling

Postby face_off » Wed Jun 28, 2017 7:37 am

face_off Wed Jun 28, 2017 7:37 am
The grass height setting doesn't seem do anything for me
It seems to be working fine for me. What exact steps are you doing pls?

I presume you mean that I need to select proxy in the ArchiCAD 3D window rather than in the view port as I normally would for everything else.
Correct.

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
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Grass - still struggling

Postby ArchPrime » Wed Jun 28, 2017 9:40 am

ArchPrime Wed Jun 28, 2017 9:40 am
Hi, I am not sure what I can add that is not obvious re steps taken:

With the grass generation dialog open , if i enter a value that differs from the default grass height 0.1m (eg. when I change grass height value to 0.05m) nothing about the rendered result changes from the case where the default 0.1m height is accepted unchanged .
Maybe a rounding error that treats 0.05=0.1 ?
There is also still the issue of grass blades poking downwards instead of upwards from mesh surface half the time that requires twice as many blades as it should to make a lawn look ok
Octane Render for ArchiCAD 22 plugin v4.x | Octane Standalone 4.x
( 2x Nvidia 980 Ti) x 6MB VRAM | Intel I7 4470K | 32GB RAM | Windows 10
ArchPrime
Licensed Customer
Licensed Customer
 
Posts: 82
Joined: Thu Sep 25, 2014 11:39 am
Location: New Zealand

Re: Grass - still struggling

Postby face_off » Wed Jun 28, 2017 10:40 am

face_off Wed Jun 28, 2017 10:40 am
The grass height value is definitely working. Make sure you click the Reload button for the proxy are regenerating the .ABC file. And yes, there are some poke thru's below. This is a limitation of the grass scattering function.

Paul
Attachments
grass2.png
grass1.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
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Return to Graphisoft ArchiCAD


Who is online

Users browsing this forum: No registered users and 3 guests

Thu Mar 28, 2024 11:08 am [ UTC ]