Search found 11 matches
- 2012-09-26T11:49:07-07:00
- Forum: Users
- Topic: Environment mapping - or: a better "shade"-operator?
- Replies: 16
- Views: 17112
Some other 3D projections
I just created some flavors of the environment mapping script. To see the differences between them clearly, I applied them to a special testing setup (pictures below): The heightfield is a half sphere that was generated using a canvas of 128x128 pixels and the following fx expression: sqrt(1-(2*i/w ...
- 2012-09-25T02:32:42-07:00
- Forum: Users
- Topic: Environment mapping - or: a better "shade"-operator?
- Replies: 16
- Views: 17112
Re: Environment mapping - or: a better "shade"-operator?
@anthony: Your heart looks looks like seen from an infinite distance (parallel camera rays). Do I understand right: Sobel travels the image from left to right and calculates the difference of the colors from pixel to pixel? This would produce difference vectors compared to the angular vectors of my ...
- 2012-09-24T15:10:11-07:00
- Forum: Users
- Topic: Environment mapping - or: a better "shade"-operator?
- Replies: 16
- Views: 17112
Re: Environment mapping - or: a better "shade"-operator?
@fmw42: I hoped that I gave enough comments with the script and what's behind. But just to go for sure what we're talking about: Spherical Environment Mapping (SEM) also known as Sphere Mapping is a very well known method to simulate reflexions on a 3D-object. Every 3D application has a display ...
- 2012-09-23T12:01:14-07:00
- Forum: Users
- Topic: Environment mapping - or: a better "shade"-operator?
- Replies: 16
- Views: 17112
Re: Environment mapping - or: a better "shade"-operator?
It is a little more complicated than that. Also I do not know if the template still works in the current IM. I have had to get the IM developers to upgrade it from time to time and it has been a long time since I used or compiled by scripts. But if you contact me offline I can send you one of my ...
- 2012-09-23T11:34:01-07:00
- Forum: Users
- Topic: Environment mapping - or: a better "shade"-operator?
- Replies: 16
- Views: 17112
Re: Environment mapping - or: a better "shade"-operator?
Great! I'm gladly looking forward...Bonzo wrote:An interesting example schnurzelpurz1 and I will have to give it a go when I get time.
- 2012-09-23T03:29:15-07:00
- Forum: Users
- Topic: Environment mapping - or: a better "shade"-operator?
- Replies: 16
- Views: 17112
Re: Environment mapping - or: a better "shade"-operator?
Now it's clear how process works. That would be a suitable approach which is probably as fast as an embedded operator. You say, you only had to put the fx code into a template and use the MagickFilterKit to compile. Is there an automatic conversion of fx scripts to C? Could you post or send me by ...
- 2012-09-22T05:47:09-07:00
- Forum: Users
- Topic: Environment mapping - or: a better "shade"-operator?
- Replies: 16
- Views: 17112
Re: Environment mapping - or: a better "shade"-operator?
Thanks for your feedback. If I understand right: with -process it's not possible to calculate a single pixel and give the result back. Instead it would make it necessary to save the images first to disk and pass the filenames as arguments, then read in again the processed image for further ...
- 2012-09-21T04:25:10-07:00
- Forum: Users
- Topic: Environment mapping - or: a better "shade"-operator?
- Replies: 16
- Views: 17112
Environment mapping - or: a better "shade"-operator?
Let's do something magic with ImageMagick and execute the following command: convert -background none -bordercolor none -virtual-pixel transparent -interpolate Bicubic -alpha Set "heart.png" ( +clone -alpha Extract +level 0,3276 -white-threshold 3275 -morphology Distance Euclidean:7,20! -blur 1.5 ...
- 2009-03-28T05:17:13-07:00
- Forum: Users
- Topic: No freetype support after compiling
- Replies: 4
- Views: 11007
Re: No freetype support after compiling
I always used make uninstall / make distclean before running ./configure. I also checked carefully that only one version of freetype is installed... Anyway - I tried now installing in the default location (/usr/local/bin) and voilà... it works! It seems that there are some path that are not ...
- 2009-03-27T08:29:28-07:00
- Forum: Users
- Topic: No freetype support after compiling
- Replies: 4
- Views: 11007
Re: No freetype support after compiling
identify shows no read mode: OTF* TTF --- Open Type font : TTC* TTF --- TrueType font collection TTF* TTF --- TrueType font Could it have to do with the fact that I'm not installing in the default location? I also run a test with the default IM package of debian (whitch is 6.3.7.9.). There it works ...
- 2009-03-27T07:03:09-07:00
- Forum: Users
- Topic: No freetype support after compiling
- Replies: 4
- Views: 11007
No freetype support after compiling
Hi I was compiling IM on debian lenny with the following options: ./configure --with-quantum-depth=8 --prefix=/usr Previously I installed the necessary header files for freetype, jpeg and so on. configure tells that freetype is available (see output below) and installation worked fine without errors ...