Re: [PEPr] Comment on Images::Image_3D

From: Date: Fri, 17 Jun 2005 19:50:46 +0000
Subject: Re: [PEPr] Comment on Images::Image_3D
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38154@lists.php.net to get a copy of this message
On 6/17/05, Kore Nordmann <mail@kore-nordmann.de> wrote: > > Sounds like a great package. > > Thanks :) > > > I haven't checked the code myself but is this > > a real-time or ray tracing package? > > Its a polygon based rendering engine - so surely that, what you mean > with realtime rendering. Yeah, that's what I meant. ;-) > > > What shading does it support? Flat/Gourad/Phong? > > At the moment it only supports flat shading. I'm working on gourad > dhading, but its a bit more complicated, because I need to draw > polygones with a gradient fill. I haven't seen an easy possibility for > this with the gdlib, or imagick (which doesn't work for me at the > moment :(). I am working on the according algorithms. > > The library is supprisingly fast, I think. There are some examples > deliverd with the packege, just try them out :-). > Yeah, the problem with anything but flat is that you pretty much need to do pixel-by-pixel rendering of each polygon. I have some code which does this (in C++) but don't have it ATM. :-( I have notes from the class I took about it, though, if you'd like them. Gourad should be possible if you can find a gradient filling function but Phong *needs* pixel-by-pixel or a special function in the library. -- Justin Patrin

« previous php.pear.dev (#38154) next »