POV-Ray : Newsgroups : povray.binaries.images : Some grass (86kbu) : Re: Some grass (86kbu) Server Time
16 Aug 2024 08:11:10 EDT (-0400)
  Re: Some grass (86kbu)  
From: Rune
Date: 2 Apr 2002 14:56:17
Message: <3caa0ce1$1@news.povray.org>
"Gilles Tran" wrote:
> Actually it's not very difficult for a good coder to
> modify the code and make it "drop" the original grass
> patch on a surface following a grid, thanks to the
> trace function and to the reorient macro.

Aha, I thought that flat patches would not fit well on curved surfaces, so
that each blade of grass would have to be placed individually, but
apparently small flat patches fit on curved surfaces just fine.

> It is going to be efficient anyway because meshes
> are always fast.

But even when optimized, the memory requirement (and parse time) can become
huge when working with very large fields of grass. That's my niche I
guess... ;)

> Your macro may be easier to use though and better-looking
> in some cases

I don't know about the better-looking part, but it may be a bit easier to
use.

> (in fact I just have a project where it's
> going to be handy).

I'm honored! I'll try to get the include file finished within this week.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:  http://rsj.mobilixnet.dk (updated Mar 19)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Ring:  http://webring.povray.co.uk


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.