Skip to main content
Fixing broken link
Source Link
Theraot
  • 28.2k
  • 4
  • 55
  • 83

I have read about the pannini projection, which involves (I think) projecting a scene onto a cyclinder instead of a rectangle.

How can I implement this projection in a vertex shader?

Blinky is using lenses and globes, but I don't think it's what I am looking for. The lua script for the pannini projection is not commented https://github.com/shaunlebron/blinky/blob/master/game/lua-scripts/lenses/panini.lua

As explained on http://tksharpless.net/vedutismo/Pannini/ the projectionThe Pannini Projection, it works (if I understand it well), by projecting geometry on a cylinder, and then unrolling that cylinder on screen.

Diagram illustrating Pannini projection from a floor map

I have read about the pannini projection, which involves (I think) projecting a scene onto a cyclinder instead of a rectangle.

How can I implement this projection in a vertex shader?

Blinky is using lenses and globes, but I don't think it's what I am looking for. The lua script for the pannini projection is not commented https://github.com/shaunlebron/blinky/blob/master/game/lua-scripts/lenses/panini.lua

As explained on http://tksharpless.net/vedutismo/Pannini/ the projection works (if I understand it well), by projecting geometry on a cylinder, and then unrolling that cylinder on screen.

Diagram illustrating Pannini projection from a floor map

I have read about the pannini projection, which involves (I think) projecting a scene onto a cyclinder instead of a rectangle.

How can I implement this projection in a vertex shader?

Blinky is using lenses and globes, but I don't think it's what I am looking for. The lua script for the pannini projection is not commented https://github.com/shaunlebron/blinky/blob/master/game/lua-scripts/lenses/panini.lua

As explained on The Pannini Projection, it works (if I understand it well), by projecting geometry on a cylinder, and then unrolling that cylinder on screen.

Diagram illustrating Pannini projection from a floor map

Tweeted twitter.com/StackGameDev/status/1038578015826075648
Embedding images
Source Link
DMGregory
  • 140.8k
  • 23
  • 257
  • 401

I have read about the pannini projection, which involves (I think) projecting a scene onto a cyclinder instead of a rectangle.

Is there any readings/tutorial/equation/math explaining how to implementedHow can I implement this projection in a vertex shader?

Blinky is using lenses and globes, but I don't think it's what I am looking for. The lua script for the pannini projection is not commented https://github.com/shaunlebron/blinky/blob/master/game/lua-scripts/lenses/panini.lua

As explained on http://tksharpless.net/vedutismo/Pannini/ the projection works (if I understand it well), by projecting geometry on a cylinder, and then unrolling that cylinder on screen.

http://tksharpless.net/vedutismo/Pannini/images/120deg-panini-construction-3.pngDiagram illustrating Pannini projection from a floor map

I have read about the pannini projection, which involves (I think) projecting a scene onto a cyclinder instead of a rectangle.

Is there any readings/tutorial/equation/math explaining how to implemented this projection in a vertex shader?

Blinky is using lenses and globes, but I don't think it's what I am looking for. The lua script for the pannini projection is not commented https://github.com/shaunlebron/blinky/blob/master/game/lua-scripts/lenses/panini.lua

As explained on http://tksharpless.net/vedutismo/Pannini/ the projection works (if I understand it well), by projecting geometry on a cylinder, and then unrolling that cylinder on screen.

http://tksharpless.net/vedutismo/Pannini/images/120deg-panini-construction-3.png

I have read about the pannini projection, which involves (I think) projecting a scene onto a cyclinder instead of a rectangle.

How can I implement this projection in a vertex shader?

Blinky is using lenses and globes, but I don't think it's what I am looking for. The lua script for the pannini projection is not commented https://github.com/shaunlebron/blinky/blob/master/game/lua-scripts/lenses/panini.lua

As explained on http://tksharpless.net/vedutismo/Pannini/ the projection works (if I understand it well), by projecting geometry on a cylinder, and then unrolling that cylinder on screen.

Diagram illustrating Pannini projection from a floor map

Source Link
jokoon
  • 5.3k
  • 9
  • 42
  • 60

How to implement a pannini projection in opengl?

I have read about the pannini projection, which involves (I think) projecting a scene onto a cyclinder instead of a rectangle.

Is there any readings/tutorial/equation/math explaining how to implemented this projection in a vertex shader?

Blinky is using lenses and globes, but I don't think it's what I am looking for. The lua script for the pannini projection is not commented https://github.com/shaunlebron/blinky/blob/master/game/lua-scripts/lenses/panini.lua

As explained on http://tksharpless.net/vedutismo/Pannini/ the projection works (if I understand it well), by projecting geometry on a cylinder, and then unrolling that cylinder on screen.

http://tksharpless.net/vedutismo/Pannini/images/120deg-panini-construction-3.png