Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed function pipeline (renderer) #1313

Open
Xottab-DUTY opened this issue Apr 25, 2023 · 4 comments
Open

Fixed function pipeline (renderer) #1313

Xottab-DUTY opened this issue Apr 25, 2023 · 4 comments

Comments

@Xottab-DUTY
Copy link
Member

Xottab-DUTY commented Apr 25, 2023

We now want to restore FFP support in the renderer. The benefits are:

  1. Possibility to use RTX Remix with it, which will add raytracing support (RTX Remix support #1314).
  2. Possibility to port it to OpenGL (OpenGL Renderer #280), so it can run on even older GPUs and about anywhere.
@Xottab-DUTY Xottab-DUTY self-assigned this Apr 25, 2023
Xottab-DUTY referenced this issue Apr 25, 2023
Whoopsie
Xottab-DUTY referenced this issue Apr 25, 2023
They are not working properly right now, though.
@johncurley
Copy link
Contributor

johncurley commented Apr 27, 2023

I wonder if clouds can be replicated using DirectX's volumetric fog or something. Here's an article for OpenGL that shows how to do it without shaders but we can probably replicate that for DirectX.

https://vvise.iat.sfu.ca/user/data/papers/clouds.pdf

That's a very simple example with a bounding box. Another algorithm that is more advanced seems to be using a particle queue:

http://www.markmark.net/PDFs/RTCloudsForGames_HarrisGDC2002.pdf

@johncurley
Copy link
Contributor

johncurley commented Apr 27, 2023

Here's another library of tutorials and fixed pipeline algorithms we can use to help us with the fixed pipeline renderers:

https://www.flipcode.com/archives/articles.shtml

DirectX9 fixed pipeline tutorials.

http://www.directxtutorial.com/LessonList.aspx?listid=9

Xottab-DUTY added a commit that referenced this issue Jun 28, 2023
Also, removed -force_ffp key, not needed.
Xottab-DUTY added a commit that referenced this issue Jun 28, 2023
@Xottab-DUTY
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants