OZONE Asylum
Forums
DHTML/Javascript
Gradient Between 4 Vertices of a Square?
This page's ID:
30940
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Thanks for the suggestions, guys. I especially love the concept of using a 2x2 canvas... unfortunately, web browsers tend to scale it up poorly, making it not come out looking decent at all. I ended up just doing it manually. :( The results of what I came up with are here: http://lonelypinkelephants.com/random/raytracer.html (Digging up and trying to improve some old code. I raycast only the corners of each 8x8 block, and if all four hit on the same object, I interpolate between the corners. If not, I recurse down to 4x4, 2x2, 1x1.) [small](Edited by [url=http://www.ozoneasylum.com/user/6658]iron_wallaby[/url] on 04-03-2009 14:50)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »