Search the Knowledge Base Report a bug
Post new topic   Reply to topic   printer-friendly view   .    ArchiCAD-Talk Forum Index >>> Presentation - Rendering and Multimedia >>> Grass rendering coordinates (spherical, etc.) NOT working
View previous topic :: View next topic
Author Message
luisdias
New member
New member

Joined: 16 Jan 2008
Posts: 5

PostPosted: Wed Dec 06, 2017 4:12 pm    Post subject: Grass rendering coordinates (spherical, etc.) NOT working Reply with quote

So, while building my own grass surface material, I came up with this very neat trick outlined by Graphisoft's own site:



"Tips and Tricks for Using Grass

If you want to let grass grow on a plane with a green material assigned to it, the Density setting, which can greatly influence render speed, can be reduced without affecting the overall look very much.

Grass that is thicker and longer than real-world grass helps simulate fuller growth without having to increase the Density value too much.

If the grass surface is very far from the camera you should consider using a texture instead of grass (for much faster rendering).

* Use a 3D Density gradient within the camera space in order to let 3D grass gradually fade into a simple grass texture with distance. This is the best way to reduce the number of unnecessary 3D grass blades.""


This is a great trick. Problem is, the coordinates don't work. The camera space just doesn't work like it should (put its own zero on the camera itself). And this only doesn't work in the grass. In other characteristics (like, say, diffuse), it works perfectly, and I can build a smooth gradient whose zero is the exact camera coordinate.

In the image attached, I have two slabs. One with only the grass attribute turned on (all the neat pictures and all the other effects turned off), and the other with only a diffuse effect turned on. As a way to help visualize things, I have the gradients on repeat (the final effect is supposedly without this repeat, of course).

In the black/white slab, the diffuse has a gradient effect with a 3D sphere type, coordinates 0,0,0, with a radius of 3.

The grass slab has a gradient effect on its grass attribute, with the same 3D sphere type, coordinates 0,0,0 camera space, with a radius of 1.

Moreover, if I move the camera, the underneath slab changes accordingly, while the above slab's grass maintains its exact shape.

This has been happening in all recent builds of Archicad, since 19 IIRC. I have never tried this before, so it's well possible that this has never worked at all.

Can you replicate this issue on your end, anyone? This is so weird, and forces me to have small patches of terrain so the render actually renders the grass (once you have too much of an area, the render simply decides to not even render the grass attribute, which is a clever way to avoid problems I guess).



relva.jpg
 Description:
 Filesize:  181.23 KB
 Viewed:  8 Time(s)

relva.jpg



_________________
Luís
_________________
Luís Dias / Architect

JBMG Arquitectos
AC21 POR • Intel Core i7 - 7700 @ 3.6GHz | 32 gb ram • Windows 10 Pro
Back to top
View user's profile Send private message    
Erwin Edel
Senior member
Senior member

Joined: 08 Feb 2007
Posts: 1345
Location: The Netherlands

PostPosted: Wed Dec 06, 2017 4:45 pm    Post subject: Re: Grass rendering coordinates (spherical, etc.) NOT workin Reply with quote

I used to do what you describe: make little patches of extra 3D grass terrain close to camera.

In the end I just went 'sketchy' look and got rid of even the texture and just render out a nice shade of green and do watercolour effects in photoshop with the colour image and overlay sketch.

Even the grass texture adds huge render time, just because if you want a reasonable looking terrain, it will be very huge very quickly.

Netherlands (where we are) is very flat terrain, so I generally have a large flat circle shape terrain so I get an (almost) straight horizon line in 3D. Projecting grass on this takes up a lot of render time.

You can also add grass in postproduction a lot quicker if you would like to have realistic grass.

_________________
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-20 NED FULL
BIMx
Windows 10 Pro 1607 / OS X Sierra
Adobe Design Premium CS4
Back to top
View user's profile Send private message Visit poster's website    LinkedIn Profile Link (Full URL, please)
luisdias
New member
New member

Joined: 16 Jan 2008
Posts: 5

PostPosted: Wed Dec 06, 2017 6:30 pm    Post subject: Re: Grass rendering coordinates (spherical, etc.) NOT workin Reply with quote

Of course, there are a bunch of different solutions and I do use many of them. If I could somehow solve this little issue, then at least the more silly solutions (like building patches, etc.), would just go away, it would all be automated and it wouldn't even be costly in terms of CPU (I'd have the cutoff near the cameras).

I'm asking whether if anyone else can replicate this problem, if it is a problem and not some misuse on my end, and if it is a bug, how has it been completely ignored for years on end?

It's possible, for instance, that it is a problem only existing on POR versions.

If I'm not asking too much, could you (or anyone reading this) quickly try to replicate this issue? It's very easy to setup:

First, create a new surface material, go to the grass attribute, put it on, etc., and add in the density the gradient effect. Then change its type to 3D Sphere, change the setup to Camera Setup and see if it renders correctly? I'd appreciate this a lot.

_________________
Luís
_________________
Luís Dias / Architect

JBMG Arquitectos
AC21 POR • Intel Core i7 - 7700 @ 3.6GHz | 32 gb ram • Windows 10 Pro
Back to top
View user's profile Send private message    
Display posts from previous:   
View previous topic :: View next topic
Post new topic   Reply to topic   printer-friendly view       ArchiCAD-Talk Forum Index >>> Presentation - Rendering and Multimedia >>> Grass rendering coordinates (spherical, etc.) NOT working All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2012 - Graphisoft SE. All rights reserved worldwide. Terms of Use | Privacy Policy