Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Lens (DBP)

Author
Message
Jukuma
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 17th Mar 2006 00:12
only a lens in 2d (use mouse)

Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 18th Mar 2006 00:36
Wow. thats pretty sweet!

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 18th Mar 2006 20:59
Jukuma very good could even be use as a scope for fps.

I'm not getting you down am I, Ho Look! another fancy Door?
Baggers
19
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 18th Mar 2006 21:38
Very cool !
Using 'write camera to image' and a bit of memblock manipulation this kind of thing could be used to make a magnifying glass in 3D.

M.I.A is pending
David iz cool
18
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 18th Mar 2006 22:58
very cool!
Evil Booger
18
Years of Service
User Offline
Joined: 23rd Nov 2005
Location: My evil lair
Posted: 19th Mar 2006 03:30
Nice

boogers will take over the world
Math89
20
Years of Service
User Offline
Joined: 23rd Jan 2004
Location: UK
Posted: 19th Mar 2006 11:03
Nice .
Quote: "Using 'write camera to image' and a bit of memblock manipulation this kind of thing could be used to make a magnifying glass in 3D."

You can't because of the 'cannot read an image currently locked by system' error .
Jess T
Retired Moderator
20
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 19th Mar 2006 12:46
That only happens with the images that you are using... It's been stated elsewhere in the forum that it's a limitation of DirectX ( so EVERY DX app that uses the Feb06 version will be like that ).

At any rate, that's a nice snippet

Team EOD :: All-Round Nice Guy
Want Better dbHelp Files?
Virtual X
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 19th Mar 2006 19:40
that's cool, nice coding
Virtual X
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 19th Mar 2006 19:48
cut that down to 20 lines and you could win a prize, thats easily the most impressive code i have seen so far

Login to post a reply

Server time is: 2024-05-07 06:17:03
Your offset time is: 2024-05-07 06:17:03