Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 395 results for
distortion
- Page 1
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
…just one function call. This is the header (called
Distortion
.h): [CODE]#ifndef DISTORTION_H_INCLUDED #define DISTORTION_H_INCLUDED #define …screen size. Fifth parameter is what type of
distortion
you want. The different types are listed before…parameter is how much detail you want in your
distortion
. I was testing out medium-sized distortions, …
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
…solution by trial-and-error. I get close, but the
distortion
is not seamless. Let's assume the 'object' mentioned …below is causing
distortion
. Let me try to explain some things I found out…I am able to ignore just the radius of the
distortion
when grabbing and rendering, as the apparent radius would …
OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
… everybody, I was just wondering, how do you create Lens
Distortion
in OpenGL? As in, the rendered image looks bloated or… too much CPU. As an extra, how about a spiral
distortion
? (I've seen it once when I was playing C…
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by mike_2000_17
… my previous post (which is what you need for lens
distortion
, now that I think about it). Nicely done! >>… it could just render to a texture and apply the
distortion
). The objects you render just belong to one scene and…
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by mike_2000_17
…-to-texture techniques. As with your example of the spiral
distortion
, this, as far as I can tell, cannot be done…
Re: OpenGL Lens Distortion
Programming
Software Development
6 Years Ago
by WaszStary
… if it could be possible to "limit" the
distortion
to **just a circle of a given radius**? Right now…
Gateway NX860 Model #M685 T5500 Widescreen distortion...
Hardware and Software
Hardware
17 Years Ago
by FriarTed
… (1440 × 900 Max Res)), I get an intolerable degree of
distortion
, hazy & gritty & obviously showing the digital grid. Game…
Re: Website Distortion
Digital Media
UI / UX Design
12 Years Ago
by pixelsoul
I'm not seeing any
distortion
, I have checked in IE, Chrome, and FF with a resolution of 1920x1080.
Re: Website Distortion
Digital Media
UI / UX Design
12 Years Ago
by EvolutionFallen
I'm not seeing
distortion
on the homepage either. Could you submit a screenshot?
Re: Website Distortion
Digital Media
UI / UX Design
12 Years Ago
by Reliable
Hey everyone, I seemed to have resolved the
distortion
issue. Intead of having a body tag width of 100% …
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
Alright, I've coded the example at NeHe Productions (awesome site!) and I have got some wonderful results with the CG Vertex Buffer (Lesson 47). I familiarized myself with the code and I know how to make some basic transformations. ... Now how do I make it distort light instead of objects?
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
I think I might have to use Fragment Shading (Pixel Shading). I'm looking into this now. UPDATE: I went through your message once more, you already suggested to me to use "a pair of vertex and fragment shader". My bad.
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
I've just found this website whose source code uses only the glut library and was able to create effective distortions! [url]http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/lenscorrection/[/url] I haven't examined the code yet, but this is still great news!
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
Alright! I've got what I wanted. I've hacked together some functions that will help to distort the screen with sine, square, and arcsine functions with minimal difficulty. This was an odd mixture of NeHe's lesson 36 (Radial Blur) and a link I mentioned earlier. Here's the header: [CODE]#ifndef DISTORTION_H_INCLUDED #define DISTORTION_H_INCLUDED …
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
To clear things up, I would be able to solve the 2 complications I listed once I knew how to render an orthographic view. As things turn out, I have done it! These are the updated functions: [CODE]void Transform(int i, int j, double *ix, double *iy) { double x, y, xnew, ynew; double r, theta, rnew, thetanew; x = i / (ScreenSizeX/2…
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
I now have some code that works perfectly on my application. This is some new code: [CODE]void wRenderToTexture(GLfloat CtX, GLfloat CtY, GLfloat Radius, int &StartX, int &StartY, int &Size, int &d) { int ScreenMod = (int)(ScreenSizeX * 0.909f); //727 int StX = (int)((CtX-Radius+1.0f)/2 *ScreenMod) +36; int StY = (int)((…
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
I now have some code that works perfectly on my application. This is some new code: [CODE]void wRenderToTexture(GLfloat CtX, GLfloat CtY, GLfloat Radius, int &StartX, int &StartY, int &Size, int &d) { int ScreenMod = (int)(ScreenSizeX * 0.909f); //727 int StX = (int)((CtX-Radius+1.0f)/2 *ScreenMod) +36; int StY = (…
Re: OpenGL Lens Distortion
Programming
Software Development
14 Years Ago
by Weird Nerd
I've found that the ScreenMod value is actually calculated like this: [CODE]int ScreenMod = (int)(1454/(-Depth));[/CODE] Anyone knows what 1454 roughly equates to? This value might change with the screen ratio, but I was unable to check that. The XAlign is affected by both Screen Size and Depth. These are my findings for my 800x600 resolution …
Online Quiz System
Programming
Web Development
14 Years Ago
by jimmyo88
… integrity of the data. False True `Delay
distortion
occurs because the velocity of propagation of a … in strength is _~text~. attenuation interlacing delay
distortion
pulsing `The rate in bits per second at … function of temperature. Thermal `Because of delay
distortion
some of the signal components of one bit …
Tutorials, brushes, fonts
Digital Media
UI / UX Design
19 Years Ago
by ~Hubba~
….html]Designs by Mark[/url] [url=http://www.
distortion
.co.uk/freebies/tutorial.html]
Distortion
[/url] [url=http://www.dreaminfinity.com/tutorials…
Graphic card crashes
Hardware and Software
Microsoft Windows
15 Years Ago
by Silvershaft
…,1,1,sfxpfx2.dll,1.00.0000.1436 Sony ExpressFX
Distortion
,0x00200000,1,1,sfxpfx1.dll,1.00.0000.1436 Sony…,0x00200000,1,1,sfppack1.dll,1.00.0000.1436 Sony
Distortion
,0x00200000,1,1,sfppack3.dll,1.00.0000.1436 Sony…
Sound to Go: a designer soundbar for your laptop
Hardware and Software
Hardware
Mobile and Wearables
13 Years Ago
by happygeek
… dynamic enough for me, although at low volumes it was
distortion
free and 'pleasant' enough I guess. Just don't expect… will be your teeth as they grind together at the
distortion
when you play anything loud. Maybe I have just been…
Direct3D Unavliable Problem
Hardware and Software
Microsoft Windows
13 Years Ago
by Nikki2
…,1,1,sfxpfx2.dll,1.00.0000.1303 Sony ExpressFX
Distortion
,0x00200000,1,1,sfxpfx1.dll,1.00.0000.0561 Sony…,0x00640000,1,1,ir41_32.ax,4.51.0016.0003 Sony
Distortion
,0x00200000,1,1,sfppack3.dll,1.00.0000.0638 Sony…
Does HP’s TopShot Printer really hit-the-mark?
Hardware and Software
Hardware
13 Years Ago
by MichaelDrew
… 245 dpi any resizing of the image starts to show
distortion
. [ATTACH=RIGHT]23602[/ATTACH] The only time I saw any… warped or folded in any way it will cause noticeable
distortion
in the copy. However, color and black and white scans…
CUPS problems with mozilla
Hardware and Software
Linux and Unix
22 Years Ago
by Dani
… webpage, it always prints it perfectly (e.g. graphics, no
distortion
, etc). However, it's just a real pain to have…
Red Hat Gone Bad!
Hardware and Software
Linux and Unix
21 Years Ago
by MuddBuddha
… specific monitor model (Multisync P2150+) -> But due to the
distortion
and lack of Red Hat experience, I have no idea…
Is this monitor broken?
Hardware and Software
Hardware
20 Years Ago
by rhino1616
… when he plays its the program that causes the mostly
distortion
in the screen. Im not a computer tech, so Im…
typical "i'm new" stuff
Community Center
Say Hello!
20 Years Ago
by ElementalDistor
…. (if I'm capable) I have a website called Elemental
Distortion
. It's mainly art promotion and sales. It's my…
My First Website
Digital Media
UI / UX Design
20 Years Ago
by Nico Dee
… Track 2 - Bendigo E.P. White Label - ??? - ??? Dj Rip - Digital
Distortion
- Underground Construction Proteksion Records - oo4 Static Drum - The Form - Final…
Power difference between the 4-pin molex and the 6-pin pci connector
Hardware and Software
Hardware
18 Years Ago
by DeC
…-10 seconds and then the system crashes with an immediate
distortion
of what the screen shows at the time and nothing…
1
2
3
7
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC