r/GraphicsProgramming • • Jul 16 '18

My First 3D Rasterizer

I'm making a 3D graphics rasterizer and it would be really helpful if any of you could fill out a small survey to help me see what is more important in a rasterizer :)

https://www.surveymonkey.co.uk/r/5NQN3J3

0 Upvotes

11 comments sorted by

5

u/oparisy Jul 17 '18

It feels like you're trying to collect "most desirable features" so that your rasterizer may appeal to others.

But, frankly? I can't understand why you would write one, excepted as a school assignment or out of curiosity.

In my opinion you can't "market" it, not even as an open source library, because it would make no sense to use anything else than an hardware accelerated one with a standard API, or an higher level 3D library which would abstract it away.

So I'm curious as to which use case you have in mind. A low-budget platform not shipping with a GPU perhaps?

4

u/Microawesome Jul 17 '18

It is for a school project haha. It's for my course work that's 20% of my overall mark. I would have done a different method of rendering however this is the one i researched to apparently be the easiest one to learn first and was the one i understood most. The survey is because I need human responses for the analysis section of the write-up and thought that reddit was as good a place as any :)

2

u/oparisy Jul 17 '18

Oh nice! Sorry for any abrasiveness in my answer. Still, I think your survey is hard to answer to since a software renderer is such an hypothetical use case nowadays...

1

u/Microawesome Jul 17 '18

Yeah my survey isnt the best , I made it to almost try and get the answers I wanted because I've already wrote my objectives and tried to get the survey to match them haha :)

25

u/jtsiomb Jul 16 '18

This isn't a subjective study of Pierre Boulez's reconstruction of the Wagnerian ideas in a modernized reinterpretation of the Ring of Nibelungen. It's a fucking rasterizer. You don't need a survey. Just write it, and include any and all features which seem useful, interesting, or important for what you're trying to achieve.

1

u/bug0r Jul 17 '18

You could take a look into this page and figure out some topics you want to have:

https://www.scratchapixel.com/

I wrote a 3D Rasterizer too and placed my focus on:

  • Performance

  • MSAA

  • Texturing

  • Image Synthesis

  • Image Filter ....

  • Procedural Content for Tests

You will find a lots of other topics like signal processing....and and and.

But i think you should create your wanted feature by yourself, maybe depend on your skills. So you will have a better learning curve.

Good Luck, its a very interesting topic :)

1

u/Microawesome Jul 17 '18

Thanks for the link however i've already discovered this website haha :P. It is a very useful website indeed and i've been using it to research how to accomplish basic and necessary tasks such as the projection matrix. I also discovered NDC space, which was useful . It is a very wide topic that I have managed to get myself into but it'll be a fun journey ! I'm currently only striving to make the simplest of 3D rasterizers (as i'm coding this all from scratch with only basic math libraries and such) , however in the future I plan to add features to this and then maybe move on to a more complicated form of rendering. Thanks for the good luck anyhow, i'm gonna need it! :)

0

u/[deleted] Jul 17 '18

[deleted]

1

u/Microawesome Jul 17 '18

I don't currently have anything as of yet due to the high learning curve and as it is course work for my college I have to do a lot of write up before I can actually get down to programming haha, also nice work man on the project , keep it going !

0

u/[deleted] Jul 17 '18

[deleted]

2

u/Microawesome Jul 17 '18

As do I with your project :)

1

u/newbie80 Jul 27 '18

Check out Tricks of the 3D Game Programming Gurus-Advanced 3D Graphics and Rasterization. He writes a 3D software rasterizer from scratch in that book.

1

u/Microawesome Jul 27 '18

Thanks very much , I'll take a look at that book :)