|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
A new shot from my level editor. The lighting is precalculated (the
background, which, by the way, was rendered in POV-Ray, was set to have no
effect on the lighting). I'm using the method used in Half Life 2 to mix
precalculated lighting with normal mapping, so this is fully compatible with
my previously implemented radiosity algorithm.
The texture itself was created with POV-Ray; I'll post the pigment and
normal map in a reply to this post.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
Attachments:
Download 'radiositypixelshader.jpg' (303 KB)
Preview of image 'radiositypixelshader.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The pigment and normal map, both based off of my repeatable "2D Crackle"
function. The normal map was made with another function by sampling the
derivative of the pattern - the RGB color is interpreted in the pixel shader
as an XYZ vector.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
Attachments:
Download 'radiositypixelshaderpig.jpg' (58 KB)
Download 'radiositypixelshadernorm.jpg' (138 KB)
Preview of image 'radiositypixelshaderpig.jpg'
Preview of image 'radiositypixelshadernorm.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Off topic.
I've looked at your site and found that you use "friendly URLs" as the links
to the contents. I've learned this trick recently and want to use it for an
internet site I'm preparing. But can't get rid of calling my script file
directly in URL, like "www.mysite.com/index.php/something". I'm wondering
how to "hide" index.php in such an URL. Is it a matter of Apache settings
to read always particular file?
Sorry for off topic posting.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Przemek Loesch" <nomail@nomail> wrote in message
news:web.438769d88f988d7fb0aac12c0@news.povray.org...
> Off topic.
> I've looked at your site and found that you use "friendly URLs" as the
> links
> to the contents. I've learned this trick recently and want to use it for
> an
> internet site I'm preparing. But can't get rid of calling my script file
> directly in URL, like "www.mysite.com/index.php/something". I'm wondering
> how to "hide" index.php in such an URL. Is it a matter of Apache settings
> to read always particular file?
> Sorry for off topic posting.
>
>
>
Friendly urls from friendly servers. In general php enabled sites will
autoload index.php if you point tp the containing folder (its an apache
configuration setting). So if you want to load
www.mysite.com/something/index.php (where something is a folder) then refer
to
www.mysite.com/something/
www.mysite.com/something (without the trailing /) may not work on some
servers.
httpd.conf specifics: DirectoryIndex index.html index.html.var index.php
DLM
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Friendly urls from friendly servers. In general php enabled sites will
> autoload index.php if you point tp the containing folder (its an apache
> configuration setting). So if you want to load
> www.mysite.com/something/index.php (where something is a folder) then refer
> to
> www.mysite.com/something/
> www.mysite.com/something (without the trailing /) may not work on some
> servers.
> httpd.conf specifics: DirectoryIndex index.html index.html.var index.php
> DLM
Thanks for your answer. I'will contact my hosting company for details if
it's a server specific problem. Now I'm preparing the code at home and have
no possibility to test how it works in real environment.
I apologize one more time for off topic posting.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> I've looked at your site and found that you use "friendly URLs" as the
links
> to the contents. I've learned this trick recently and want to use it for
an
> internet site I'm preparing. But can't get rid of calling my script file
> directly in URL, like "www.mysite.com/index.php/something". I'm wondering
> how to "hide" index.php in such an URL. Is it a matter of Apache settings
> to read always particular file?
Actually, my website is just a lot of HTML files in directories (I generate
the content on my computer and then upload it manually), so I don't have a
problem like that to work around.
However, it should be possible to use your .htaccess file to redirect all
www.mysite.com/anything URLs to www.mysite.com/index.php/anything . For
information on how to do this, your best bet is google ("htaccess url
redirection" perhaps).
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |